R 2.11.1 version of integrate() restores
concordance with the Fortran routines and correctly diagnoses the
inability of the outer integral to achieve the requested accuracy.
(And, btw, the Q computed above is actually closer to pi/4 than you
will have been getting with the code that "worked well".)
J. R. M. Hosking
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On 2012-08-18 11:03, Martin Maechler wrote:
Today, I was looking for an elegant (and efficient) way
to get a named (atomic) vector by selecting one column of a data frame.
Of course, the vector names must be the rownames of the data frame.
Ok, here is the quiz, I know one quite "cute"/"slick" an
ps://svn.r-project.org/R/trunk/src/library/parallel/R/RngStream.R,
line 45). However, if the intent is to restore the old seed then
this assignment should be made in the global environment, e.g. via
assign(".Random.seed", oldseed, envir = .GlobalEnv)
J. R. M. Hosking
> sessi
Prof Brian Ripley wrote:
Have you looked at the current documentation on the svn server?
Yes, that is a lot clearer. Thank you.
J. R. M. Hosking
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Prof Brian Ripley wrote:
On Sun, 3 Aug 2008, J. R. M. Hosking wrote:
Prof Brian Ripley wrote:
What is true is that the line is set before the inline setting of mgp
is processed: it all depends on what 'supplied' means, and you
supplied two values.
This is changed in R-patched no
which one (or, at least, I) would expect to place all the tick labels
the same distance into the margin, does not in fact do so.
My interpretation is that axis() is taking mgp[2] rather than the
correct mgp[2]-mgp[3] as the relative position of the tick mark with
respect to the axis line.
J. R.
Axis line is plotted at margin line 1, tick mark labels at line -3.
Is this a bug?
J. R. M. Hosking
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 7.1
year 200
e)))
if (method!="L-BFGS-B" && is.null(dotargs$control$abstol))
dotargs$control <- c(dotargs$control,abstol=acc^2)
# Call the optimization function, optim()
opt <- do.call(optim,c(list(par=start[shape.pos]),fn=critfn,
method=method,dotargs))
J. R. M. Hosking
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel