[ESS-bugs] "//" on the Macintosh

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Tue Dec 10 23:07:44 CET 2019


Emacs upstream did some work about this recentlyish I think. See if it's
fixed in Emacs 27 (you'll have to build from the git repo since it's not
released yet). If not, M-x report-emacs-bug.

If you can't build from source, let me know and I can test for you.

Alex



On Tue, Dec 10, 2019, 4:48 PM Richard M. Heiberger <rmh using temple.edu> wrote:

> > tempdir()
> [1] "/var/folders/vq/xl0j17pn29g52mgx7lqxl8d80000gn/T//RtmpB9dpQB"
> > tmp <- tempfile("ABCD", fileext=".pdf")
> > tmp
> [1]
> "/var/folders/vq/xl0j17pn29g52mgx7lqxl8d80000gn/T//RtmpB9dpQB/ABCD79804f1ca596.pdf"
> > pdf(tmp)
> > plot(1:10)
> > dev.off()
> quartz
>      2
>
> Note the "//" in the filepath tmp.
>
> The file is created as
>
>  "/var/folders/vq/xl0j17pn29g52mgx7lqxl8d80000gn/T/RtmpB9dpQB/ABCD79804200fde4pdf"
>
> When I look for it in dired, it can't be found as dired stops at the
> "//" and interprets it as
> /RtmpB9dpQB/ABCD79804f1ca596.pdf
>
> In order to look for it in dired, I need to
> > gsub("//","/",tmp)
> [1]
> "/var/folders/vq/xl0j17pn29g52mgx7lqxl8d80000gn/T/RtmpB9dpQB/ABCD79804f1ca596.pdf"
>
> Can this be fixed by ESS, or by emacs?
>
> Rich
>
> _______________________________________________
> ESS-bugs ESS-bugs using r-project.org
> https://stat.ethz.ch/mailman/listinfo/ess-bugs
>
> _______________________________________________
> ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core
>

	[[alternative HTML version deleted]]



More information about the ESS-bugs mailing list