Displaying 9 results from an estimated 9 matches for "g1c7".
Did you mean:
1c7
2019 Jul 23
3
Any plans for ALTREP lists (VECSXP)?
...ength> matter_list :: out-of-memory list
(1.1 MB real | 543.3 MB virtual)
> system.time(y <- as.list(x))
user system elapsed
1.116 2.175 5.053
> system.time(z <- as.altrep(x))
user system elapsed
36.295 4.717 41.216
> .Internal(inspect(y))
@108255000 19 VECSXP g1c7 [MARK,NAM(7)] (len=34840, tl=0)
@7f9044d9fc00 14 REALSXP g1c7 [MARK] (len=1129, tl=0) 404.093,404.096,404.099,404.102,404.105,...
@7f9044d25e00 14 REALSXP g1c7 [MARK] (len=890, tl=0) 409.924,409.927,409.931,409.934,409.937,...
@7f9044da6000 14 REALSXP g1c7 [MARK] (len=1878, tl=0) 400.3,400.30...
2019 Jul 23
3
Any plans for ALTREP lists (VECSXP)?
...m.time(y <- as.list(x))
> > user system elapsed
> > 1.116 2.175 5.053
> >
> > > system.time(z <- as.altrep(x))
> > user system elapsed
> > 36.295 4.717 41.216
> >
> > > .Internal(inspect(y))
> > @108255000 19 VECSXP g1c7 [MARK,NAM(7)] (len=34840, tl=0)
> > @7f9044d9fc00 14 REALSXP g1c7 [MARK] (len=1129, tl=0)
> 404.093,404.096,404.099,404.102,404.105,...
> > @7f9044d25e00 14 REALSXP g1c7 [MARK] (len=890, tl=0)
> 409.924,409.927,409.931,409.934,409.937,...
> > @7f9044da6000 14 REALSXP g...
2019 Jul 24
1
[External] Re: Any plans for ALTREP lists (VECSXP)?
...gt; >>> 1.116 2.175 5.053
> >>>
> >>>> system.time(z <- as.altrep(x))
> >>> user system elapsed
> >>> 36.295 4.717 41.216
> >>>
> >>>> .Internal(inspect(y))
> >>> @108255000 19 VECSXP g1c7 [MARK,NAM(7)] (len=34840, tl=0)
> >>> @7f9044d9fc00 14 REALSXP g1c7 [MARK] (len=1129, tl=0)
> >> 404.093,404.096,404.099,404.102,404.105,...
> >>> @7f9044d25e00 14 REALSXP g1c7 [MARK] (len=890, tl=0)
> >> 409.924,409.927,409.931,409.934,409.937,...
>...
2019 Jul 23
0
Any plans for ALTREP lists (VECSXP)?
...real | 543.3 MB virtual)
>
> > system.time(y <- as.list(x))
> user system elapsed
> 1.116 2.175 5.053
>
> > system.time(z <- as.altrep(x))
> user system elapsed
> 36.295 4.717 41.216
>
> > .Internal(inspect(y))
> @108255000 19 VECSXP g1c7 [MARK,NAM(7)] (len=34840, tl=0)
> @7f9044d9fc00 14 REALSXP g1c7 [MARK] (len=1129, tl=0) 404.093,404.096,404.099,404.102,404.105,...
> @7f9044d25e00 14 REALSXP g1c7 [MARK] (len=890, tl=0) 409.924,409.927,409.931,409.934,409.937,...
> @7f9044da6000 14 REALSXP g1c7 [MARK] (len=1878, tl=...
2019 Jul 24
0
[External] Re: Any plans for ALTREP lists (VECSXP)?
...)
>>> user system elapsed
>>> 1.116 2.175 5.053
>>>
>>>> system.time(z <- as.altrep(x))
>>> user system elapsed
>>> 36.295 4.717 41.216
>>>
>>>> .Internal(inspect(y))
>>> @108255000 19 VECSXP g1c7 [MARK,NAM(7)] (len=34840, tl=0)
>>> @7f9044d9fc00 14 REALSXP g1c7 [MARK] (len=1129, tl=0)
>> 404.093,404.096,404.099,404.102,404.105,...
>>> @7f9044d25e00 14 REALSXP g1c7 [MARK] (len=890, tl=0)
>> 409.924,409.927,409.931,409.934,409.937,...
>>> @7f9044da...
2018 Dec 30
0
Bug report with patch: `stats:::regularize.values()` always creates full copies of `x` and `y`
...opifnot(length(y) == length(x))
}
}
list(x = x, y = y)
}
new_reg_xy <- new_regularize.values(x, y, mean)
# Output is still identical to input and also references to the same objects
identical(x, new_reg_xy[["x"]])
#> [1] TRUE
.Internal(inspect(x))
#> @15719b0 14 REALSXP g1c7 [MARK,NAM(3)] (len=100, tl=0) 1,2,3,4,5,...
.Internal(inspect(new_reg_xy[["x"]]))
#> @15719b0 14 REALSXP g1c7 [MARK,NAM(3)] (len=100, tl=0) 1,2,3,4,5,...
identical(y, new_reg_xy[["y"]])
#> [1] TRUE
.Internal(inspect(y))
#> @2c91be0 14 REALSXP g1c7 [MARK,NAM(3)] (len=10...
2019 Jan 04
0
Bug report with patch: `stats:::regularize.values()` always creates full copies of `x` and `y`
...opifnot(length(y) == length(x))
}
}
list(x = x, y = y)
}
new_reg_xy <- new_regularize.values(x, y, mean)
# Output is still identical to input and also references to the same objects
identical(x, new_reg_xy[["x"]])
#> [1] TRUE
.Internal(inspect(x))
#> @15719b0 14 REALSXP g1c7 [MARK,NAM(3)] (len=100, tl=0) 1,2,3,4,5,...
.Internal(inspect(new_reg_xy[["x"]]))
#> @15719b0 14 REALSXP g1c7 [MARK,NAM(3)] (len=100, tl=0) 1,2,3,4,5,...
identical(y, new_reg_xy[["y"]])
#> [1] TRUE
.Internal(inspect(y))
#> @2c91be0 14 REALSXP g1c7 [MARK,NAM(3)] (len=10...
2014 Mar 17
1
Deep copy of factor levels?
...t(x))
user system elapsed
4.263 0.000 4.322
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 385991 20.7 1074393 57.4 10049951 536.8
Vcells 104672187 798.6 112367694 857.3 204862160 1563.0
> .Internal(inspect(levels(xx[[1]])))
@387f620 16 STRSXP g1c7 [MARK,NAM(2)] (len=10000, tl=0)
@144da4e8 09 CHARSXP g1c1 [MARK,gp=0x60] [ASCII] [cached] "1"
@144da518 09 CHARSXP g1c1 [MARK,gp=0x60] [ASCII] [cached] "2"
@27d1298 09 CHARSXP g1c1 [MARK,gp=0x60] [ASCII] [cached] "3"
@144da548 09 CHARSXP g1c1 [MARK,gp=0x60]...
2013 Mar 22
1
Why does typeof() modify an object's "named" field?
...t subsequent
subassignment operations are carried out:
X <- 1:5e7
.Internal(inspect(X))
# @4eeb0008 13 INTSXP g0c7 [NAM(1)] (len=50000000, tl=0) 1,2,3,4,5,...
system.time(X[1] <- 9L)
# user system elapsed
# 0 0 0
typeof(X)
.Internal(inspect(X))
# @4eeb0008 13 INTSXP g1c7 [MARK,NAM(2)] (len=50000000, tl=0) 9,2,3,4,5,...
system.time(X[2] <- 9L)
# user system elapsed
# 0.16 0.08 0.23
Some other functions that query the nature of an object (e.g. class(),
length(), attributes()) do not modify the object's "named" field. Is
there a reason t...