On Compute Canada clusters direct shell invoking can lead to problems since R gives an incorrect value to the environment variable LD_LIBRARY_PATH. See:
https://docs.computecanada.ca/wiki/R
look at subsection: Using system calls in R
Additionally for Linux users, a system permission has to be given to the Raven.exe to let the model to be executed, see below:
On Compute Canada clusters direct shell invoking can lead to problems since R gives an incorrect value to the environment variable LD_LIBRARY_PATH. See: https://docs.computecanada.ca/wiki/R look at subsection: Using system calls in R
Additionally for Linux users, a system permission has to be given to the Raven.exe to let the model to be executed, see below:
ravenexe <- paste0(system.file("extdata",package="RavenR"),"/Raven.exe") system(paste("chmod +x",ravenexe))