Reputation: 4472
I know in shell one can do:
command1; command2
How about in R? Is there some syntax where I could combine two commands onto one line?
Upvotes: 42
Views: 44091
Reputation: 8671
try ";":
cat("12"); cat("13"); cat("\n")
Upvotes: 57