From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: R code block produces no output Date: Tue, 17 Dec 2019 16:28:28 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000012c87c0599e436b9" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35477) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihAYw-0006NC-6k for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 05:58:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihAYv-0003eU-8T for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 05:58:46 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:41955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihAYv-0003ba-0a for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 05:58:45 -0500 Received: by mail-lf1-x132.google.com with SMTP id m30so6635032lfp.8 for ; Tue, 17 Dec 2019 02:58:44 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode mailing list --00000000000012c87c0599e436b9 Content-Type: text/plain; charset="UTF-8" I have a strange problem and I wonder if there is a new bug. Would appreciate for any help in identifying the problem. A simple code block like the following does not create the graph. #+NAME: test #+BEGIN_SRC R :results output graphics :exports results :file temp.jpg :width 2400 :height 1200 :res 300 :session temp library(ggplot2) data.frame(date=c(1:10),ifpa=c(11:20))->t ggplot(t,aes(x=date,y=ifpa))->p p+geom_point() #+end_src When I compile this using C-c C-c, I get the following message: executing R code block (test)... Code block produced no output. The code produces the right graph when I do C-c ' to go into an ESS buffer and execute these commands. I am on following versions of Org and Emacs: Org mode version 9.3 (9.3-8-geab7c4-elpaplus @ /home/vikas/.emacs.d/elpa/org-plus-contrib-20191209/) GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) of 2019-08-30 Thanking you and with best wishes, Vikas --00000000000012c87c0599e436b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a strange problem and I wonder if there is a n= ew bug. Would appreciate for any help in identifying the problem.
=

A simple code block like the following does not create = the graph.

#+NAME: test
#+BEGIN_SRC R :results = output graphics :exports results :file temp.jpg :width 2400 :height 1200 = =C2=A0:res 300 :session temp
=C2=A0 =C2=A0library(ggplot2)
=C2=A0 =C2= =A0 data.frame(date=3Dc(1:10),ifpa=3Dc(11:20))->t
=C2=A0 =C2=A0 ggplo= t(t,aes(x=3Ddate,y=3Difpa))->p
=C2=A0 =C2=A0 p+geom_point()
#+end_= src

When I compile this using C-c C-c, I get the f= ollowing message:

executing R code block (test)...=
Code block produced no output.

= The code produces the right graph when I do C-c ' to go into an ESS buf= fer and execute these commands.

I am on follow= ing versions of Org and Emacs:

Org mode versio= n 9.3 (9.3-8-geab7c4-elpaplus @ /home/vikas/.emacs.d/elpa/org-plus-contrib-= 20191209/)
GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.= 24.10) of 2019-08-30


Thanking you a= nd with best wishes,

Vikas
--00000000000012c87c0599e436b9--