[R] installing a package from Archive
Duncan Murdoch
murdoch.duncan at gmail.com
Mon Oct 1 16:07:08 CEST 2012
On 01/10/2012 10:02 AM, grazia at stat.columbia.edu wrote:
> On Mon, 1 Oct 2012, Duncan Murdoch wrote:
> Thanks a lot.
> Following your suggestions, I have done the following:
>
>
> zercona:Downloads graziapittau$ R CMD INSTALL blme 0.01-4.tar.gz
> Warning: invalid package ‘0.01-4.tar.gz’
The filename should not have a space in it. I think the original had an
underscore; if that's been lost, you need to rename the file to
something with no spaces. (You can probably quote the filename, but the
details of how to do that depend on your shell; it's easier just to
avoid filenames that contain spaces.)
Duncan Murdoch
> * installing to library
> ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’
> * installing *source* package ‘blme’ ...
> ** package ‘blme’ successfully unpacked and MD5 sums checked
> ** libs
> *** arch - i386
> sh: make: command not found
> ERROR: compilation failed for package ‘blme’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/blme’
> * restoring previous
> ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/blme’
>
>
> Unfortunately, I still get an error message and from Rthe following:
>
> library(blme)
> Error in library(blme) : ‘blme’ is not a valid installed package
>
> Where am I doing wrong?
> Thanks a lot.
> Grazia
>
> > On 01/10/2012 7:48 AM, 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 need a file, not a URL. So first download the file, then install it. (And
> > you don't need the --build command line option.)
> >
> > Duncan Murdoch
> >
>
More information about the R-help
mailing list