search for: fasheng

Displaying 1 result from an estimated 1 matches for "fasheng".

2002 Nov 06
3
R bug? (if-else problem in main program)
Hi everybody, I've found a very interesting problem in R: the if-else statement doesn't work in a main program. Sounds crazy, but true. I tried this very easy example, and I got syntax error at the "else" line. Example: ------- a <- 1 if ( a == 1 ) print("yes") else print("no") -------- I tried on Windows and on Linux, but none of them works.