Displaying 1 result from an estimated 1 matches for "fooprofile2".
Did you mean:
fooprofile1
2008 Aug 04
1
R init file and source()
...1"
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 well-formed but empty myfile.ps)
2. Doesn't work:
allin at myrtle:~/Rfoo$ cat fooProfile2
source("fooSrc", verbose=TRUE, echo=TRUE)
allin at myrtle:~/Rfoo$ cat doit.2
export RPROFILE="fooProfile2"
R --no-save --no-init-file --no-restore-data --slave
allin at myrtle:~/Rfoo$ cat fooSrc
library(graphics)
postscript("myfile.ps")
allin at myrtle:~/Rfoo$ sh doit...