search for: g1c1

Displaying 8 results from an estimated 8 matches for "g1c1".

Did you mean: g11
2014 Mar 17
1
Deep copy of factor levels?
...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] [ASCII] [cached] "4" @144da578 09 CHARSXP g1c1...
2019 Jul 17
2
ALTREP wrappers and factors
...(inspect(fc1)) @7fb0cae66408 13 INTSXP g0c2 [OBJ,NAM(2),ATT] (len=3, tl=0) 1,1,2 ATTRIB: @7fb0ce771868 02 LISTSXP g0c0 [] TAG: @7fb0c80043d0 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "class" (has value) @7fb0c9fcbe90 16 STRSXP g0c1 [NAM(7)] (len=1, tl=0) @7fb0c80841a0 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cached] "factor" TAG: @7fb0c8004050 01 SYMSXP g1c0 [MARK,NAM(7),LCK,gp=0x4000] "levels" (has value) @7fb0d1dd58c8 16 STRSXP g0c2 [MARK,NAM(7)] (len=2, tl=0) @7fb0c81bf4c0 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cached] "a" @7...
2019 Jul 19
2
ALTREP wrappers and factors
...(len=3, tl=0) 1,1,2 > > ATTRIB: > > @7fb0ce771868 02 LISTSXP g0c0 [] > > TAG: @7fb0c80043d0 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "class" (has > > value) > > @7fb0c9fcbe90 16 STRSXP g0c1 [NAM(7)] (len=1, tl=0) > > @7fb0c80841a0 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cached] > > "factor" > > TAG: @7fb0c8004050 01 SYMSXP g1c0 [MARK,NAM(7),LCK,gp=0x4000] > "levels" > > (has value) > > @7fb0d1dd58c8 16 STRSXP g0c2 [MARK,NAM(7)] (len=2, tl=0) > > @7fb0c81bf4c0 09 CHARSXP g1c1...
2019 Jul 18
0
ALTREP wrappers and factors
...3 INTSXP g0c2 [OBJ,NAM(2),ATT] (len=3, tl=0) 1,1,2 > ATTRIB: > @7fb0ce771868 02 LISTSXP g0c0 [] > TAG: @7fb0c80043d0 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "class" (has > value) > @7fb0c9fcbe90 16 STRSXP g0c1 [NAM(7)] (len=1, tl=0) > @7fb0c80841a0 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cached] > "factor" > TAG: @7fb0c8004050 01 SYMSXP g1c0 [MARK,NAM(7),LCK,gp=0x4000] "levels" > (has value) > @7fb0d1dd58c8 16 STRSXP g0c2 [MARK,NAM(7)] (len=2, tl=0) > @7fb0c81bf4c0 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cache...
2020 Jul 22
3
Invisible names problem
I ran into strange behavior when removing names. Two ways of removing names: i <- rep(1:4, length.out=20000) k <- c(a=1, b=2, c=3, d=4) x1 <- unname(k[i]) x2 <- k[i] x2 <- unname(x2) Are they identical? identical(x1,x2) # TRUE but no identical(serialize(x1,NULL),serialize(x2,NULL)) # FALSE But problem is with serialization type 3, cause:
2014 Apr 02
0
special handling of row.names
...1 [OBJ,NAM(2),ATT] (len=1, tl=0) @103a7dc60 13 INTSXP g0c4 [] (len=10, tl=0) 1,2,3,4,5,... ATTRIB: @104959380 02 LISTSXP g0c0 [] TAG: @100823078 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "names" (has value) @104f17748 16 STRSXP g0c1 [NAM(2)] (len=1, tl=0) @10085c678 09 CHARSXP g1c1 [MARK,gp=0x61] [ASCII] [cached] "x" TAG: @10082d060 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "row.names" (has value) @104f0e898 13 INTSXP g0c1 [] (len=2, tl=0) -2147483648,-10 TAG: @100823548 01 SYMSXP g1c0 [MARK,LCK,gp=0x4000] "class" (has value) @104f0e8c8...
2010 Nov 12
1
SEXPs and slots
Hello, I've created this class: setClass("example", representation ( size = "numeric", id = "character" ) ) Suppose I create a new instance of this class: > x <- new("example", 4, "id_value") This creates an S4 object with two slots. Am I correct in thinking that slots are "filled" by SEXPs?
2010 Nov 15
1
SEXP and slots
...STRSXP g0c1 [NAM(2)] (len=1, tl=0) >> @12341c80 09 CHARSXP g0c2 [gp=0x20] "id_value" >> TAG: @607ce8 01 SYMSXP g1c0 [MARK,NAM(2),gp=0x4000] "class" >> @c0f6d58 16 STRSXP g0c1 [NAM(2),ATT] (len=1, tl=0) >> @96ed08 09 CHARSXP g1c1 [MARK,gp=0x21] "example" >> ATTRIB: >> @df70fd0 02 LISTSXP g0c0 [] >> TAG: @624f70 01 SYMSXP g1c0 [MARK,NAM(2)] "package" >> @c0f6d88 16 STRSXP g0c1 [NAM(2)] (len=1, tl=0) >> @67f5e0 09 CHARSXP g1c2...