R: Difference between revisions

imported>Krey
No edit summary
imported>Krey
No edit summary
Line 15: Line 15:


=== RStudio ===
=== RStudio ===
RStudio uses a standard set of packages and ignores any custom R environments, like the one set up above. To install it you can use `rstudioWrapper` just as we used `rWrapper` earlier.
RStudio uses a standard set of packages and ignores any custom R environments, like the one set up above. To install it you can use <code>rstudioWrapper</code> just as we used <code>rWrapper</code> earlier.
<syntaxhighlight lang="nix>
<syntaxhighlight lang="nix>
RStudio-with-my-packages = rstudioWrapper.override{ packages = with rPackages; [ ggplot2 dplyr xts ]; };
RStudio-with-my-packages = rstudioWrapper.override{ packages = with rPackages; [ ggplot2 dplyr xts ]; };