In this blog post, our colleague Lukas gives you a high-level introduction to RDS files (vs. RData files) and serialization. The function checks whether there is already an RDS with the same name in the path, renames it if required, and provides it with a timestamp and a reference ARCHIVED_ON_xx. The function then saves the new RDS under the specified name.
In the last 23 days I presented one function each day from the helfRlein package we created here at STATWORX. I hope you found some of the functions useful and had some fun discovering new ways of doing things with R! Since today is Christmas, only one thing remains to say: To see all functions you can either check out …
This little helper adds functionality to the base R function
strsplit – hence the same name!
This little helper does the same thing as the "Find in files" search within RStudio.
This little helper returns indices of recurring patterns. It works with numbers as well as with characters.
This little helper replaces non-standard characters (such as the German umlaut "ä") with their standard equivalents (in this case "ae").
This little helper frees your memory from unused objects. Well, basically it just calls
gc() a few times.
With this little helper you can load functions directly from an URL (e.g. from GitHub).
This little helper is just a convenience function to set infinite values and NaNs to NA.
This little helper is our own STATWORX color palette.