Creates a tar.gz file with all of the R files needed to recreate the tables
and figures that appear in the paper. Should be considered experimental at
this stage. It presumes that tables are generated with something like the
Hmisc latex
function and included in the latex document with
input
commands. Likewise figures are assumed to be included with
includegraphics
and generated by R in pdf format. This
was originally developed to sort out the files for "Empirical Bayesball Remixed".
An optional side of effect of the function to create a tar.gz file with the gzipped
R files required for the paper.
Rxiv(fname, figures = "figures", tables = "tables", tar = FALSE)
a list with the following components
a character array with two columns: .tex files and .R files
a character array with two columns: .pdf files and .R files
a character vector with other R files required.
a character vector with cached Rda files
name of the latex file of the paper sans .tex suffix
name of the directory with the files for figures
name of the directory with the files for tables
logical flag, if TRUE generate a gzipped tar file of .R files
R. Koenker