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

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Nov 13 22:02:12 CET 2003


Jeff Gentry <jgentry at jimmy.harvard.edu> writes:

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

Unix doesn't (generally) have binary packages, so has to be different.
I suppose the theory is that you might as well just run "R CMD
INSTALL" on the file.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list