Displaying 20 results from an estimated 100 matches similar to: "ffsave.image() error with large objects"
2010 Nov 10
1
ff objects saving problem
Hi,
I am running the examples in page 70 of the ff package document, but it failed with the following error
> cat("let's create some ff objects\n")
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,
2012 Jun 10
1
HELP: ff package
I use the ff-package for large data and have good success in session. To
ensure my data is available for the next R session, I save my workspace and
use the /ffsave/ command to archive my large data objects. Syntax is
simple:
> ffsave(file="~/path/archiveName", list="objectName")
when I have multiple files to save, the list is expanded using c(). When I
start a new R
2011 May 04
1
Problems saving ff objects
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")
2012 Oct 02
1
ffsave problems
Dear R friends.
After having some troubles learning how to create a ffdf object, now I find
myself having problems saving it.
this is the data i´d like to save:
str(DATA)
List of 3
$ virtual: 'data.frame': 6 obs. of 7 variables:
.. $ VirtualVmode : chr "double" "short" "integer" "integer" ...
.. $ AsIs : logi FALSE FALSE FALSE
2012 Oct 09
2
append for .Rdata?
Can i somehow append objects to an .Rdata file?
I didn't see an option for it in the save() method.
dump() won't work since i have s4 objects in there.
2013 May 26
1
load ff object in a different computer
Hi all,
I am having trouble loading a ff object previously saved in a different
computer. I have both files .ffData and .RData, and the first of them is
13Mb large from which I know the data is therein. But when I try to ffload
it,
checkdir error: cannot create /home/_myUser_
Permission denied
unable to process
home/_myUser_/Rtempdir/ff1a831d500b8d.ff.
and
2009 Nov 09
3
Hand-crafting an .RData file
Hello,
I frequently have to export a large quantity of data from some
source (for example, a database, or a hand-written perl script) and then
read it into R. This occasionally takes a lot of time; I'm usually using
read.table("filename",comment.char="",quote="") to read the data once it is
written to disk.
However, I *know* that the program that generates
2010 Feb 11
0
ff package: How to save and open ff(df) files.
Hello to everyone,
I'm a newbie with ff package and I´m starting to use it. I´ve been reading
the ff.pdf guide and another documents and questions , but I´m really
confused about some procedures I can´t see how to do. I´d want to know if
it´s possible (and how) to "save" a ffdf file(s) and open it in another
session, via saving it in an permanet location.
Let´s supose we´re
2010 Jan 22
0
New version of package ff
Dear R community,
Package bit version 1.1-3 and ff version 2.1.2 is available on CRAN and should be useful to handle large datasets.
It adds convenient utilities for managing ff objects and files (see ?ffsave) and removes some performance bottlenecks.
In case you experience unexpected performance problems with ff, here is a couple of recommendations based on FAQs:
1) Compare the size of data
2010 Jan 22
0
New version of package ff
Dear R community,
Package bit version 1.1-3 and ff version 2.1.2 is available on CRAN and should be useful to handle large datasets.
It adds convenient utilities for managing ff objects and files (see ?ffsave) and removes some performance bottlenecks.
In case you experience unexpected performance problems with ff, here is a couple of recommendations based on FAQs:
1) Compare the size of data
2009 Jul 15
1
loading multiple .Rdata and preserving variable names
Dear R-users,
I need to load outputs from multiple previous calculations into one R
session for comparison and (cross-)analysis. The previous calculations are
stored in different directories in .Rdata files (I don't know if this is the
best storage for later usage, but the previous project could be recalculated
and saved into different format, if needed, potentially.)
I can load consequently
2009 Nov 26
1
Save workspace with ff objects
Hi All,
My script generates a mixture of normal and ff objects. I need to run the
script for different parameter settings. Very often I would like to save the
workspace for each parameter setting, so that I can get back to it later on.
Is there an easy way to do this, instead of needing to save individual ff
objects separately? I've tried the naive way of just saving the workspace,
only to
2012 Sep 14
1
Any way to get read.table.ffdf() (in the ff package) to pass colClasses or comment.char parameters through to read.fwf() ?
Hi everyone, my apologies if I'm overlooking something obvious in the
documentation. I'm relatively inexperienced with the (awesome) ff package.
My goal is to use the read.table.ffdf() function to call the read.fwf()
function and pass through the colClasses and comment.char arguments. The
code below shows exactly what doesn't work for me.
If the colClasses and comment.char
2010 Apr 13
2
how to work with big matrices and the ff-package?
Hello everyone,
I need to create and work with some big matrices that actually have somewhat over 2 million columns and 117 rows. To do some calculations on such big matrices R just needs too much memory for my PC (4GB installed). So I need a solution to work with large datasets. I'm trying to use the ff-package but I don't think I really understand the whole functionality of the
2012 Sep 12
1
unzipping with ff
I've noticed that ff uses the unzip utility available on it's host OS to
load datasets via ffload. It seems to work fine in linux, but when I try
to use the package in Windows (hence dling Windows unzip utils) I get 2
errors, one telling me that the options aren't being passed to unzip
correctly and another indicating that my filename is incorrect. First,
does anyone know of an unzip
2012 Mar 30
3
ff usage for glm
Greetings useRs,
Can anyone provide an example how to use ff to feed a very large data frame to glm?
The data.frame cannot be loaded in R using conventional read.csv as it is too big.
glm(...,data=ff.file) ??
Thank you
Stephen B
2014 Oct 30
1
DIY Rtools?
Dear List,
I'm currently working on an R package that
works great when compiled with GCC 4.8 under linux
but which doesn't seem to work so well when compiled
by the win builder (http://win-builder.r-project.org/).
After asking around a bit, the primary culprit could be
the older version of GCC used in Rtools.
Now, for academic purposes, I would like to have
a zip version of this
2011 Jan 19
1
Installing package in windows 7
Hi all,
I was trying to install a package called ei from this
http://gking.harvard.edu/eiR link . With GCC, r-base-dev and some other R
package dependencies installed it works perfect in my Ubuntu Linux system.
Now I am trying to install the same in Windows 7 environment. So far my
setup is as follows,
1. R installed in home folder (c:\Users\username\R-2.12.1\R. It is set to
run as
2008 Aug 22
1
save() should not overwrite a file if an error occurs (PR#12583)
If save() fails because an object is not found,
it should not overwrite an existing file.
> a <- 1:9
> save(a, file = "a.rda")
> rm(a)
> load("a.rda")
> a
[1] 1 2 3 4 5 6 7 8 9
> rm(a)
> save(a, file = "a.rda")
Error in save(a, file = "a.rda") : object 'a' not found
> load("a.rda")
Error in
2017 Aug 18
0
"How to convert .Rdata file into .csv or something else?" [SOLVED:Corrected version]
Dear mailing list members,
A member found a problem of lines of codes in my last e-mail.
I submit the correction to this mailing list as follows.
In the final part of my last e-mail message, a csv file is created.
But, I cannot open this file, so please ignore the following part.
--------------------------------------------------------------------------------------------------
If you want to