March7th R-devel,hpux10.20,egcs-2.93.03 19990124

Prof Brian Ripley Prof Brian Ripley <ripley@stats.ox.ac.uk>
Mon, 8 Mar 1999 18:20:19 +0000 (GMT)


> From: U-E59264-Osman F Buyukisik <absd00t@c1186.ae.ge.com>
> Date: Mon,  8 Mar 1999 12:44:44 -0500 (EST)
> To: r-devel@stat.math.ethz.ch
> Subject: March7th R-devel,hpux10.20,egcs-2.93.03 19990124
> 
> Hello,
>  I just got the latest (March7) tarball from CRAN. 

That is a snapshot: we are working on the `platform independent'
code right now.  Please be patient: snapshots can be unstable.

> 1).It looks like ".so" 
> is still hardwired in the source code. in src/main/platform.h all
> "Unix" systems get the ".so" extention. I had to #ifdef hpux and add
> ".sl". 

Rather, it is hardwired again.

> 4). library(help = eda) gets me
> 
>   Error: No documentation for package `eda'
> 
> This seems to be happening because system.file("INDEX", help, lib.loc) 

That was an incorrect call in 0.64. It needs named arguments:

        file <- system.file("INDEX", pkg = help, lib = lib.loc)

> in library returning NULL. debugging system.file show that
>  present <- file.exists(FILES)
> gets FALSE. FILES=
> 
"/home/absd00t/local/lib/R/library/eda/INDEX//home/absd00t/local/lib/R/library"
> if just execute
> file.exists("/home/absd00t/local/lib/R/library/eda/INDEX") 
> then it returns TRUE. (I know the help files and INDEX are all out
> there). Any idea why this library overall help is not working? Help on 
> idividual items is working OK. So are the dynamically loaded libs.
> system.file function seems to be different than in 0.63.1. 

Yes. Basically the new system.file() did not work as documented: it now
does AFAIK but I have been tracking down all the incorrect uses, and got this
one a few hours ago. From the current state:

> library(help = eda)
line            Robust Line Fitting
medpolish       Median polish
smooth          Median smoothing




-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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