Hi everyone, I want to make use of the save function but it did not work. I'm using vista and R 2.5.0, winzip is installed too. Here's the code (from example ?save): > x <- runif(20) > y <- list(a = 1, b = TRUE, c = "oops") > save(x, y, file = "xy.Rdata") Fehler in gzfile(file, "wb") : kann Verbindung nicht ?ffnen Zus?tzlich: Warning message: kann komprimierte Datei 'xy.Rdata' nicht ?ffnen Thank you so much for your help. Background: I want to crate a variable "masterfile" that I can start with data(masterfile) or attach(masterfile). I.g. Town<-c("London","Miami","Rio","Lansing") Pollution<-c("34","32","50","17") masterfile<-data.frame(Town,Pollution) save(masterfile,file="masterfile.Rda") Kindly regards, Maja Schr?ter -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
Prof Brian Ripley
2007-Jun-12 11:48 UTC
[R] Problems with Vista, R 2.5.0 and function save
So you are running R somewhere in your file system where you do not have permission to write. Did you create a shortcut with a working directory set as the rw-FAQ advised you to? On Tue, 12 Jun 2007, "Maja Schr?ter" wrote:> Hi everyone, > > I want to make use of the save function but it did not work. > > I'm using vista and R 2.5.0, winzip is installed too. > > Here's the code (from example ?save): > > > x <- runif(20) > > y <- list(a = 1, b = TRUE, c = "oops") > > save(x, y, file = "xy.Rdata") > Fehler in gzfile(file, "wb") : kann Verbindung nicht ?ffnen > Zus?tzlich: Warning message: > kann komprimierte Datei 'xy.Rdata' nicht ?ffnen > > Thank you so much for your help. > > Background: I want to crate a variable "masterfile" that I can start with data(masterfile) or attach(masterfile). > > I.g. > > Town<-c("London","Miami","Rio","Lansing") > Pollution<-c("34","32","50","17") > masterfile<-data.frame(Town,Pollution) > save(masterfile,file="masterfile.Rda") > > > Kindly regards, > > Maja Schr?ter >-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595