mercredi 30 août 2017

R Error: unexpected 'else' in "else" [duplicate]

This question already has an answer here:

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