Re: [R] Problems saving ff objects

From: Andrew Robinson <A.Robinson_at_ms.unimelb.edu.au>
Date: Thu, 05 May 2011 09:43:32 +1000

I wonder if this question should be directed to the package maintainer?

Best wishes,

Andrew

On Wed, May 04, 2011 at 02:31:51PM +0100, Jannis wrote:
> Just did some more testing.....May the problem be due to the fact that I am using a windows machine? I just ran the same code on a Linux machine and everything worked fine.
>
> If windows (or the file system of the disk) caused the problem, is there any way to resolve it? I know that using Linux would be a better choice ;-) but unfortunatley this in no option at the moment....
>
>
> Best
> Jannis
>
> --- Jannis <bt_jannis_at_yahoo.de> schrieb am Mi, 4.5.2011:
>
> > Von: Jannis <bt_jannis_at_yahoo.de>
> > Betreff: [R] Problems saving ff objects

> > An: r-help_at_r-project.org
> > Datum: Mittwoch, 4. Mai, 2011 13:17 Uhr
> > Dear list,
> >
> >
> > I am trying to understand and use the ff package. As I had
> > some problems saving some ff objects, and as I did not fully
> > manage to understand the whole concept of *.ff, *.ffData and
> > *.RData with the help of the documentation, I tried to
> > reproduce the examples from the help of ffsave.
> >
> > When I ran, however : (copied from the help)
> >
> > message("let's create some ff objects")
> >   n <- 8e3
> >   a <- ff(sample(n, n, TRUE), vmode="integer",
> > length=n, filename="d:/tmp/a.ff")
> >   b <- ff(sample(255, n, TRUE), vmode="ubyte",
> > length=n, filename="d:/tmp/b.ff")
> >   x <- ff(sample(255, n, TRUE), vmode="ubyte",
> > length=n, filename="d:/tmp/x.ff")
> >   y <- ff(sample(255, n, TRUE), vmode="ubyte",
> > length=n, filename="d:/tmp/y.ff")
> >   z <- ff(sample(255, n, TRUE), vmode="ubyte",
> > length=n, filename="d:/tmp/z.ff")
> >   df <- ffdf(x=x, y=y, z=z)
> >   rm(x,y,z)
> >
> >   message("save all of them")
> >   ffsave.image("d:/tmp/x")
> >
> > I get:
> >
> > Error in ffsave(list = ls(envir = .GlobalEnv, all.names =
> > TRUE), file = outfile,  :
> >   the previous files do not match the rootpath (case
> > sensitive)
> >
> >
> > Whats wrong here? Should this not be working as I did not

> > change anything in the code?
> >
> >
> >
> > Cheers
> > Jannis
> >
> >
> > > sessionInfo()
> > R version 2.12.0 (2010-10-15)

> > Platform: i386-pc-mingw32/i386 (32-bit)
> >
> > locale:
> > [1] LC_COLLATE=English_United States.1252
> > [2] LC_CTYPE=English_United States.1252   
> > [3] LC_MONETARY=English_United States.1252
> > [4] LC_NUMERIC=C           
> >              
> > [5] LC_TIME=English_United States.1252   

> >
> > attached base packages:
> > [1] tools     stats 
> >    graphics  grDevices utils 
> >    datasets  methods 
> > [8] base     
> >
> > other attached packages:
> > [1] ff_2.2-2   bit_1.1-7  rj_0.5.2-1

> >
> > loaded via a namespace (and not attached):
> > [1] rJava_0.8-8

> >
> >
> >
> >
> > ______________________________________________
> > R-help_at_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_at_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.

-- 
Andrew Robinson  
Program Manager, ACERA 
Department of Mathematics and Statistics            Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia               (prefer email)
http://www.ms.unimelb.edu.au/~andrewpr              Fax: +61-3-8344-4599
http://www.acera.unimelb.edu.au/

Forest Analytics with R (Springer, 2011) 
http://www.ms.unimelb.edu.au/FAwR/
Introduction to Scientific Programming and Simulation using R (CRC, 2009): 
http://www.ms.unimelb.edu.au/spuRs/

______________________________________________
R-help_at_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.
Received on Thu 05 May 2011 - 06:25:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive