set.APS.outdir {AnalysisPageServer} | R Documentation |
This directory is used by embed.APS.dataset
to decide
where to save the .svg and .json files.
set.APS.outdir(outdir)
outdir |
New output directory |
Nothing important
It seems like it would be a good idea to follow this call with an on.exit(reset.APS.outdir())
.
But on.exit
within a knitr chunk it will just first at the end of the chunk. If you are using
knitr then you should just call setup.APS.knitr()
at the top of your document then each document
will have its output directory correctly set and you don't really have to worry. If you want to be
really anal you could call reset.APS.outdir()
at the bottom of your knitr document.
Brad Friedman
get.APS.outdir
, reset.APS.outdir
set.APS.outdir("/some/path") get.APS.outdir() reset.APS.outdir()