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:

        if(interactive()) {
                # Do the non-batch thing
        } else {
                # Do the batch thing.
        }

Haven't tested this, but.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to