[R] what does this syntax mean in R

Ramnik Bansal ramnik.bansal at gmail.com
Sun Apr 16 20:03:25 CEST 2017

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




*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 *

	[[alternative HTML version deleted]]

More information about the R-help mailing list