I agree saving R objects through saveRDS()
rather than save()
is good practice, as others have recommended. What does the term RDS stand for, though? Is it an abbreviation for "R data single" or "R data serialized"? (https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html)
Not that it matters a whole lot, but spelling out abbreviations can be useful when teaching.