[R] Save printed/plotted output to different directory
drj|m|emon @end|ng |rom gm@||@com
Thu Sep 13 02:29:37 CEST 2018
Sometimes an empty image is due to not closing the image file. If you
forgot to put:
after the plotting commands, or there was an error in the plotting
commands, the file may be left open. Try manually entering "dev.off()"
after you have run the code. If you don't get an error:
Error in dev.off() : cannot shut down device 1 (the null device)
it means that you had an open device.
On Thu, Sep 13, 2018 at 2:21 AM Rich Shepard <rshepard using appl-ecosys.com> wrote:
> I run analyses in one directory and keep images and textual output in
> other directories. My test involving a pdf output specifying an output
> directory relative to the cwd produced a blank image. The command was like
> Will R accept an absolute path to an output directory or none at all?
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help