Month: October 2019

  • How to unlist a nested list in R

    How to unlist a nested list in R

    Here is a simple tutorial on how to unlist a nested list with the help of R. Problems may appear when nested lists are a different length for each record. For example, chat sessions and corresponding lists of conversations that differ in length.

  • How to combine files with R and add filename column

    How to combine files with R and add filename column

    Here is a simple way how to combine CSV or text files with R and, at the same time, add a column with filenames. Here is all the code with more detailed explanations below.

  • How to clear RStudio panes with code

    How to clear RStudio panes with code

    Here is how to clear the RStudio console, environment, and plot windows (panes) individually or at the same time by using code (a combination of functions).

  • dplyr error in select: unused argument

    dplyr error in select: unused argument

    An unused argument error might appear with any function (for example, dplyr), and the primal cause is a misunderstanding. If the function appears with the same name in multiple active libraries, then make sure which of them you are using. If you are not using from the library what you think you are using, then…