Displaying 1 result from an estimated 1 matches for "r_verison".
Did you mean:
_version
2008 May 07
0
how to define .Renviron to work with different R-versions
...)
print(args)
q()
EOF
To run this script, first I set PATH to ~/src/R-2.6.2 and execute >
R --no-save < printargs.R
I want to run this script with different R versions by defining an
.Renviron file in the same directory as printargs.R
cat > .Renviron << EOF
R_VERISON=R-2.7.0
R_HOME=~/src/${R_VERSION}
PATH=${R_HOME}/bin:${PATH}
R_LIBS=${R_HOME}/library
EOF
Now when I run > R --no-save < printargs.R, I get
Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "rb")...