s-news
[Top] [All Lists]

Re: Identifying Splus vs. R

To: fisher@plessthan.com, s-news@lists.biostat.wustl.edu
Subject: Re: Identifying Splus vs. R
From: Rolf Turner <rolf@math.unb.ca>
Date: Fri, 3 Feb 2006 10:59:31 -0400 (AST)
I think

        if(identical(version$language,"R")) {
                # Do the R thing.
        } else {
                # Do the Splus thing.
        }

will work, and is sufficiently sophisticated to satisfy most tastes.

                                cheers,

                                        Rolf Turner
                                        rolf@math.unb.ca

<Prev in Thread] Current Thread [Next in Thread>