Tutorial by Examples

dput() and dget() The easiest way to share a (preferable small) data frame is to use a basic function dput(). It will export an R object in a plain text form. Note: Before making the example data below, make sure you're in an empty folder you can write to. Run getwd() and read ?setwd if you need t...
Package reproducibility is a very common issue in reproducing some R code. When various packages get updated, some interconnections between them may break. The ideal solution for the problem is to reproduce the image of the R code writer's machine on your computer at the date when the code was writt...

Page 1 of 1