cat and ess (second questions)

Richard M. Heiberger rmh at temple.edu
Wed Feb 11 15:11:08 CET 2004


Instead of

for(i in 1:10){
cat(i);}
cat("end","\n")


try wrapping your statements inside braces.  That way R will
see only a single statement---the braced expression---and
the prompt will be generated.

{
for(i in 1:10){
cat(i);}
cat("end","\n")
}




More information about the ESS-help mailing list