[R] Problems with Vista, R 2.5.0 and function save
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jun 12 13:48:45 CEST 2007
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
More information about the R-help
mailing list