Re: [R] Help with integrating R and c/c++

2011-02-06 Thread Ravi Varadhan
ol of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu - Original Message - From: Rohit Pandey Date: Sunday, February 6, 2011 11:33 am Subject: [R] Help with integrating R and c/c++ To: r-help@r-project.org > Hi, > > I have been using R for cl

Re: [R] Help with integrating R and c/c++

2011-02-06 Thread Dirk Eddelbuettel
On 6 February 2011 at 20:58, Rohit Pandey wrote: | Hi, | | I have been using R for close to two years now and have grown quite | comfortable with the language. I am presently trying to implement an | optimization routine in R (Newton Rhapson). I have some R functions that | calculate the gradient

Re: [R] Help with integrating R and c/c++

2011-02-06 Thread Martin Morgan
On 02/06/2011 07:28 AM, Rohit Pandey wrote: > Hi, > > I have been using R for close to two years now and have grown quite > comfortable with the language. I am presently trying to implement an > optimization routine in R (Newton Rhapson). I have some R functions that > calculate the gradient and h

Re: [R] Help with integrating R and c/c++

2011-02-06 Thread Douglas Bates
On Sun, Feb 6, 2011 at 10:56 AM, David Winsemius wrote: > > On Feb 6, 2011, at 10:28 AM, Rohit Pandey wrote: > >> Hi, >> >> I have been using R for close to two years now and have grown quite >> comfortable with the language. I am presently trying to implement an >> optimization routine in R (Newt

Re: [R] Help with integrating R and c/c++

2011-02-06 Thread David Winsemius
On Feb 6, 2011, at 10:28 AM, Rohit Pandey wrote: Hi, I have been using R for close to two years now and have grown quite comfortable with the language. I am presently trying to implement an optimization routine in R (Newton Rhapson). I have some R functions that calculate the gradient and h

[R] Help with integrating R and c/c++

2011-02-06 Thread Rohit Pandey
Hi, I have been using R for close to two years now and have grown quite comfortable with the language. I am presently trying to implement an optimization routine in R (Newton Rhapson). I have some R functions that calculate the gradient and hessian (pre requisite matrices) fairly efficiently. Now,