R: Difference between revisions

Jump to navigation Jump to search
24 bytes added ,  5 years ago
Marked this version for translation
(Marked this version for translation)
Line 132: Line 132:
}}
}}


==Using system calls in R==
==Using system calls in R== <!--T:76-->


<!--T:77-->
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.
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.


Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,843

edits

Navigation menu