0

How I could build a 2 dimensional linked list in R?

1
  • 5
    I think you may need to be more expasnsive about what operations you expect to be applied to such an object. R uspports lists of lists, but that may not be what yoo mean by a "2d linked list". Commented Jul 10, 2012 at 18:56

1 Answer 1

1

For a linked list you need pointers, which R does not have (although in C++ a linked list can be implemented using no pointers). The basic R data structures are lists, data.frames, arrays etc, linked lists seem a bit to low level for R. If you provide more background as to what you want, we might be able to advise a suitable data structure in R.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.