Re: [R] Query about using optimizers in R without causing program to crash

2007-01-22 Thread Andrew Robinson
Hi Lalitha, Use try() or tryCatch() Cheers Andrew On Mon, Jan 22, 2007 at 12:43:28PM -0800, lalitha viswanath wrote: > Hi > I am a newbie to R and am using the lm function to > fit my data. > This optimization is to be performed for around 45000 > files not all of which lend themselves to

Re: [R] Query about using optimizers in R without causing program to crash

2007-01-22 Thread Thomas Lumley
This is answered in the FAQ list. -thomas On Mon, 22 Jan 2007, lalitha viswanath wrote: > Hi > I am a newbie to R and am using the lm function to > fit my data. > This optimization is to be performed for around 45000 > files not all of which lend themselves to > optimization. Some of t

[R] Query about using optimizers in R without causing program to crash

2007-01-22 Thread lalitha viswanath
Hi I am a newbie to R and am using the lm function to fit my data. This optimization is to be performed for around 45000 files not all of which lend themselves to optimization. Some of these will and do crash. However, How do I ensure that the program simply goes to the next file in line without