From: Vikas Rawal <vikasrawal@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: R code block produces no output
Date: Tue, 17 Dec 2019 16:28:28 +0530 [thread overview]
Message-ID: <CALtzAB2H4S_7_0Y7VuUZgH7=SM7wYZ4Lg4KrmyPkdLZYjzEVGA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1296 bytes --]
next reply other threads:[~2019-12-17 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 10:58 Vikas Rawal [this message]
2019-12-17 12:43 ` R code block produces no output William Denton
2019-12-17 14:11 ` Vikas Rawal
2019-12-18 1:08 ` Vikas Rawal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALtzAB2H4S_7_0Y7VuUZgH7=SM7wYZ4Lg4KrmyPkdLZYjzEVGA@mail.gmail.com' \
--to=vikasrawal@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).