Df2Rdata.RdDf2Rdata writes a data.frame to a .Rdata file renaming the DFR corresponding to the DFNAME such that the DFR can be loaded for knitr. ATTENTION: If there exists a ResultDir string pointing to a Results directory in the global environment, DRF is saved there!
Df2Rdata(DFR, DFNAME, ROW.NAMES = T)
| DFR | as dataframe |
|---|---|
| DFNAME | is Filename (without the .Rdata !!) |
| ROW.NAMES | =TRUE is default |
nothing
if (FALSE) { test<-data.frame(a=rnorm(10),b=rep(1:2,5), c=rep(rnorm(10))) Df2Rdata(DFR=test, DFNAME="Example") }