Re: [R] Error message when logical indexing vecor is all FALSE

2009-12-01 Thread jim holtman
?try On Tue, Dec 1, 2009 at 12:22 PM, Jannis wrote: > Dears, > > > is there any way to "switch off" or work around the error message that > pops up when I do something like: > > > A<-B['logical vector'] > > > and when 'logical vector' only consists of FALSE values? My problem is > that this messa

[R] Error message when logical indexing vecor is all FALSE

2009-12-01 Thread Jannis
Dears, is there any way to "switch off" or work around the error message that pops up when I do something like: A<-B['logical vector'] and when 'logical vector' only consists of FALSE values? My problem is that this message always kicks me out of my loops and always testing via an if clause