It appears to be a difference between versions 2.* and 3.* in the way
that a newline ('enter') is handled at the browser prompt. Formerly, it
would continue execution of the function; now it kicks you into
debugging mode. To get the old behavior, you need to enter 'c' at the
browser prompt.
This is something peculiar about the environment on one particular linux
box, because it doesn't happen on other computers. Whenever I invoke
browser() inside a function, it automatically enters debugging mode,
with line-by-line execution of code:
> dum <- function() { browser(); x <- rnorm(1
Hi,
I'm running simulations that include a function that occasionally fails
because of an unpredictable singularity in a matrix that it tries to invert.
I'd like to have the function return 'NA' when that happens, so that the
simulations can continue. I've tried things like:
test <- function
The function 'regsubsets' appears to calculate a BIC value that is
different from that returned by the function 'BIC'. The latter is
explained in the documentation, but I can't find an expression for the
statistic returned by 'regsubsets'.
Incidentally, both of these differ from the BIC that
Hi,
I often work from home, running R on my office computer and displaying
interactive graphics on my home computer using X11. This was always
more sluggish than sitting at my office computer, obviously, but
recently the graphics transfer has become painfully slow -- so slow,
that I now dive
I'm trying to install R under Ubuntu 7.10 (gutsy; Linux
2.6.22-15-generic x86_64). Following the instructions at
http://cran.r-project.org/bin/linux/ubuntu/README, I installed r-base,
r-base-core, and r-base-dev without any problems. When I open R,
however, I get the message "Can't open /usr/li
6 matches
Mail list logo