Displaying 6 results from an estimated 6 matches for "48008".
Did you mean:
48000
2016 Jul 27
3
Model object, when generated in a function, saves entire environment when saved
...ion call
would fix this problem.
I was referred to this list from r-bugs. First time r-devel poster.
Hope this helps,
Kendon
```
tmp_fun <- function(x){
iris_big <- lapply(1:10000, function(x) iris)
lm(Sepal.Length ~ Sepal.Width, data = iris)
}
out <- tmp_fun(1)
object.size(out)
# 48008
save(out, file = "tmp.RData", compress = FALSE)
file.size("tmp.RData")
# 57196752 - way too big
# Works fine when in .GlobalEnv
iris_big <- lapply(1:10000, function(x) iris)
out <- lm(Sepal.Length ~ Sepal.Width, data = iris)
object.size(out)
# 48008
save(out, file = &quo...
2016 Jul 27
2
Model object, when generated in a function, saves entire environment when saved
...pe this helps,
>>
>> Kendon
>>
>> ```
>> tmp_fun <- function(x){
>> iris_big <- lapply(1:10000, function(x) iris)
>> lm(Sepal.Length ~ Sepal.Width, data = iris)
>> }
>>
>> out <- tmp_fun(1)
>> object.size(out)
>> # 48008
>> save(out, file = "tmp.RData", compress = FALSE)
>> file.size("tmp.RData")
>> # 57196752 - way too big
>>
>> # Works fine when in .GlobalEnv
>> iris_big <- lapply(1:10000, function(x) iris)
>> out <- lm(Sepal.Length ~ Sepal.Width...
2016 Jul 27
0
Model object, when generated in a function, saves entire environment when saved
...r-bugs. First time r-devel poster.
>
> Hope this helps,
>
> Kendon
>
> ```
> tmp_fun <- function(x){
> iris_big <- lapply(1:10000, function(x) iris)
> lm(Sepal.Length ~ Sepal.Width, data = iris)
> }
>
> out <- tmp_fun(1)
> object.size(out)
> # 48008
> save(out, file = "tmp.RData", compress = FALSE)
> file.size("tmp.RData")
> # 57196752 - way too big
>
> # Works fine when in .GlobalEnv
> iris_big <- lapply(1:10000, function(x) iris)
> out <- lm(Sepal.Length ~ Sepal.Width, data = iris)
>
> obj...
2016 Jul 27
0
Model object, when generated in a function, saves entire environment when saved
...gt;
> >> ```
> >> tmp_fun <- function(x){
> >> iris_big <- lapply(1:10000, function(x) iris)
> >> lm(Sepal.Length ~ Sepal.Width, data = iris)
> >> }
> >>
> >> out <- tmp_fun(1)
> >> object.size(out)
> >> # 48008
> >> save(out, file = "tmp.RData", compress = FALSE)
> >> file.size("tmp.RData")
> >> # 57196752 - way too big
> >>
> >> # Works fine when in .GlobalEnv
> >> iris_big <- lapply(1:10000, function(x) iris)
> >> out...
2020 Jan 29
2
Model object, when generated in a function, saves entire environment when saved
...gt;> tmp_fun <- function(x){
>> >> iris_big <- lapply(1:10000, function(x) iris)
>> >> lm(Sepal.Length ~ Sepal.Width, data = iris)
>> >> }
>> >>
>> >> out <- tmp_fun(1)
>> >> object.size(out)
>> >> # 48008
>> >> save(out, file = "tmp.RData", compress = FALSE)
>> >> file.size("tmp.RData")
>> >> # 57196752 - way too big
>> >>
>> >> # Works fine when in .GlobalEnv
>> >> iris_big <- lapply(1:10000, function(x)...
2012 Dec 18
2
Yum Segfaulting
Hi All, I have a Centos 5.8 system with relatively little memory, that
runs in rl3, where yum has decided not to work any more. As follows:-
# free
total used free shared buffers cached
Mem: 774628 697516 77112 0 77720 313284
-/+ buffers/cache: 306512 468116
Swap: 2048276 160 2048116
# yum -v