On Wed, 6 Dec 2006, Paul Roebuck wrote:

> Assuming script 'common.q' contains code that needed
> different processing depending on interpreter
> (either S-PLUS or R), what should the condition be?
>

I believe
   exists("is.R") && is.R()
is a reliable condition.

        -thomas

______________________________________________
[email protected] 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