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

Ross.Darnell at csiro.au Ross.Darnell at csiro.au
Sat Nov 19 22:35:14 CET 2011


Are you sure the second case works?

Ross Darnell 



On 3/11/11 12:21 PM, "Denis Chabot" <chabot.denis at gmail.com> wrote:

>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
>
>_______________________________________________
>R-SIG-Mac mailing list
>R-SIG-Mac at r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list