I appreciate Brian and Martin's answers -- and I certainly don't spend 
as much time & energy maintaining and answering questions about R as they 
do -- *but* it does seem to me that it would make a number of new 
(switching) user's lives easier if there were a succinct list of these 
differences, with a disclaimer ...  I would be willing to maintain such a 
list, but since I don't ever use S-PLUS it would be a little bit hard ...

  http://www.math.uwaterloo.ca/~dbabinea/webpage/function.htm

gives a few differences.

  Ben Bolker


-- 
620B Bartram Hall                            [EMAIL PROTECTED]
Zoology Department, University of Florida    http://www.zoo.ufl.edu/bolker
Box 118525                                   (ph)  352-392-5697
Gainesville, FL 32611-8525                   (fax) 352-392-3704

---------- Forwarded message ----------
Date: Mon, 20 Oct 2003 16:13:18 +0200
From: Martin Maechler <[EMAIL PROTECTED]>
To: Purvis Bedenbaugh <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [R] R - S compatibility table

>>>>> "Purvis" == Purvis Bedenbaugh <[EMAIL PROTECTED]>
>>>>>     on Mon, 20 Oct 2003 08:03:13 -0400 writes:

    Purvis> Hello all - I've just recently been exploring R for
    Purvis> the first time. After noticing a few things that
    Purvis> have changed from S to R, I started looking for an
    Purvis> R-S compatibility table but didn't find it. Is such
    Purvis> a table out there ? Where ?

    Purvis> Thanks much,

    Purvis> Purvis Bedenbaugh [EMAIL PROTECTED]

    Purvis> Examples:

    Purvis> 'stdev' is now 'sd' 

"now" is good.  sd() has been in R for about 7 years, whereas
stdev() was introduced into S+ only for version 6.x.. in about 2000.

    Purvis>  - is it exactly the same computation ?  

no, it isn't (in more than one sense)...

    Purvis> couldn't find a built-in for error.bar() 

"built-in" is not a good notion in any version of S, but much
less in R : R comes with 28 (standard + recommended) packages of
which only a few are attached by default, and CRAN has over 200
contributed packages; Bioconductor has another several dozen,
and there are more outside the official repositories above.
Several of the CRAN packages have  error.bar  incantations..

    Purvis> syntax that is an error in R: param(thisframe,"b") <- value

It's not a syntax error;  just, there's no  "param<-" function
in the currently attached R packages (and not in other R
packages I seem to have around)...

Prof. Brian Ripley has given you more hints already.

-- 
Martin Maechler <[EMAIL PROTECTED]>     http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16    Leonhardstr. 27
ETH (Federal Inst. Technology)  8092 Zurich     SWITZERLAND
phone: x-41-1-632-3408          fax: ...-1228                   <><

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to