Re: [Rd] Manipulating R lists in C

2006-11-17 Thread Tom McCallum
Thank you so much!! - that works now. Tom On Fri, 17 Nov 2006 14:40:38 -, Roger Bivand <[EMAIL PROTECTED]> wrote: > On Fri, 17 Nov 2006, Tom McCallum wrote: > >> Hi, >> >> I have been studying the R manual on lists but cannot seem to create a >> simple R list in C - I keep on getting "'dim

Re: [Rd] Manipulating R lists in C

2006-11-17 Thread Roger Bivand
On Fri, 17 Nov 2006, Tom McCallum wrote: > Hi, > > I have been studying the R manual on lists but cannot seem to create a > simple R list in C - I keep on getting "'dimnames' applied to non-array" > whenever I attempt to assign names to the list elements: Maybe: setAttrib( priceList, R_N