Try this:
 m[!apply(m < 0, 1, any),]

On Thu, Aug 6, 2009 at 9:57 AM, Inchallah Yarab <inchallahyarab@yahoo.fr>wrote:

> Hi ,
>
> I need to write a function to delete a row if the value of one element of
> the row is negatif!!!
> I have a big file of data and i will check every lines!!!
>
> Any ideas
> Thank you !!
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]


