Re: [R] Looping and break

2015-03-02 Thread Rolf Turner
On 03/03/15 16:08, Jeff Newmiller wrote: Sigh. To be positive is to be wrong at the top of one's lungs. Next I will be told R has a goto statement. I am ***positive*** that it hasn't! :-) Well, 99.999% confident. Although I guess it's not inconceivable that some misguided nerd might constr

Re: [R] Looping and break

2015-03-02 Thread Jeff Newmiller
Sigh. To be positive is to be wrong at the top of one's lungs. Next I will be told R has a goto statement. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#.

Re: [R] Looping and break

2015-03-02 Thread Rolf Turner
On 03/03/15 15:04, Jeff Newmiller wrote: Your example is decidedly not expressed in R, though it looks like you tried. Can you provide the hand-computed result that you are trying to obtain? Note that the reason you cannot find anything about next or break in R is that they don't exist. Point

Re: [R] Looping and break

2015-03-02 Thread Jeff Newmiller
Your example is decidedly not expressed in R, though it looks like you tried. Can you provide the hand-computed result that you are trying to obtain? Note that the reason you cannot find anything about next or break in R is that they don't exist. There are generally alternative ways to accomplis

[R] Looping and break

2015-03-02 Thread Scott Colwell
Hello, I apologies for bringing up next and break in loops given that there is so much on the net about it, but I've tried numerous examples found using Google and just can't seem to get this to work. This is a simple version of what I am doing with matrices but it shows the issue. I need to have