Re: [R] Any container in R?

From: Duncan Murdoch <>
Date: Mon 01 Jan 2007 - 15:37:24 GMT

On 1/1/2007 10:17 AM, Feng Qiu wrote:
> R has list and array to contain elements. But does R have more powerful
> container, such as "map" as in C++ STL? or is there such a package?

In what way are maps more powerful than lists? You can use names to index lists.

The other container in R is the environment; they have fairly strange semantics, though.

Duncan Murdoch mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue Jan 02 02:42:31 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 01 Jan 2007 - 16:30:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.