R: Difference between revisions
imported>Krey No edit summary |
imported>Krey No edit summary |
||
Line 6: | Line 6: | ||
Similarly to [[Python]], your packages must be declared when installing R. Commands such as <code>install.packages("ggplot2")</code> will not work. | Similarly to [[Python]], your packages must be declared when installing R. Commands such as <code>install.packages("ggplot2")</code> will not work. | ||
To install R | To install R with a collection of packages, a new nix package must be defined, for instance | ||
<syntaxhighlight lang="nix> | <syntaxhighlight lang="nix> | ||
with pkgs; | with pkgs; |