[R-SIG-Mac] saving files using quartz engine

Denis Chabot chabot.denis at gmail.com
Thu Nov 3 03:21:52 CET 2011


Hi,

is there a reason that the quartz device does not like the "~" in file names, whereas most functions handling files (including pdf() ) have no problem with it?

Thus 

pdf(file="/Users/dchabot/Documents/Programmes R/test.pdf", type="pdf", width=6, height=5) # works
pdf(file=~/Documents/Programmes R/test.pdf", type="pdf", width=6, height=5) # works

quartz(file="~/Documents/Programmes R/test.pdf", type="pdf", width=6, height=5) # does not work
quartz(file="/Users/dchabot/Documents/Programmes R/test.pdf", type="pdf", width=6, height=5) # works

Cheers,

Denis



More information about the R-SIG-Mac mailing list