[R] (no subject)

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Mar 6 08:45:43 CET 2004


On Fri, 5 Mar 2004, Fred J. wrote:

> Hello group.
> I am trying to install fdim on my win2000 os. this
> command is giving error and I feel I am not using it

At least four errors, unfortunately.

> correctly, could some one show me why. 
> 
> install.packages(fdim,

  pkgs: character vector of the short names of packages ....
        ^^^^^^^^^^^^^^^^
 
> "C:\Program Files\R\rw1081\library" , 

You need to double backslashes: see the rw-FAQ.  You also need to use 
proper quotes not strange Microsoft `smart quotes', as in the next one.

> CRAN = "http://cran.r-project.org", 
> "internal", 
> available = NULL, 
> destdir = "C:\Program Files\R\rw1081\library",

That's wrong: you do not want the package zip files there.

> installWithVers = FALSE)

Why not use the defaults?

install.packages("fdim", .Library)

or use the Packages menu.


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