Sorry if may be a trivial question, but I was wondering if there was a way to assign a value and print the value to the console succinctly.
x <- 1:5; x
Is how I would presently do this, but I was wondering if there was a way to do it in one statement. Thanks!
You can try:
or
though that won't work for things like
though for that specific example you can do: