Skip to content
Back to formatted view

Raw Message

Message-ID: <CAEE5E08.AF83%ross.darnell@csiro.au>
Date: 2011-11-19T21:35:14Z
From: Ross.Darnell at csiro.au
Subject: saving files using quartz engine
In-Reply-To: <30DBF0C5-722E-4D65-85A0-87292BA89FE5@gmail.com>

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