------------------------------
Message: 2 Date: Wed, 2 Nov 2011 22:21:42 -0400 From: Denis
Chabot<chabot.denis at gmail.com> To: r-sig-mac at r-project.org Subject:
[R-SIG-Mac] saving files using quartz engine
Message-ID:<30DBF0C5-722E-4D65-85A0-87292BA89FE5 at gmail.com>
Content-Type: text/plain; charset=us-ascii
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