Hello r-supporters! I?m working with contributed packages downloaded today.When I try to install them with R CMD INSTALL an error message says that the package is not a gzip file. This occurs both in Suse 7.3 and in Debian Potato 2.2. I had not this problem when instaled the same packages just half a year ago. I think this is related with cuestions about GNU license or similar but, knows anybody what should I do to resolve the problem? Thanks in advance Juan Pablo Zaragoza, Spain _________________________________________________________________ ?nase con MSN Hotmail al servicio de correo electr?nico m?s grande del -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Almost certainly the problem is with your download, which has un-gzipped it: browsers do tend to, Try calling `file' on the downloaded file to see what it is. I suggest you use ftp to download: it avoids such things. On Sat, 15 Jun 2002, juan pablo perez wrote:> I´m working with contributed packages downloaded today.When I try to install > them with R CMD INSTALL an error message says that the package is not a gzip > file. This occurs both in Suse 7.3 and in Debian Potato 2.2. I had not this > problem when instaled the same packages just half a year ago. I think this > is related with cuestions about GNU license or similar but, knows anybody > what should I do to resolve the problem?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 06/15/02 18:28, juan pablo perez wrote:>I?m working with contributed packages downloaded today.When I try to install >them with R CMD INSTALL an error message says that the package is not a gzip >file. This occurs both in Suse 7.3 and in Debian Potato 2.2. I had not this >problem when instaled the same packages just half a year ago. I think this >is related with cuestions about GNU license or similar but, knows anybody >what should I do to resolve the problem?Well, is it true that they aren't gzip files? Can you unzip them with gunzip? If not, then problem is not in R. You can also look at the extension: if it is .gz or .tgz, they are at least supposed to be gzip files. My memory is that the INSTALL command will check to see whether the file is zipped or not (but I can't find this documented right now). If I'm correct, then the problem is that the files are not gzip files although they are labeled as such. In that case the problem might lie in how you downloaded them. It could also be that they are really tar files. What happens if you look at the file with more? If you can read anything, then it is probably a tar file and you might be able to re-lable it. You might try again by starting R and using the install.packages() function rather than R CMD INSTALL. This will probably choose the right method of downloaing. In fact, I would try this first. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania R page: http://finzi.psych.upenn.edu/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._