Lisp is a list processor, but we’re working with R, so we have access to more complex data-types. One of which is the vector or c() data-type for simple storage and vector arithmetic. We can create a vector with squared-brackets, e.g. [1 2 3] is translated to c(1, 2, 3). This translation is necessary for when we’re using functions that expect vector arguments:

Lists

Even though lisp is already a list and indeed represented in R using multi-dimensional lists. We use a special token to denote that data should stored in the list not processed. This special token is { }.