Re: [R] creating a dataframe with full_join and looping over a list of lists.

2019-03-25 Thread Matthew
This is fantastic !  It was exactly what I was looking for. It is part of a larger Shiny app, so difficult to provide a working example as part of the post, and after figuring out how your code works ( I am an R novice), I made a couple of small tweaks and it works great !  Thank you very much,

Re: [R] creating a dataframe with full_join and looping over a list of lists.

2019-03-21 Thread Jim Lemon
Hi Matthew, Remember, keep it on the list so that people know the status of the request. I couldn't get this to work with the "_source_info_" variable. It seems to be unreadable as a variable name. So, this _may_ be what you want. I don't know if it can be done with "merge" and I don't know the fun

Re: [R] creating a dataframe with full_join and looping over a list of lists

2019-03-21 Thread Bert Gunter
1. This is a plain text list. Do not post in HTML. 2. Read the posting guide. You will enhance your chnce of getting a useful reply if you do what it says, especially prividing a reproducible example that shows what you have, what you want, and the code you used, along with any error messages you

Re: [R] creating a dataframe with full_join and looping over a list of lists.

2019-03-21 Thread Jim Lemon
Hi Matthew, First thing, don't put: mydf3 <- data.frame(myenter) inside your loop, otherwise you will reset the value of mydf3 each time and end up with only "myenter" and the final list. Without some idea of the contents of comatgs, it is difficult to suggest a way to get what you want. Jim On

[R] creating a dataframe with full_join and looping over a list of lists.

2019-03-21 Thread Matthew
My apologies, my first e-mail formatted very poorly when sent, so I am trying again with something I hope will be less confusing. I have been trying create a dataframe by looping through a list of lists, and using dplyr's full_join so as to keep common elements on the same row. But, I have a c

[R] creating a dataframe with full_join and looping over a list of lists

2019-03-21 Thread Matthew
I have been trying create a dataframe by looping through a list of lists, and using dplyr's full_join so as to keep common elements on the same row. But, I have a couple of problems. 1) The lists have different numbers of elements. 2) In the final dataframe, I would like the column names to be