Mass variable declaration and assignment in R?

If you want to assign the same value to multiple variables at once, use this:

some <- thing <- and <- another <- thing <- vector('list', length(files))

Leave a Comment