[R] How to set R_PROFILE conditional on batch or interactive mode

Lyman, Mark Mark.Lyman at atk.com
Thu Mar 19 17:46:56 CET 2009

I am running R 2.8.1 on SUSE Linux. I would like to be able to set
R_PROFILE to two different possibilities. One when R is called by R CMD
BATCH and another any other time. Is this possible?

Mark Lyman, Statistician
Engineering Systems & Integration, ATK

More information about the R-help mailing list