Re: [R] try()-function does not catch error in BATCH-job if Matrix is loaded

2013-01-08 Thread luke-tierney
The work-around was actually put in plae prior to the release of R 2.15.2, so updating your R to the current released version will resolve this. Best, luke On Mon, 7 Jan 2013, luke-tier...@uiowa.edu wrote: This is due to long-staning issue in methods internals, which are involved because load

Re: [R] try()-function does not catch error in BATCH-job if Matrix is loaded

2013-01-07 Thread luke-tierney
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 f

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

2013-01-07 Thread Sarah Brockhaus
Hello, In my simulation I use the try()-function to catch possible errors when fitting models. I run the simulationon a Linux-server using the command " R CMD BATCH nameOfFile.R &". When executing the code as batch-job I get the problem that the execution is halted without giving an error me