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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.