Skip to content
Prev 334628 / 398506 Next

what is wrong with for and if cycle in R

I get this error below, there seems to be hidden character in your
input instead of a parenthesis:
+ {
+ if (ity==1?
Error: unexpected input in:
"{
if (ity==1?"
+ print(ity)
+ }
Error in print(ity) : object 'ity' not found
Error: unexpected '}' in "}"
hth, Ingmar
On Thu, Dec 19, 2013 at 10:07 AM, Jie Tang <totangjie at gmail.com> wrote: