R: Difference between revisions

Jump to navigation Jump to search
412 bytes added ,  5 years ago
no edit summary
No edit summary
No edit summary
Line 131: Line 131:
|R CMD INSTALL -l 'path for your local (home) R library' archive_package.tgz
|R CMD INSTALL -l 'path for your local (home) R library' archive_package.tgz
}}
}}
==Using system calls in R==
Using the R command <tt>system()</tt> you can execute commands in the ambient environment from inside R. On Compute Canada clusters this can lead to problems because R will given an incorrect value to the environment variable <tt>LD_LIBRARY_PATH</tt>. You can avoid this problem by using the syntax <tt>system("unset LD_LIBRARY_PATH; <my system call>")</tt> in your R system calls.


==Exploiting parallelism in R== <!--T:46-->
==Exploiting parallelism in R== <!--T:46-->
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits

Navigation menu