R: Difference between revisions

Jump to navigation Jump to search
15 bytes added ,  5 years ago
No edit summary
Line 134: Line 134:
==Using system calls in R==
==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.
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("LD_LIBRARY_PATH=$RSNT_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, rsnt_translations
2,843

edits

Navigation menu