Re: [Rd] How x[, 'colname1'] is implemented?

2010-01-01 Thread Seth Falcon
On 1/1/10 1:40 PM, Peng Yu wrote: > On Fri, Jan 1, 2010 at 6:52 AM, Barry Rowlingson > wrote: >> On Thu, Dec 31, 2009 at 11:27 PM, Peng Yu wrote: >>> I don't see where describes the implementation of '[]'. >>> >>> For example, if x is a matrix or a data.frame, how the lookup of >>> 'colname1' is

Re: [Rd] How x[, 'colname1'] is implemented?

2010-01-01 Thread Peng Yu
On Fri, Jan 1, 2010 at 6:52 AM, Barry Rowlingson wrote: > On Thu, Dec 31, 2009 at 11:27 PM, Peng Yu wrote: >> I don't see where describes the implementation of '[]'. >> >> For example, if x is a matrix or a data.frame, how the lookup of >> 'colname1' is x[, 'colname1'] executed. Does R perform a

[Rd] R Wish List

2010-01-01 Thread Gabor Grothendieck
This is my 2010 Wish list for R. Most of these have been discussed on r-help or r-devel already so this is more of a wrap-up. The first 4 relate to R itself, the next 2 to the R environment and the last 4 relate to using R with other languages: R 1. Strings. Some way of placing backslashes in l

Re: [Rd] How x[, 'colname1'] is implemented?

2010-01-01 Thread Barry Rowlingson
On Thu, Dec 31, 2009 at 11:27 PM, Peng Yu wrote: > I don't see where describes the implementation of '[]'. > > For example, if x is a matrix or a data.frame, how the lookup of > 'colname1' is x[, 'colname1'] executed. Does R perform a lookup in the > a hash of the colnames? Is the reference O(1) o