On Tue, Jul 27, 2010 at 10:02 AM, Rnoobie <j...@stellaconcepts.com> wrote: > > 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 );
That's about a year old and nowhere near the latest release. This: install.packages("zoo") works for me from within "R version 2.11.1 Patched (2010-05-31 r52167)" on Windows Vista and it works this way works too: C:\tmp2>wget http://cran.r-project.org/src/contrib/zoo_1.6-4.tar.gz --10:29:03-- http://cran.r-project.org/src/contrib/zoo_1.6-4.tar.gz => `zoo_1.6-4.tar.gz.1' Connecting to cran.r-project.org:80... connected! HTTP request sent, awaiting response... 200 OK Length: 892,174 [application/x-gzip] 0K .......... .......... .......... .......... .......... 5% @ 53.94 KB/s 50K .......... .......... .......... .......... .......... 11% @ 235.85 KB/s 100K .......... .......... .......... .......... .......... 17% @ 197.63 KB/s 150K .......... .......... .......... .......... .......... 22% @ 520.83 KB/s 200K .......... .......... .......... .......... .......... 28% @ 337.84 KB/s 250K .......... .......... .......... .......... .......... 34% @ 367.65 KB/s 300K .......... .......... .......... .......... .......... 40% @ 520.83 KB/s 350K .......... .......... .......... .......... .......... 45% @ 531.91 KB/s 400K .......... .......... .......... .......... .......... 51% @ 438.60 KB/s 450K .......... .......... .......... .......... .......... 57% @ 520.83 KB/s 500K .......... .......... .......... .......... .......... 63% @ 520.83 KB/s 550K .......... .......... .......... .......... .......... 68% @ 515.46 KB/s 600K .......... .......... .......... .......... .......... 74% @ 537.63 KB/s 650K .......... .......... .......... .......... .......... 80% @ 520.83 KB/s 700K .......... .......... .......... .......... .......... 86% @ 537.63 KB/s 750K .......... .......... .......... .......... .......... 91% @ 515.46 KB/s 800K .......... .......... .......... .......... .......... 97% @ 531.91 KB/s 850K .......... .......... . 100% @ 531.59 KB/s 10:29:06 (302.63 KB/s) - `zoo_1.6-4.tar.gz.1' saved [892174/892174] C:\tmp2>Rcmd INSTALL zoo_1.6-4.tar.gz * installing to library 'C:\Users\Gabor\Documents/R/win-library/2.11' * installing *source* package 'zoo' ... ** R ** demo ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ... ** testing if installed package can be loaded * DONE (zoo) C:\tmp2> ______________________________________________ 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.