Re: [R] difficulties with the save.image() function

From: Don MacQueen <macq_at_llnl.gov>
Date: Tue 15 Mar 2005 - 07:36:48 EST

At 3:44 PM +0100 3/12/05, Uwe Ligges wrote:
>Tracy Bergemann wrote:
>
>>Dear list,
>>
>>I've had difficulty saving my workspace to an .RData file.
>>This causes considerable frustration as it means that I have to regenerate
>>my analysis every time I want to update it. For microarray data in
>>particular, this can be quite time consuming.
>>
>>I'm saving my data to a network folder on my system in Windows XP, something
>>like an "H:\" drive or a "P:\" drive instead of a "C:\" drive.
>>
>>Here is the command which saves my workspace to my working directory:
>>save.image("H:/Consulting/cmlExprA.RData")
>>And here is the error I get:
>>Error in save(list = ls(envir = .GlobalEnv, all.names = TRUE), file =
>>outfile,: error writing to connection
>>
>>Any assistance?

To which we might add a simple test such as:

    sink('H:/Consulting/test.txt') ; ls() ; sink()

Which if it succeeds will eliminate some possible issues, and if it fails will eliminate others.

>
>- Do you have write access?
>- Is there enough space available?
>- Any quota?
>- Can you save on a local drive, say a temp directory?
>- How big is the file size? ("microarray" make me assume it is huge,
>so is it > 2GB?, does the system support the file size?)
>
>- What is the output of
> file.info("H:/Consulting/cmlExprA.RData")
>and
> file.info("H:/Consulting")
>
>
>Uwe Ligges
>
>
>>Many thanks,
>>Tracy L. Bergemann, PhD
>>Biostatistics Core
>>University of Minnesota Cancer Center
>>B412-4 Mayo building
>>Office # 626-5408
>>

-Don

-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Mar 15 07:43:15 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:47 EST