Re: [R] Pointers in R

2011-06-15 Thread Jamie Olson
One thing to keep in mind is the "no side effects" rule in R. Almost all variables are copied on assignment/modification. Of course, there's also lazy instantiation, so the copy isn't actually constructed unless it needs to be, but this can impact the expected performance of more complicated data

Re: [R] Pointers in R

2011-06-12 Thread Jeff Newmiller
Lists are recursive and heterogenous in R. Just assign the values to elements in lists and assign those lists to elements in other lists to build your tree. --- Jeff Newmiller The . . Go Live... DCN: Basics: ##.#. ##.#

[R] Pointers in R

2011-06-12 Thread Jaimin Dave
Hello Everyone, I am new to R and would like to create a quad tree in R. However the problem is that I don't think R has pointers. Is there any way to create a tree in R? Thanks [[alternative HTML version deleted]] __ R-help@r-project.org maili