Did you try using the type="source" parameter for install.packages?
On Jun 2, 2010, at 3:02 PM, Erick Rocha Fonseca wrote: > Dear all, > > I'm having difficulties installing a package on Windows. It has only R > data files, no code. I've built it on a Linux platform and installed it > there without problems. When I tried installing the .tar.gz on Windows, > via install.packages, I got the following errors: > > Error in gzfile(file, "r") : unable to open connection > In addition: Warning message: > 1: In unzip(zipname, exdir = dest) : > error 1 in extracting from zip file > 2: In gzfile(file, "r") : > cannot open compressed file 'pkgname.tar.gz/DESCRIPTION', probable > reason 'No such file or directory' > > > After searching in the web, I tried installing the Rtools kit. The > problem with install.packages remains, but I managed to install it with > R CMD INSTALL. What could be wrong with install.packages? As far as I > understood, installing a package without source code shouldn't need the > resources in Rtools. > > Thanks, > > Erick Fonseca > > ______________________________________________ > 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. > ______________________________________________ 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.