Problem gone with new snapshot (2007-08-13, r42496). Thanks!
H.
Herve Pages wrote:
Hi,
I get a compilation error with last available R devel
snapshot (R-devel_2007-08-12.tar.gz, r42483):
CONFIGURE
[EMAIL PROTECTED]:~/R-2.6.broken
The MinGW people have finally released a couple of builds of gcc 4.2.1
(and finally moved the build of 3.4.5 to release status after 19 months as
'candidate').
We intend to use gcc 4.2.1 for the binary distribution of R 2.6.0, and
builds of R-devel are being made with it from now on. The
Oops -- I meant R version 2.5.1, not 1.5.1. My apologies.
--
Russell V. Lenth, Professor
Department of Statistics
Actuarial Science(319)335-0814FAX (319)335-3017
The University of Iowa [EMAIL PROTECTED]
Iowa City, IA 52242 USA
Hin-Tak Leung wrote:
Tobias Verbeke wrote:
snipped
Actually, I think Hin-Tak is right about the absolute path. Even when
the R code will call the executable that resides in that directory, R
will call it from any directory and that (current) directory will be
resolved (at least that is
The behaviour you quote is the documented behaviour in R 2.5.1.
Please do RTFM, especially ?install.packages:
'install.packages' can be used to install new packages/bundles. It
takes a vector of names and a destination library, downloads the
packages from the repositories and
Why not
hasNA - function(x) !is.na(match(NA, x))
-Ben
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Tue, 2007-08-14 at 07:48 -0400, Benjamin Tyner wrote:
Why not
hasNA - function(x) !is.na(match(NA, x))
-Ben
It does not save anything:
Vec1 - c(NA, rep(1, 1000))
Vec2 - c(rep(1, 1000), NA)
system.time(!is.na(match(NA, Vec1)))
user system elapsed
1.053 0.217 1.404
On Tue, 14 Aug 2007, Benjamin Tyner wrote:
Why not
hasNA - function(x) !is.na(match(NA, x))
It hashes the whole table (here x) and so is both slower and uses more
memory than is.na(x).
I am not clear what is meant by 'efficiency' here, or why it is needed (we
have not been told). But
S-PLUS has an anyMissing() function, for which the default is:
anyMissing.default -
function(x){
(length(which.na(x)) 0)
}
This is more efficient than any(is.na(x)) in the usual case that there
are few or no missing values. There are methods for vectors that drop
to C code, and methods
On Mon, Aug 13, 2007 at 05:49:51PM -0400, Ben Bolker wrote:
[snip]
an undefined condition), but it leads to a bug in stats4::mle --
a spurious error saying that a better fit
has been found during profiling if one tries to profile
a 1-parameter model that was originally fitted with L-BFGS-B.
Tobias Verbeke tobias.verbeke at businessdecision.com writes:
The resulting package now allows for using an embedded OpenBUGS
on GNU/Linux without relying on WINE. Thanks to all for their helpful
comments.
woo-hoo! this is great! Any chance that this will propagate
to the R2WinBUGS
Ben Bolker wrote:
Petr Savicky savicky at cs.cas.cz writes:
Could you also include a script, which reproduces the problem? Just
to see under which conditions the problem occurs and how it
looks like exactly.
Petr Savicky.
The original post has such a script, just under the
Hi Ben,
Tobias Verbeke tobias.verbeke at businessdecision.com writes:
The resulting package now allows for using an embedded OpenBUGS
on GNU/Linux without relying on WINE. Thanks to all for their helpful
comments.
woo-hoo! this is great! Any chance that this will propagate
to the
13 matches
Mail list logo