Displaying 2 results from an estimated 2 matches for "tp2130691p2130691".
2010 May 05
1
puzzles with assign()
...gn("a[1]", 2)
a[1] == 2 #FALSE
get("a[1]") == 2 #TRUE
Could someone explain this puzzling example, or point me to an explanation
of environments and how to operate with them?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/puzzles-with-assign-tp2130691p2130691.html
Sent from the R help mailing list archive at Nabble.com.
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...gn("a[1]", 2)
a[1] == 2 #FALSE
get("a[1]") == 2 #TRUE
Could someone explain this puzzling example, or point me to an explanation
of environments and how to operate with them?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/puzzles-with-assign-tp2130691p2130691.html
Sent from the R help mailing list archive at Nabble.com.
------------------------------
_______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide....