Displaying 1 result from an estimated 1 matches for "fooprofile1".
Did you mean:
fooprofile2
2008 Aug 04
1
R init file and source()
...rying to understand the
interactions of the R init file (corresponding to the environment
variable RPROFILE) and the source() function.
I'll illustrate my problem with the following simplified contrast
implemented in the bash shell (with R 2.7.1).
1. Works fine:
allin at myrtle:~/Rfoo$ cat fooProfile1
# nothing here
allin at myrtle:~/Rfoo$ cat doit.1
export RPROFILE="fooProfile1"
R --no-save --no-init-file --no-restore-data --slave <fooSrc
allin at myrtle:~/Rfoo$ cat fooSrc
library(graphics)
postscript("myfile.ps")
allin at myrtle:~/Rfoo$ sh doit.1
(silently produces a w...