Category: R Quick Tips
Are you wondering where is my current R script file located and how to determine the full path? Here is how to do that in RStudio or while running in batch mode.
Here is how to make an empty data frame in R only with column names. Choose between 4 different methods that you can use to achieve that, and decide which of those fits better for you.
Here is a simple method to convert R TRUE and FALSE values to 1 and 0, and vice versa.
Here is a list of my most used time-saving tips and tricks or just great looking features in RStudio.
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).