For arrays, matrices, vectors, lists, and expressions, in command line R, there are a number of functions that describe various attributes of an object. In RStudio, many attributes, such as the number of columns in a matrix or the length of a list, are given to the right of the object name under the Environment tab in the upper right window. Also, there are functions that manipulate objects to create new objects.
The functions ...