Re: [Rcpp-devel] strange new issue with installing Rcpp-0.10.5

2013-10-14 Thread Tim Triche, Jr.
On Mon, Oct 14, 2013 at 10:18 AM, Dirk Eddelbuettel wrote: > > I also run a little script 'update.r' every couple of days which updates > /usr/local/lib/R/site-library/ based on what changed on CRAN (by calling > update.packages(), more or less -- see the examples in the littler package) > and th

[Rcpp-devel] strange new issue with installing Rcpp-0.10.5

2013-10-14 Thread Tim Triche, Jr.
Hi all, This is new and perplexing to me. I have an Ubuntu install of r-base, r-rcpp, etc. and have installed R-3.0.2 in order to maintain Bioconductor packages for the upcoming release. As of a few days ago, Rcpp stopped updating itself either via biocLite() or via command line installation. I

Re: [Rcpp-devel] parallelization in Rcpp

2013-02-14 Thread Tim Triche, Jr.
there is an example of using OpenMP for this: http://dirk.eddelbuettel.com/code/rcpp/html/OpenMP_2OpenMPandInline_8r-example.html thanks Dirk :-) On Thu, Feb 14, 2013 at 3:43 AM, Zhao Yang wrote: > Hello, > > Firstly, I would like to thank the develops of Rcpp for this tool. > > Then, here is

Re: [Rcpp-devel] How to increase the coding efficiency

2012-12-05 Thread Tim Triche, Jr.
this part will always make your code crawl along: On Wed, Dec 5, 2012 at 11:09 AM, Honglang Wang wrote: > arma::vec betahat = arma::inv(Inv)*arma::trans(D)*W*y; > first time I wrote a GLM engine, I wrote it the way statistics books illustrate it (i.e. actually invert things to do IWLS) and it

Re: [Rcpp-devel] How to increase the coding efficiency

2012-12-04 Thread Tim Triche, Jr.
I have the book on my desk as it happens, and it is a great one, but the appendix is better than I remembered, so I parceled it out: http://www.flaver.com/BoydVandenberghe_appendixC_numericalLinearAlgebra.pdf (hope this helps a few other people) I bought the text because I like being able to writ

Re: [Rcpp-devel] Unit Test Question Was: pnorm/qnorm?

2012-09-13 Thread Tim Triche, Jr.
On Thu, Sep 13, 2012 at 9:20 AM, Dirk Eddelbuettel wrote: > | Also, are other people who use Rcpp falling into the habit of using > | '=' instead of '<-' for assignment in R, so that moving code to C++ > | goes more smoothly? > > I am firmly in the 'Don't do '=' for assignment, ever' camp. Bec

Re: [Rcpp-devel] Unit Test Question Was: pnorm/qnorm?

2012-09-13 Thread Tim Triche, Jr.
conclusion: Romain Francois is an absolute beast of a programmer A stupid-ish question: how do ReferenceClasses map onto Rcpp objects? Have people done this? Where can I look for examples? Also, are other people who use Rcpp falling into the habit of using '=' instead of '<-' for assignment in R

Re: [Rcpp-devel] Eigen vs Arma -- was: Re: Ceres nonlinear least squares solver

2012-05-06 Thread Tim Triche, Jr.
Why Mac OS X? 1) it's shiny 2) it's Unix 3) everything's a PDF Two of my most competent coworkers absolutely love their Macs. They also ask me the most "interesting" tech support questions, ones where I feel like I can't say "the problem is that you are using Windows" but at the same time, I get

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Tim Triche, Jr.
What do you use when you write larger packages (eg. RcppArmadillo)? I've always just used vim but that's because I'm stupendously lazy (also because I have R set up to call vim when I use the fix() function, so it all looks the same to me) On Sat, Jul 23, 2011 at 10:55 AM, Dirk Eddelbuettel wro

[Rcpp-devel] Cross-compiling packages for Windows from Linux?

2011-03-28 Thread Tim Triche, Jr.
Does anyone have any experience building Windows packages on Linux? This seems like a tall order, but I have cross-compiled working binaries in the past with some effort, and if I could compile Windows binaries of Rcpp-linked packages from Linux, I'd probably bite the bullet and do it. Otherwise

Re: [Rcpp-devel] [Rd] Newbie Rccp module question. "Failed to initialize module pointer"???

2011-02-18 Thread Tim Triche, Jr.
Cool! I was going to ask this exact question ("WTF WHERE IS MY MODULE$FUNC()?!?!?!!1") and now the magical mailing list has come to the rescue, unbidden. Thank you both, --tim On Fri, Feb 18, 2011 at 7:10 AM, Dirk Eddelbuettel wrote: > > Andre, > > (Now just on rcpp-devel) > > I had another