Re: [Rd] Segmentation fault on bin/R --version in R-devel

2007-03-03 Thread Simon Urbanek
Thanks, Gregor, it should be now fixed in the current R-devel. Cheers, Simon On Mar 3, 2007, at 3:42 PM, Gregor Gorjanc wrote: > Hello! > > I have tried to build and install latest version of R, but I am not > able > to perform the install, due to seg. fault. I did the following > after SVN

Re: [Rd] extracting rows from a data frame by looping over the row names: performance issues

2007-03-03 Thread hpages
Quoting hadley wickham <[EMAIL PROTECTED]>: > On 3/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Quoting [EMAIL PROTECTED]: > > > In [.data.frame if you replace this: > > > > > > ... > > > if (is.character(i)) { > > > rows <- attr(xx, "row.names") > > > i <- pmatch

[Rd] Segmentation fault on bin/R --version in R-devel

2007-03-03 Thread Gregor Gorjanc
Hello! I have tried to build and install latest version of R, but I am not able to perform the install, due to seg. fault. I did the following after SVN checkout and wget for recommendeds: ./configure --prefix=/usr/local/R-devel make make install ... ... tcut text

Re: [Rd] extracting rows from a data frame by looping over the row names: performance issues

2007-03-03 Thread hadley wickham
On 3/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Quoting [EMAIL PROTECTED]: > > In [.data.frame if you replace this: > > > > ... > > if (is.character(i)) { > > rows <- attr(xx, "row.names") > > i <- pmatch(i, rows, duplicates.ok = TRUE) > > } > > ... > > > >

Re: [Rd] extracting rows from a data frame by looping over the row names: performance issues

2007-03-03 Thread hpages
Quoting [EMAIL PROTECTED]: > In [.data.frame if you replace this: > > ... > if (is.character(i)) { > rows <- attr(xx, "row.names") > i <- pmatch(i, rows, duplicates.ok = TRUE) > } > ... > > by this > > ... > if (is.character(i)) { > rows <- attr(xx

Re: [Rd] extracting rows from a data frame by looping over the row names: performance issues

2007-03-03 Thread hpages
Hi Seth, Quoting Seth Falcon <[EMAIL PROTECTED]>: > Herve Pages <[EMAIL PROTECTED]> writes: > > So apparently here extracting with dat[i, ] is 300 times faster than > > extracting with dat[key, ] ! > > > >> system.time(for (i in 1:100) dat["1", ]) > >user system elapsed > > 12.680 0.396