Hello,
I'm trying to perform a simple if else, but I get an error.
This is the code
if (.Platform$OS.type="unix"){
print(10)
}else{
print(30)
}
I always receive this: Error: unexpected '}' in "}"
I know it's an issue when the bracket is closing, but I can't figure It out.
Sorry if this seems so trivial.
Thanks for your time and interest.