did you load the package with
library(Rdonlp2)
before running the example code?
On Fri, Jul 3, 2009 at 9:53 AM, Yoonus CA<yoonus786 at ifmr.ac.in>
wrote:> Dear Sir,
> I installed successfully using the install.packages("Rdonlp2",
repos="
> R-Forge.R-project.org"). I tried on the example which is
defined on
> the Rdonlp help file ,p <- c(-10,10)par.l <- c(0,0); par.u <-
> c(100,100)lin.u <- 1; lin.l <- 1A <- t(c(1,1))fn <-
function(x){
> x[1]^2+x[2]^2}ret <- donlp2(p, fn, par.lower=par.l, par.upper=par.u,
A=A,
> lin.u=lin.u, lin.l=lin.l, name="simple").
>
> I got error saying that ?" Error: could not find function
"donlp2" .
> Please help me to solve this issue
>
> Thanks
> Yoonus
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?