Re: [Rd] What is pairlist in R-ints.pdf?

From: Simon Urbanek <>
Date: Wed, 03 Mar 2010 11:49:50 -0500

On Mar 3, 2010, at 11:29 , blue sky wrote:

> R-ints.pdf mentions pairlist with the reference to mit-scheme.
> However, it is not clear to me what 'pairlist' exactly refers to, as
> I don't find the definition for it. Does a 'pairlist' in R
> equivalent to a pair or a list (which is essentially a pair whose
> cdr is a list) in mit-scheme?

pairlist is short for "dotted pair list" (see ?pairlist) which is a syntax for specifying linked lists as ( CAR . CDR ). Since the term "list" has a different meaning in R, using just "list" would be ambiguous (in the current R lists are implemented as generic vectors, not as linked lists).

Simon mailing list Received on Wed 03 Mar 2010 - 16:52:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 03 Mar 2010 - 19:31:43 GMT.

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

list of date sections of archive