[R] installing a package from Archive

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 1 14:17:27 CEST 2012


On 01/10/2012 12:48, grazia at stat.columbia.edu wrote:
> Dear all,
> I'm trying to install in R the package blme that has been removed from R
> cran but it is still in the Archive:
> http://cran.r-project.org/src/contrib/Archive/blme/
>
> I have a Mac OSX and I have been trying with the following command from
> the Shell:
>
> R CMD INSTALL --build
> http://cran.r-project.org/src/contrib/Archive/blme/blme_0.01-4.tar.gz
>
> getting the following answer: invalid package ‘0.01-4.tar.gz’
>
> Can somebody help me? Are there other ways?

You have to download the file first.  'INSTALL' does not know about 
URLs, as reading ?INSTALL would have reminded you.

      Both ‘lib’ and the elements of ‘pkgs’ may be absolute or relative
      path names of directories.  ‘pkgs’ may also contain names of
      package archive files: these are then extracted to a temporary
      directory.  These are tarballs containing a single directory,
      optionally compressed by ‘gzip’, ‘bzip2’, ‘xz’ or ‘compress’.
      Finally, binary package archive files (as created by ‘R CMD
      INSTALL --build’) can be supplied.



> Thanks in advance,
> Grazia
>
>
>
> ______________________________________________
> 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.
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list