[R] Installing the Zoo Library.
Rnoobie
jc at stellaconcepts.com
Tue Jul 27 16:02:34 CEST 2010
Hi Ya'll
I'm trying to install the zoo library... I've downloaded about 5 or 6 of
their releases (inc. the latest one), all of them giving me the same syntax
error when trying to install...
Anyone seen this problem before? its not the "lib" argument that is the
problem (ive been installing other packages using this exact format with no
problem... just zoo is the problem.
> install.packages("zoo_1.5-8.tar.gz", repos = NULL );
Warning in install.packages("zoo_1.5-8.tar.gz", repos = NULL) :
argument 'lib' is missing: using /usr/local/lib/R/site-library
* Installing *source* package 'zoo' ...
** R
** inst
** preparing package for lazy loading
Error in parse(file, n, text, prompt) : syntax error at
2570: head.zoo <- function(x, n = 6, ...) {
2571: stopifnot(length(n) == 1L
Error: unable to load R code in package 'zoo'
Execution halted
ERROR: lazy loading failed for package 'zoo'
** Removing '/usr/local/lib/R/site-library/zoo'
Warning message:
installation of package 'zoo_1.5-8.tar.gz' had non-zero exit status in:
install.packages("zoo_1.5-8.tar.gz", repos = NULL)
--
View this message in context: http://r.789695.n4.nabble.com/Installing-the-Zoo-Library-tp2303604p2303604.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list