Re: [R] tackle memory insufficiency for large dataset using save() & load()??

2007-08-22 Thread Charles C. Berry
On Tue, 21 Aug 2007, Jessica Z wrote: [snip] I did not notice a comment on this bit in the other replies: >> >> newdata <- load ("compact_d.Rdata") >> >> summary(newdata) > Length Class Mode >1 character character newdata is a string whose value is 'd' try print( newdata )

Re: [R] tackle memory insufficiency for large dataset using save() & load()?

2007-08-21 Thread Rolf Turner
On 22/08/2007, at 2:52 PM, Gabor Grothendieck wrote: > ?save says its the names (not the objects) although I just > tried it and both save(iris, file = "/iris.Rdata") and > save("iris", file = "/iris.Rdata") seemed to work so you are > right that it seems to work with the objects, not just the na

Re: [R] tackle memory insufficiency for large dataset using save() & load()?

2007-08-21 Thread Gabor Grothendieck
?save says its the names (not the objects) although I just tried it and both save(iris, file = "/iris.Rdata") and save("iris", file = "/iris.Rdata") seemed to work so you are right that it seems to work with the objects, not just the names,\ although its not documented to do so. Usage save(..., li

Re: [R] tackle memory insufficiency for large dataset using save() & load()?

2007-08-21 Thread Rolf Turner
On 22/08/2007, at 1:48 PM, Gabor Grothendieck wrote: > See ?save . The ... arguments are the ***names*** of the objects, not > the objects > so you want save("d", ...whatever...) not save(d, ...whatever...) . I think this is wrong. You want the objects not their names. If you

Re: [R] tackle memory insufficiency for large dataset using save() & load()?

2007-08-21 Thread Gabor Grothendieck
See ?save . The ... arguments are the ***names*** of the objects, not the objects so you want save("d", ...whatever...) not save(d, ...whatever...) . Also don't use attach and detach and read this about factors which applies if your factor has many levels but can be ignored if not: http://www.mail

[R] tackle memory insufficiency for large dataset using save() & load()??

2007-08-21 Thread Jessica Z
Hello List, i have been agonizing over this for days, any reply would be greatly appreciated! Situation:___ My original dataset is a .csv dataset (w/ 2M records) with 4 variables: job_id (Primary key, won't be used for analysis, just used for join tables), s