Hi Rich, Sometimes an empty image is due to not closing the image file. If you forgot to put:
dev.off() 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. Jim On Thu, Sep 13, 2018 at 2:21 AM Rich Shepard <rshep...@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 > this: > pdf('../images/filename.pdf') > > Will R accept an absolute path to an output directory or none at all? > > TIA, > > Rich > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.