Reputation: 365
In matlab, if you leave the ; out, you get the result printed in the command center. For r, is there a little trick other than pasting the left hand side variable again in the command line?
Upvotes: 0
Views: 53
Reputation: 8572
Enclose your calculation in a parenthesis
(a <- 1:3) [1] 1 2 3
Upvotes: 3