Full_Name: Paul Bailey
Version: 2.3.1
OS: OS X (10.4.6)
Submission from: (NULL) (128.135.133.123)
according to cat's help file, "'cat' converts numeric/complex vectors in the
same way as 'print' (and not in the same way as 'as.character' which is used by
Have you considered using the optim function with L-BFGS-B for bounded
optimization. Obviously, you will have to do changes of variables so that
everything is in terms of a rectangle (which is the type of bounding that it
accepts).
I believe it is based on "A LIMITED MEMORY ALGORITHM FOR BOUND CO
BFGS type papers tend to be long on the BFGS
explanations and short on the line search explanations. If someone pointed
me to a good line search paper that uses the Wolfe conditions...
Thanks,
Paul Bailey
--
View this message in context:
http://r.789695.n4.nabble.com/Accessing-options-of-L-BFGS-B
I'm working with a large object that I want to modify slightly in a function.
Pass-by-reference would make a lot of sense, but I don't know how to do it.
I've searched this archive and thought that I can do something like
f <- function(x) {
v1 <- list(a=x,b=3)
g(x)
v1
}
g <- function(x) {
if(test) {
return(list(fo=fo,data=dat))
}
cat("do agg 2\n")
agg2 <- aggregate(fo,data=dat,sum)
list(agg1,agg2)
}
agg2(FALSE)
ag <- agg2(TRUE)
ag$fo
aggregate(ag$fo,ag$data,sum)
agg3 <- function() {
ag <- agg2(TRUE)
ag$fo
aggregate
",item=make.link("probit"))
+ }
> fb()
Error in validObject(.Object) :
invalid class "b" object: invalid object for slot "item" in class "b": got
class "link-glm", should be or extend class "list"
Any advice?
Regards,
Paul Bailey
can point me to what
a minimal .Rd file has in it.
The file is already pretty minimal, so it's possible I've already gone to small
and that is the reason for the error.
Best,
Paul Bailey
__
R-devel@r-project.org mailing list
https://stat.ethz
tion/so that you can use
> traceback() etc.
>
Sorry, should have said this is in 2.14.0.
Using traceback() as you suggested solved this problem for me, thanks. this
made it pretty obvious:
2: checkUnique("\\description")
looks like I typed desc