This question already has an answer here:
- Unexpected 'else' in “else” error 2 answers
I'm having a simple R code which returns Error: unexpected 'else' in "else":
if(1==1)
{
x = 1
}
else
{
x = 2
}
Can someone please explain how thats possible?
Aucun commentaire:
Enregistrer un commentaire