hi
 I used a two nested cycle by if and for by such code

for(ity in 1:4)
{
if (ity==1гй
{
print(ity)
}
}

when I run the code it failed and R tell me that
"error: unrespected '}' in "}""

and when I reduce a }

for(ity in 1:4)
{
if (ity==2гй
{
print(ity)
}

R will print 4 but not 2 as what I repect

Could anyone tell me what is the matter with R and how to modify it?

thank you .
-- 
TANG Jie

	[[alternative HTML version deleted]]

