Displaying 5 results from an estimated 5 matches for "nawaaz".
2005 Feb 04
3
Handling large data sets via scan()
...e memory usage to
explode? Am I using as.data.frame() wrongly? Should I be using some
other command?
3) All the model fitting packages seem to want to use data.frames as
their input. If I cannot convert my list into a data.frame what can I
do? Is there any way of getting around this?
Much thanks!
Nawaaz
2005 Feb 19
2
Memory Fragmentation in R
...ing up returned the temporary data (as evidenced by the gc output
at the start of the second round of processing). Is it possible that it
was not really cleaned up and is sitting around somewhere even though
gc() thinks it has been returned?
Thanks - any clues to follow up will be very helpful.
Nawaaz
2005 Feb 19
2
Memory Fragmentation in R
...ing up returned the temporary data (as evidenced by the gc output
at the start of the second round of processing). Is it possible that it
was not really cleaned up and is sitting around somewhere even though
gc() thinks it has been returned?
Thanks - any clues to follow up will be very helpful.
Nawaaz
2005 Feb 24
1
Do environments make copies?
...ata" and then restore it in another R session, gc() claims it is
using twice the amount of memory. Where/How is this happening?
Thanks for any help in working around this - my datasets are just not
fitting into my 4GB, 32 bit linux machine (even though my actual data
size is around 800MB)
Nawaaz
> new.ref <- function(value = NULL) {
+ ref <- list(env = new.env())
+ class(ref) <- "refObject"
+ assign("value", value, env = ref$env)
+ ref
+ }
> object.size(y)
[1] 587941404
> y.ref = new.ref(y)
> object.size(y.ref)
[1] 328
> dat...
2005 Feb 24
1
Do environments make copies?
...ata" and then restore it in another R session, gc() claims it is
using twice the amount of memory. Where/How is this happening?
Thanks for any help in working around this - my datasets are just not
fitting into my 4GB, 32 bit linux machine (even though my actual data
size is around 800MB)
Nawaaz
> new.ref <- function(value = NULL) {
+ ref <- list(env = new.env())
+ class(ref) <- "refObject"
+ assign("value", value, env = ref$env)
+ ref
+ }
> object.size(y)
[1] 587941404
> y.ref = new.ref(y)
> object.size(y.ref)
[1] 328
> dat...