[R] Problems installing data package on Windows
Erich Neuwirth
erich.neuwirth at univie.ac.at
Wed Jun 2 16:36:03 CEST 2010
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 at 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.
>
More information about the R-help
mailing list