Re: [Rcpp-devel] link issue when Rcpp package is installed in a path with space

2012-07-16 Thread Ken Williams
ns it through normalizePath() too, which sticks the space back in. A better global fix than messing around with quotes would actually be to use system2() and pass the arguments as the 'args' parameter. Not sure whether the build system allows that though. -- Ken Williams, Senior Resea

Re: [Rcpp-devel] link issue when Rcpp package is installed in a path with space

2012-07-17 Thread Ken Williams
> -Original Message- > From: Dirk Eddelbuettel [mailto:e...@debian.org] > Sent: Monday, July 16, 2012 6:46 PM > To: Dirk Eddelbuettel > Cc: Ken Williams; rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] link issue when Rcpp package is installed in a

[Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
Hi, I have a need to loop through all the entries of a DataFrame by row, then column. I know two different ways: // Case A: When df.length() is unknown at coding time: int n = df.nrows(); int m = df.length(); for(int i=1; ihttp://windlogics.com CONFID

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
> -Original Message- > From: Yan Zhou [mailto:zhou...@me.com] > Sent: Tuesday, February 19, 2013 5:10 PM > To: Dirk Eddelbuettel > Cc: Ken Williams; rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column > &g

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
> -Original Message- > From: Dirk Eddelbuettel [mailto:e...@debian.org] > Sent: Tuesday, February 19, 2013 5:02 PM > To: Ken Williams > Cc: rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column > > >

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
> From: John Merrill [mailto:john.merr...@gmail.com] > Sent: Tuesday, February 19, 2013 5:24 PM > To: Ken Williams > Cc: Yan Zhou; Dirk Eddelbuettel; rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column > > I&#

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
> -Original Message- > From: Dirk Eddelbuettel [mailto:e...@debian.org] > Sent: Tuesday, February 19, 2013 5:38 PM > To: Ken Williams > Cc: Dirk Eddelbuettel; rcpp-devel@lists.r-forge.r-project.org > Subject: RE: [Rcpp-devel] Efficient DataFrame access by row & co

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
From: John Merrill [mailto:john.merr...@gmail.com] Sent: Tuesday, February 19, 2013 5:46 PM To: Ken Williams Cc: Yan Zhou; Dirk Eddelbuettel; rcpp-devel@lists.r-forge.r-project.org Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column Well, here's a snippet from a much larger

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
om/kenahoo/4991485 -Ken From: Kevin Ushey [mailto:kevinus...@gmail.com] Sent: Tuesday, February 19, 2013 6:07 PM To: Ken Williams Cc: John Merrill; rcpp-devel@lists.r-forge.r-project.org Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column Another thing worth thinking about: perha

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-19 Thread Ken Williams
-devel-boun...@lists.r-forge.r-project.org] On Behalf Of Ken Williams Sent: Tuesday, February 19, 2013 6:24 PM To: Kevin Ushey Cc: rcpp-devel@lists.r-forge.r-project.org Subject: Re: [Rcpp-devel] Efficient DataFrame access by row & column That may be a good option if I'm willing to make at

Re: [Rcpp-devel] Efficient DataFrame access by row & column

2013-02-20 Thread Ken Williams
> -Original Message- > From: rcpp-devel-boun...@lists.r-forge.r-project.org [mailto:rcpp-devel- > boun...@lists.r-forge.r-project.org] On Behalf Of Romain Francois > Sent: Wednesday, February 20, 2013 2:56 AM > To: rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Efficie