[R] a couple of minor points about SHLIB

Faheem Mitha faheem at email.unc.edu
Fri Feb 23 07:16:32 CET 2001


Dear People,

1) When I use the R search engine to find SHLIB (the text says "You can
search for keywords, function and data names and text in help page titles.
Usage: Enter a string in the text field below and hit RETURN"),

I get "no matches for "SHLIB" have been found!"

On the other hand, when I do 

>help(SHLIB) 

at the R command line, the help page for SHLIB immediately pops up (having
already activated browser help with help.start()). Is there some reason
for this?

2) On the online help page and in the document "Writing R Extensions" it
is recommended to use 

R CMD SHLIB foo.c

to create shared libraries to load into R. On the other hand, the Ripley
and Venables book "S Programming" have on pg 239

R SHLIB foo.c

Both of these work, and seem to work in exactly the same way. If CMD is
unnecessary, why use it? And what is the meaning of CMD?

                        Sincerely, Faheem Mitha.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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