[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 18:02:37 CET 2013
Hi
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.
More information about the ESS-bugs
mailing list