Hi Joshua and Peter,

Thank you so much for your help. Yes, it's definitely my mistake in mixing R and c++ function calls...

I think I can fix the problems now.

Thank you once again,
Wenchao

On 3/24/2018 7:31 PM, peter dalgaard wrote:


On 25 Mar 2018, at 00:42 , Wenchao Ma <wenchao2...@gmail.com> wrote:

    arma::vec Pj = Calc_Pj(par = par, designMj = designMj, linkfunc = linkfunc, 
boundary = boundary, eps = eps);

I was never any good at C++, but that syntax looks like R code. Does C++ allow tag=value 
argument specification? Aren't all the subexpressions of type "par = par" just 
assignments??


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to