Re: [R] Problem with running installed package on Windows
Uwe, thanks for your response. The version of R was 2.6.1 and the version of the package is the most recent 2.2-13. As mentioned, it works fine on OS X but not on Windows XP. I will try using Rtools (from Duncan Murdoch's site) and install manually using the .zip file. Any other ideas? Your example works for me. Please read the posting guide that asks you to provide the following important information for us: Which version of R is this? Which version of the package? The recent version on CRAN master is: Package: clim.pact Version: 2.2-13 Date: January 10 2008 If you got another version, which mirror did you use (it might be outdated and someone will need to fix it, if you are using R=2.6.1)? Uwe Ligges James Ferguson wrote: Hello, I have installed the package clim.pact in R on both Mac OS X and Windows XP. Everything works fine on the Mac but in Windows, I have a problem when I try to execute some simple commands. I get this error: Error in gzfile(file, wb) : unable to open connection In addition: Warning message: In gzfile(file, wb) : cannot open compressed file 'data/eof_dnmi+_slp_90W60E-30N80N_Jan_mon.Rdata' It happens, for example, when I type in the commands data(DNMI.slp) followed by eof.1 - EOF(DNMI.slp,mon=1) but the problem is only in Windows. Does anyone have any advice for me? I installed the package simply through the software R using the drop down menus (i.e. I did NOT download a .zip file first). Thanks in advance for your help, James Ferguson, University of Victoria jcf at uvic dot ca __ 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.
Re: [R] Problem with running installed package on Windows
On Wed, Jan 16, 2008 at 08:58:50AM -0800, James Ferguson wrote: Uwe, thanks for your response. The version of R was 2.6.1 and the version of the package is the most recent 2.2-13. As mentioned, it works fine on OS X but not on Windows XP. I will try using Rtools (from Duncan Murdoch's site) and install manually using the .zip file. Any other ideas? You don't need Rtools to install from the .zip file. .zip files are binary packages, only R is needed to install them: Rcmd install Rtools is only needed for compiling packages and/or R from source. Just before you start installing Rtools. Gabor -- Csardi Gabor [EMAIL PROTECTED]UNIL DGM __ 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.
Re: [R] Problem with running installed package on Windows
Thanks for everyone's help - I figured out the problem, or at least some way of making the package work properly. I noticed that everything was OK if I logged in as administrator. Not sure why that might be. Regards from Victoria, James Ferguson On Wed, Jan 16, 2008 at 08:58:50AM -0800, James Ferguson wrote: Uwe, thanks for your response. The version of R was 2.6.1 and the version of the package is the most recent 2.2-13. As mentioned, it works fine on OS X but not on Windows XP. I will try using Rtools (from Duncan Murdoch's site) and install manually using the .zip file. Any other ideas? You don't need Rtools to install from the .zip file. .zip files are binary packages, only R is needed to install them: Rcmd install Rtools is only needed for compiling packages and/or R from source. Just before you start installing Rtools. Gabor -- Csardi Gabor [EMAIL PROTECTED]UNIL DGM __ 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.