search for: 1050bb698

Displaying 1 result from an estimated 1 matches for "1050bb698".

Did you mean: 1050bb190
2013 Jul 24
1
Understanding modification in place
...M(1)] (len=3, tl=0) 1,1,3 In function @1050bb190 13 INTSXP g0c2 [NAM(1)] (len=3, tl=0) 1,2,3 @1050bb190 13 INTSXP g0c2 [NAM(1)] (len=3, tl=0) 1,1,3 i.e. both modifications occur in place. If I put it in a file and source() it, I get: Global @1050bb318 13 INTSXP g0c2 [NAM(2)] (len=3, tl=0) 1,2,3 @1050bb698 13 INTSXP g0c2 [NAM(1)] (len=3, tl=0) 1,1,3 In function @1050b8958 13 INTSXP g0c2 [NAM(1)] (len=3, tl=0) 1,2,3 @1050b8958 13 INTSXP g0c2 [NAM(1)] (len=3, tl=0) 1,1,3 i.e. in the global environment a copy is created. Why is there a difference? Thanks! Hadley -- Chief Scientist, RStudio http://...