[R] Canonical method for S engine selection?

Thomas Lumley tlumley at u.washington.edu
Wed Dec 6 23:18:19 CET 2006


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




More information about the R-help mailing list