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

Richard M. Heiberger rmh @end|ng |rom temp|e@edu
Tue Dec 10 23:16:45 CET 2019


I would appreciate if you can check.  I am still on emacs 25.1.1 and
not interested in building a newer version.

Rich

On Tue, Dec 10, 2019 at 5:08 PM Alex Branham <alex.branham using gmail.com> wrote:
>
> 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



More information about the ESS-bugs mailing list