​I am not able to understand the output of the following lines of code.

*if(TRUE)(print("A"))​*

Versus

*if(TRUE){print("A"))*

*In first case I get the ooutput as *
*>[1]  "A"*
*>[1]  "A"*

*Why does the first case print "A" twice *

*Why does it not happen with the statement **if(TRUE){print("A"))*

*Thanks *
*Ramnik*

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to