R: Difference between revisions

Jump to navigation Jump to search
84 bytes added ,  6 years ago
Marked this version for translation
(edited phrasing)
(Marked this version for translation)
Line 19: Line 19:
}}  
}}  


<!--T:39-->
You will also likely need to load gcc
You will also likely need to load gcc
{{Command
{{Command
Line 24: Line 25:
}}  
}}  


<!--T:40-->
You might also have to load various other modules depending on the packages you need to install. For example, "rgdal" will require that you load a module called "gdal", which itself requires that you load nixpkgs and gcc. Nixpkgs should already be loaded by default. You can ensure that it is by running
You might also have to load various other modules depending on the packages you need to install. For example, "rgdal" will require that you load a module called "gdal", which itself requires that you load nixpkgs and gcc. Nixpkgs should already be loaded by default. You can ensure that it is by running


<!--T:41-->
{{Command
{{Command
|module list
|module list
}}  
}}  


<!--T:42-->
If nixpkgs is not listed, you can load it by running
If nixpkgs is not listed, you can load it by running


<!--T:43-->
{{Command
{{Command
|module load nixpkgs/16.09
|module load nixpkgs/16.09
}}  
}}  


<!--T:44-->
If any package fails to install, be sure to read the error message carefully, as it might give you some details concerning some additional modules you need to load. You can also find out if a module is dependent on any other module by running
If any package fails to install, be sure to read the error message carefully, as it might give you some details concerning some additional modules you need to load. You can also find out if a module is dependent on any other module by running
{{Command
{{Command
Line 41: Line 47:
}}  
}}  


<!--T:45-->
With R and the appropriate modules now loaded in your environment, you can start the R interpreter and type R code inside that environment:
With R and the appropriate modules now loaded in your environment, you can start the R interpreter and type R code inside that environment:
{{Command
{{Command
rsnt_translations
57,886

edits

Navigation menu