When I try to R CMD check --as-cran the EdSurvey package for submission on
R-devel I get this error:
>
> * installing *source* package 'EdSurvey' ...
> ** using staged installation
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> Error: package or namespace load failed
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.ch/mailman/listinfo
, 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 description when I wanted details.
Thanks!
Best,
Paul Bailey
__
R
=list))
[1] b
fb - function() {
+ new(b,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
Ph.D. candidate
Department
- 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(ag$fo,ag$data,sum)
}
agg3()
# end R code
==
Paul Bailey
University of Maryland
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
, the 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) {