Re: [R] Error using the Rdonlp2‏ Package

2009-07-05 Thread Ryuichi Tamura
Hi, Thank you for using Rdonlp2. 2009/7/4 Lars Bishop : > Error in tryCatchList(expr, classes, parentenv, handlers) : >  SET_VECTOR_ELT() can only be applied to a 'list', not a 'character' I guess you are using an older version of Rdonlp2 that is incompatible to R-2.9.0. I have fixed the "SET_V

Re: [R] Error using the Rdonlp2‏ Package

2009-07-03 Thread Ravi Varadhan
Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu - Original Message - From: Lars Bishop Date: Friday, July 3, 2009 6:49 pm Subject: [R] Error using the Rdonlp2‏ Package To: r-help@r-project.org > Dear experts, > > I'm

[R] Error using the Rdonlp2‏ Package

2009-07-03 Thread Lars Bishop
Dear experts, I'm attempting to solve a constrained optimization problem using the Rdonlp2 package. I created a Lagrange function (L=f(x)-lambda(g(x)-c)), where x is a vector of 16 parameters. This is what I'm using as objective function in the code below. In addition, I set bounds on these param