set.APS.outdir {AnalysisPageServer} | R Documentation

## Set current AnalysisPageServer output directory

### Description

This directory is used by `embed.APS.dataset` to decide where to save the .svg and .json files.

### Usage

    set.APS.outdir(outdir)

### Arguments

`outdir` | New output directory

### Value

Nothing important

### Note

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.

### Author(s)

Brad Friedman

### See Also

`get.APS.outdir`, `reset.APS.outdir`

### Examples

    set.APS.outdir("/some/path")
    get.APS.outdir()
    reset.APS.outdir()

[Package AnalysisPageServer version 1.18.1 Index]