[R] warnings and errors with R CMD INSTALL

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 5 07:47:05 CET 2005


On Wed, 5 Jan 2005, thomas wrote:

> Hello,
>
> Am Dienstag, den 04.01.2005, 23:25 +0000 schrieb Prof Brian Ripley:
>> On Tue, 4 Jan 2005, thomas wrote:

>>> I followed RNews 3/3 and used:
>>>
>>> 1. R CMD INSTALL package_version.tar.gz
>>>
>>> and
>>>
>>> 2.options(CRAN="http://umfragen.sowi.uni-mainz.de/CRAN/")
>>> install.packages("pkg1". "pkg2")
>>>
>>> Both approaches end up i.e.:
>>>
>>> WARNING: invalid package 'pkg1.tar.gz'
>>> ERROR: no packages specified
>>
>> But there is no package `pkg1' on CRAN.  Try a real name like
>>
>> install.packages("tree")
>
> Well, of cause I didn't want install pkg1 or pkg2,
> the precise commandline was:
>
> 1. R CMD INSTALL epitools_0.3-3.tar.gz

Have you downloaded the file first to the current directory?

> and
>
> 2.  install.packages("accuracy", "zoo", "abind")

The syntax is install.packages(c("accuracy", "zoo", "abind"))

[I did suggest an example you could have tried, deliberately with one 
package.  I don't get the error message you said you got from your line.]


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