[R] package.skeleton()
Thomas Lumley
tlumley at u.washington.edu
Fri Dec 17 21:01:34 CET 2004
On Fri, 17 Dec 2004, XIAO LIU wrote:
> Hi, R people:
>
> I generated a package using package.skeleton(). But I can not load it
> using library().
It looks as though you didn't do anything except run package.skeleton().
As the output of package.skeleton() and the help page suggest, you need
further steps, and it tells you where to find a description of these
steps.
At a minimum you need to edit the help files and INSTALL the package
before you can use it.
-thomas
>> package.skeleton("RDIPcor", list = c("ROCAUC.i", "cor.i"), path = "/home/xiao")
> Creating directories ...
> Creating DESCRIPTION ...
> Creating READMEs ...
> Saving functions and data ...
> Making help files ...
> Done.
> Further steps are described in /home/xiao/RDIPcor/README
>> library(RDIPcor, lib.loc = "/home/xiao")
> Error in testRversion(descfields) : This package has not been installed properly
> See the Note in ?library
>
> My R1.8.0 is under LINUX.
>
> Thanks in advance
>
> Xiao
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help
mailing list