Re: [R] Barplots inside loop - several data errors, workaround needed

2012-05-10 Thread Steve Lianoglou
Hi, On Thu, May 10, 2012 at 8:35 PM, Lee wrote: > Looking at the documentation for try() I am not sure how it would be best > applied in this situation. My background is not extensively programming. > Would writing a function first be appropriate? > > Also, I'm not sure just a simple error catch

Re: [R] Barplots inside loop - several data errors, workaround needed

2012-05-10 Thread Lee
Looking at the documentation for try() I am not sure how it would be best applied in this situation. My background is not extensively programming. Would writing a function first be appropriate? Also, I'm not sure just a simple error catch would solve my first problem. I do, in fact, need it to plo

Re: [R] Barplots inside loop - several data errors, workaround needed

2012-05-09 Thread Jim Holtman
?try Sent from my iPad On May 8, 2012, at 22:03, Lee wrote: > I have a series of data which is managed through a loop. The loop creates > "pivot tables" of my data using the *cast* function in the > *reshape*library. For the most part, the data is all plotted > correctly. > Unfortunately, there

[R] Barplots inside loop - several data errors, workaround needed

2012-05-09 Thread Lee
I have a series of data which is managed through a loop. The loop creates "pivot tables" of my data using the *cast* function in the *reshape*library. For the most part, the data is all plotted correctly. Unfortunately, there are a couple of data sets which create errors and halt the loop. One of