[R] install.packages() for a local file

Don MacQueen macq at llnl.gov
Thu Nov 13 21:59:29 CET 2003


There is a method to install a package from a local file.
 From the unix command line, use
   R INSTALL
possibly using
   R CMD build
first.

See Writing R Extensions at CRAN for more information. Or R --help at 
the unix command line.

I haven't looked for a way using install.packages().

-Don

At 3:09 PM -0500 11/13/03, Jeff Gentry wrote:
>Hello ...
>
>I see that on Windows one can specify a filename as the "pkgs" argument
>and then set CRAN=NULL when calling install.packages() for a local
>file.  Is there a way to do this on unix?  It doesn't appear to be
>possible, but perhaps I am missing something here. 
>
>Also, if indeed there is no method to do this on unix, is there a reason
>behind it or has it just never been implemented?
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA




More information about the R-help mailing list