[R] package 'foreign'

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Jan 25 09:57:18 CET 2008


Tobias Teichert wrote:
> Hi Everybody,
>
> I need to install the R-package 'foreign'. However, when I try the
> standard install.packages('foreign') I get the following error
> message:
>
>  " package 'foreign' is not available in: install.packages("foreign") "
>
> The funny thing is, that I am using an Ubuntu Gutsy system and the
> foreign package should actually be installed by default...
>
> Any help is greatly appreciated.
>   
The foreign package is a recommended package, part of the source 
tarball, and assumed to be present in binary distributions, hence not 
available on CRAN for install.packages().

The Debian/Ubuntu crowd nevertheless unbundles things ("because they 
can", I've been told) and a partial install puts people in your 
situation. I think the fix is just to apt-get the right metapackage, 
presumably r-recommended.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list