From jens.oehlschlaegel-akiyoshi@mdfactory.de  Mon Dec 20 22:43:57 1999
From: jens.oehlschlaegel-akiyoshi@mdfactory.de (jens.oehlschlaegel-akiyoshi@mdfactory.de)
Date: Mon, 20 Dec 1999 23:43:57 +0100 (MET)
Subject: Manual: writing R Extensions (PR#380)
Message-ID: <199912202243.XAA25231@pubhealth.ku.dk>



-- Happy holidays! --


Dear R Development Core Team,

I want to thank you *very much* for the new "Writing R Extensions" manual
published with RW0.901 and hope this is the right place to report some
possible typos.


page 17, example given in the middle of the page, I think it should read

REAL(version) = 3.0;
          ^^^^^^^


page 23, second example, I think the parameter definition should read

SEXP lapply2(SEXP list, SEXP fn, SEXP rho)
                                              ^^

and the last line of the function I guess should be

VECTOR(ans)[i] = eval(R_fcall, rho);
                                  ^^^^^^^^

If my understanding is wrong or you discover another typo in the lapply2
example, please give me a short note.

Regards


--
Dr. Jens Oehlschlgel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21

80335 Mnchen

Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de

Standard Disclaimers: Opinions expressed here are personal
and are not otherwise represented.



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Manual: writing R Extensions (PR#380)
jens.oehlschlaegel-akiyoshi@mdfactory.de