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
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: ##.#. ##.#
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
3 matches
Mail list logo