I just tried downloading the lattice package from CRAN but got a syntax error when loading the library (see below).> {a <- CRAN.packages()+ install.packages(select.list(a[,1],,TRUE), .lib.loc[1], available=a)} trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 7505 bytes opened URL downloaded 7505 bytes trying URL `http://cran.r-project.org/bin/windows/contrib/lattice.zip' Content type `application/zip' length 351599 bytes opened URL downloaded 343Kb Delete downloaded files (y/N)? y updating HTML package descriptions> library(lattice)Error in parse(file, n, text, prompt) : syntax error on line 2022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Rachel Cunliffe wrote:> > I just tried downloading the lattice package from CRAN but got a syntax > error when loading the library (see below). > > > {a <- CRAN.packages() > + install.packages(select.list(a[,1],,TRUE), .lib.loc[1], available=a)} > trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES' > Content type `text/plain; charset=iso-8859-1' length 7505 bytes > opened URL > downloaded 7505 bytes > > trying URL `http://cran.r-project.org/bin/windows/contrib/lattice.zip' > Content type `application/zip' length 351599 bytes > opened URL > downloaded 343Kb > > Delete downloaded files (y/N)? y > > updating HTML package descriptions > > library(lattice) > Error in parse(file, n, text, prompt) : syntax error on line 2022Strange, if your versions of R and grid are recent, but you have neither told that, nor anything about your OS (which seems to be a Windows) ... Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
[this accidentally was sent to owner-r-help@ ... a person who has now manually forwarded this to the mailing list. -- MM ] I just tried downloading the lattice package from CRAN but got a syntax error when loading the library (see below).> {a <- CRAN.packages()+ install.packages(select.list(a[,1],,TRUE), .lib.loc[1], available=a)} trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 7505 bytes opened URL downloaded 7505 bytes trying URL `http://cran.r-project.org/bin/windows/contrib/lattice.zip' Content type `application/zip' length 351599 bytes opened URL downloaded 343Kb Delete downloaded files (y/N)? y updating HTML package descriptions> library(lattice)Error in parse(file, n, text, prompt) : syntax error on line 2022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._