Re: [Rd] setGeneric and file order in a package

2006-12-28 Thread Gregor Gorjanc
Ross Boylan biostat.ucsf.edu> writes: > Are there any assumptions I can make about the order in which > different files in the R package subdirectory will be evaluated? For > example, will it be alphabetical in the file names? Will case > distinctions be ignored? Take a look at collate field in

[Rd] setGeneric and file order in a package

2006-12-28 Thread Ross Boylan
Are there any assumptions I can make about the order in which different files in the R package subdirectory will be evaluated? For example, will it be alphabetical in the file names? Will case distinctions be ignored? I ask because I would like to use setGeneric, as in setGeneric("foo", function

Re: [Rd] Fwd: [R] axis and times() problem

2006-12-28 Thread Charles C. Berry
On Thu, 28 Dec 2006, Gabor Grothendieck wrote: > The axes do not intersect with this command. Is it a bug? > > plot(c(.51, .6), bty = "n", xaxs = "i", yaxs = "i") > > If I remove the bty = "n" then they do intersect. box() is making it look like the axes are different. Axis()/axis() is behavi

[Rd] calling optimize/fmin from C code

2006-12-28 Thread Tamas K Papp
Hi, To make a calculation (an innermost loop) that uses optimize faster, I think I should write things in C. Is it possible to call fmin, which is called by optimize, from C? It is not listed in Writing R extensions, but I found double Brent_fmin(double ax, double bx, double (*f)(double, void *

[Rd] Fwd: [R] axis and times() problem

2006-12-28 Thread Gabor Grothendieck
The axes do not intersect with this command. Is it a bug? plot(c(.51, .6), bty = "n", xaxs = "i", yaxs = "i") If I remove the bty = "n" then they do intersect. Also see: https://www.stat.math.ethz.ch/pipermail/r-help/2006-December/122734.html __