[ESS] ess-eval-buffer fails to produce a plot

Andreas Leha andreas.leha at med.uni-goettingen.de
Thu Jun 13 23:45:41 CEST 2013


Hi Vitalie,

Vitalie Spinu <spinuvit at gmail.com> writes:

> Works for me. I think it relates to the previous report of yours
> concerning the source function output.  Have you upgraded since then?
>
>     Vitalie
>
>
>  >> Andreas Leha <andreas.leha at med.uni-goettingen.de>
>  >> on Thu, 13 Jun 2013 23:08:39 +0200 wrote:
>
>  > Hi all,
>
>  > I have a strange issue with ess-eval-buffer and directlabels.  The
>  > example below works as expected (i.e. produces a plot) when I send the
>  > code line-by-line or region-by-region, but it does fail when I send the
>  > whole buffer via C-c C-b (ess-eval-buffer).
>
>  > This is really bad, as that also means that my orgmode src block fails
>  > to produce a result.
>
>
>  > library("ggplot2")
>  > library("directlabels")
>
>  > haha <- data.frame(x=1:10, y=1:10, c=rep(c("a", "b"),each=5))
>  > myplot <- ggplot(haha, aes(x=x, y=y, colour=c)) + geom_line()
>  > direct.label(myplot)
>
>
>  > Regards,
>  > Andreas
>
>  > PS: ess-version : 13.05-1 [<unknown>]
>

thanks for the quick response!

I have had upgraded (the source problem had been gone).  I was on commit
8c4b5b6510c89588d9d8c8dffff58c6d4d5f518d.

But now I have upgraded to 431be321100fbb10a89f29711a1dd345dec73212
just a minute ago.

Now everything works as expected.  I do not know whether the upgrade of
ess or the restart of emacs 'fixed' it.

Anyway, sorry for the noise.  And thanks again for the quick answer!

Andreas



More information about the ESS-help mailing list