In MATLAB, it's possible for a function to return more than one output, as in the following example:
[x y] = size(someMatrix);
Is something like this possible in R? All functions seem to return, at most, one argument. For example, it would be great to declare the number of rows and columns of a data frame with a single command, as in the following code:
[x y] <- dim(some.data.frame)
I've looked, but I can't find an answer to this question.