[R] function in S

Kaspar Pflugshaupt pflugshaupt at geobot.umnw.ethz.ch
Thu Jun 15 11:48:29 CEST 2000

On 15.6.2000 10:32 Uhr, Laura Pontiggia wrote:

> I have a function in S, and I need to write the same function in R.
> Exist a program to translate from S to R ?
> Thank you
> Laura Pontiggia

Just try it, it might work straight away. If not, check the R-FAQ for
differences to S-Plus. In my experience, they're not big. There are some
areas where S-Plus offers more features (for example, R does not include
Trellis graphics). 

If you're using something from an external library, remember to load it in R
first (with "library(something"). That got me a few times.

If it still doesn't work and you're really interested in finding out, look
up "S Programming" by Venables and Ripley (Springer, 2000) which covers the
fundamental differences between both implementations in-depth; or come back
to the list with the problems.

Cheers & good luck

Kaspar Pflugshaupt


Kaspar Pflugshaupt
Geobotanisches Institut
Zuerichbergstr. 38
CH-8044 Zuerich

Tel. ++41 1 632 43 19
Fax  ++41 1 632 12 15

mailto:pflugshaupt at geobot.umnw.ethz.ch
privat:pflugshaupt at mails.ch

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list