[Rd] inconsistent use of optim's parscale in Hessian vs gradient

2023-02-11 Thread Perry de Valpine
Dear r-devel: I noticed that optim's finite-element derivative approximations operate on par/parscale for the gradient (as documented in help(optim)) but on par for the Hessian. (The same goes for optimHess, which calls the same Hessian code.) This seems odd, so I am wondering if it is intended.

[Rd] expression(pi) produces not-equal symbol in X11 plot

2010-02-19 Thread Perry de Valpine
On R 2.10.1 on OS X (10.6.2) using an X11() device, plot(1:10, 1:10, main = expression(pi)) makes a not-equal symbol instead of a pi symbol. Other Greek letters (including capital Pi) seem to work. On a quartz device the pi symbol is displayed correctly. I don't know if the issue is on the R si

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
are. On Thu, Jan 15, 2009 at 1:27 PM, Simon Urbanek wrote: On Jan 15, 2009, at 12:24 , Perry de Valpine wrote: I am looking at the 2.8.1 source code in R-2.8.1/src/library/grid/ inst/doc, where there is an index.html (I am not at daily syncing level and hope that is not an issue in this c

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
er was the premise of my earlier post. Please let me know if that is confused or still not specific enough. Thanks. Perry On Jan 15, 2009, at 7:10 AM, Gabor Grothendieck wrote: On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine wrote: Dear R-devel, I am putting together a package vignet

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
n Jan 15, 2009, at 7:10 AM, Gabor Grothendieck wrote: > On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine > wrote: >> Dear R-devel, >> >> I am putting together a package vignette for the first time (R 2.8.1, >> OS X) and had some bumps from section 1.4 ("Writing

[Rd] Documentation suggestions for vignettes

2009-01-14 Thread Perry de Valpine
iving an example of %\VignetteIndexEntry{description} etc. might be helpful. If these points are not mistaken and the appropriate person wants to contact me directly I would be happy to redraft this brief section. Thanks. Perry de Valpine University of California, Berkeley Department of Envi

[Rd] function can permanently modify calling function via substitute?

2008-09-23 Thread Perry de Valpine
XP showNAMED(SEXP obj) { Rprintf("%i\n", NAMED(obj)); return(R_NilValue); } Uncommenting the .Call lines in do.stuff.with.call (with the do.nothing line re-commented) reveals that on the first time do.stuff.with.call is called from try.me, raw.mycall[[2]] has NAMED == 1 both before an