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,                  [EMAIL PROTECTED]
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
______________________________________________
[email protected] 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.

Reply via email to