Re: [R] Help If

2013-08-29 Thread MacQueen, Don
In addition to the other suggestions, try typing help('&') -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 8/29/13 1:16 AM, "Mª Teresa Martinez Soriano" wrote: >Hi to everyone and sorry for my question, I would like

Re: [R] Help If

2013-08-29 Thread Zsurzsa Laszlo
Hey if (( (1==1) && (2==2) ) || (3==3)) { print( "hello world") } - - László-András Zsurzsa,- - Msc. Infromatics, Technical University Munich, Germany - - Scientif

Re: [R] Help If

2013-08-29 Thread Rui Barradas
Hello, and is && ; or is || ; and print() needs the parenthesis around its argument if((condition1 && condition2) || (condition3 && condition4)) {print(uhvef)} Hope this helps, Rui Barradas Em 29-08-2013 09:16, Mª Teresa Martinez Soriano escreveu: Hi to everyone and sorry for my question,

[R] Help If

2013-08-29 Thread Mª Teresa Martinez Soriano
Hi to everyone and sorry for my question, I would like to use IF in an example like this: If((condition1 and condition2) Or (condition 3 and condition4)) {print uhvef} BUt I don´t know how to write it correctly, Thanks in advance [[alternative