[R] installing a package from Archive
grazia at stat.columbia.edu
grazia at stat.columbia.edu
Mon Oct 1 16:02:35 CEST 2012
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’
* 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
>
--
----
M. Grazia Pittau, Ph.D.
Associate Professor
Faculty of Statistics
Sapienza, University of Rome
P.le Aldo Moro, 5
00185 ROMA, ITALY
grazia at stat.columbia.edu
grazia.pittau at uniroma1.it
Phone: +39 06 49910782
Fax: +39 06 4959241
More information about the R-help
mailing list