[R] Install local package

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jun 11 17:34:21 CEST 2009



Ronggui Huang wrote:
> ## Check the package
>> R CMD check path.of.package
> ## Build the package
>> R CMD build pathof.package
> ## INSTALL the package
>> R CMD INSTALL path.of.package


It is recommended to build the tar.gz first and then isntall and check 
from the tarball rather than from the source directory.

Uwe Ligges


> You can use _R --help _  (from within terminal) to get more information.
> 
> Ronggui
> 
> 2009/6/11 Jorge Cornejo <cornejotux at gmail.com>:
>> Hi, I'm working on a package that I would someday put in CRAN. Now I
>> want to test it on my computer. I already check and compile the files
>> but I don't know how to install the package located on my hard drive.
>> I'm running R under linux. Can anyone tell my how to do it?
>>
>> Thanks in advance.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
> 
> 
>




More information about the R-help mailing list