[ESS-bugs] ess-mode 13.09 [svn: 5778 (2013-09-27)]; must start graphics on mac explicitly

Sam Steingold sds at gnu.org
Thu Nov 7 22:04:30 CET 2013


> * Martin Maechler <znrpuyre at fgng.zngu.rgum.pu> [2013-11-07 19:12:47 +0100]:
>
> Well, this looks like a grave problem.

you bet!

> Unfortunately your version of ESS is not current,

this is whatever came with emacs
http://vgoulet.act.ulaval.ca/en/emacs/mac

> ... and this is important as the current version is
> basically release candidate for  ESS 13.09-1 sometime next week.

okay, I installed from git

> For  M-x ess-version, I get        ess-version: 13.09-1 [svn: 5864
> (2013-11-07)]

ess-version
"13.09-1"
ess-version: 13.09-1 [git: f1a5f2ea1ab8ce35fb6fb9394b82340bf2f38c6c] (loaded from /Users/sds/src/sitelisp/ESS/)

> It could well be that the problem persists after you upgrade, but in
> that case we would ask other Mac users (on ESS-help) to try
> reproducing your problem.

I just reproduced it again.
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"

emacs-version "24.3.1"
window-system ns
system-type darwin

OS X 10.9 (13A603)


> On Thu, Nov 7, 2013 at 6:02 PM, Sam Steingold <sds at gnu.org> wrote:
>
>> When I run R from the command line, `plot(1:10,1:10)` works just fine.
>> Under ESS any plot command results in R exiting:
>>
>> --8<---------------cut here---------------start------------->8---
>> > > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient',
>> show.error.locations=TRUE)
>> > plot(1:10,1:10)
>>
>> Process R finished at Thu Nov  7 11:47:45 2013
>> --8<---------------cut here---------------end--------------->8---
>>
>> However, if I explicitly call quartz to start the graphics, it works:
>>
>> --8<---------------cut here---------------start------------->8---
>> > > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient',
>> show.error.locations=TRUE)
>> > quartz()
>> > plot(1:10,1:10)
>> > q()
>>
>> Process R finished at Thu Nov  7 11:56:53 2013
>> --8<---------------cut here---------------end--------------->8---
>>
>> Since quartz() function creates a new window, adding it to
>> inferior-S-language-start (even if it were easy!) is not really an
>> option.
>>
>> However, since the command line R works just fine, I suspect that this
>> is a bug in the way ESS invokes R.
>> (inferior-R-args is "--no-save")
>>
>>
>> Emacs  : GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
>>  of 2013-03-13 on bob.porkrind.org
>> Package: ess-mode 13.09 [svn: 5778 (2013-09-27)]
>>
>> current state:
>> ==============
>> (setq
>>  ess-language nil
>>  ess-dialect nil
>>  ess-ask-for-ess-directory nil
>>  ess-ask-about-transfile nil
>>  ess-directory nil
>>  ess-keep-dump-files "always"
>>  ess-source-directory "/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/"
>>  ess-use-ido t
>>  ess-use-eldoc t
>>  ess-use-tracebug t
>>  ess-use-auto-complete t
>>  ess-eval-visibly-p 'nowait
>>  ess-can-eval-in-background nil
>>  ess-local-process-name nil
>>  )
>> --
>> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
>> http://www.childpsy.net/ http://americancensorship.org
>> http://iris.org.il http://truepeace.org http://think-israel.org
>> A slave dreams not of Freedom, but of owning his own slaves.
>>
>> _______________________________________________
>> ESS-bugs ESS-bugs at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/ess-bugs
>>
>> _______________________________________________
>> ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core
>>
>>

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://mideasttruth.com http://jihadwatch.org
http://ffii.org http://pmw.org.il http://dhimmi.com
The Politically Correct term for Censorship is Political Correctness.



More information about the ESS-bugs mailing list