5

I have created a series of list objects in my global environment that I can search for by string. For example ls(pattern = '^data_')

How can I combine this group of named lists into 1 list?

0

1 Answer 1

3

With the output, we can use mget to return a list of the values from the string object/objects

lst1 <- mget(ls(pattern = '^data_')) 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.