Skip to content
Prev 314801 / 398506 Next

try()-function does not catch error in BATCH-job if Matrix is loaded

This is due to long-staning issue in methods internals, which are
involved because loading Matrix shadows base::mean with Matrix::mean.
A work-around has been in place in R_devel for some time; a proper fix
may come at some point in the future. So if your real code doesn't
need the moficied mean from Matrix you can use base::mean; otherwise
you will have to use an R-devel snapshot.

Best,

luke
On Mon, 7 Jan 2013, Sarah Brockhaus wrote: