saveDfRda {reposTools} | R Documentation |
This function is utilized to provide a uniform name of the dataframe object (reposDF) stored in the repdatadesc.rda file.
saveDfRda(reposDF, outFile = "repdatadesc.rda")
reposDF |
The repository data.frame |
outFile |
The name of the file to store it in |
By protocol, all repository data.frames should have the name 'reposDF' when stored in the repdatadesc file. As such, this function provides a wrapper to force this naming convention.
Also by convention, in a repository setting the filename is "repdatadesc.rda", so one should not deviate from teh defaults.
Jeff Gentry
z <- tempfile() data(sampleRepos) saveDfRda(reposDF,z) unlink(z)