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

2009-03-19 Thread Lyman, Mark
Yes, thank you. That does the trick. Mark Lyman -Original Message- From: Rolf Turner [mailto:r.tur...@auckland.ac.nz] Sent: Thursday, March 19, 2009 2:42 PM To: Lyman, Mark Cc: r-help@r-project.org Subject: Re: [R] How to set R_PROFILE conditional on batch or interactive mode On 20

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

2009-03-19 Thread Rolf Turner
On 20/03/2009, at 9:17 AM, Lyman, Mark wrote: Thanks for the suggestion Rolf. Unfortunately, this uses the BATCH profile when I use for example R CMD INSTALL. I would like the BATCH profile to be used only when R CMD BATCH is used. Sorry, about the vagueness of my question. I have found a way

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

2009-03-19 Thread Lyman, Mark
...@auckland.ac.nz] Sent: Thursday, March 19, 2009 1:01 PM To: Lyman, Mark Cc: r-help@r-project.org Subject: Re: [R] How to set R_PROFILE conditional on batch or interactive mode On 20/03/2009, at 5:46 AM, Lyman, Mark wrote: > I am running R 2.8.1 on SUSE Linux. I would like to be able to set > R_PROF

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

2009-03-19 Thread Rolf Turner
On 20/03/2009, at 5:46 AM, Lyman, Mark wrote: 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? I think so. In your .Rprofile have code like unto:

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

2009-03-19 Thread Lyman, Mark
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 _