emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* R code block produces no output
@ 2019-12-17 10:58 Vikas Rawal
  2019-12-17 12:43 ` William Denton
  0 siblings, 1 reply; 4+ messages in thread
From: Vikas Rawal @ 2019-12-17 10:58 UTC (permalink / raw)
  To: org-mode mailing list

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-18  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-17 10:58 R code block produces no output Vikas Rawal
2019-12-17 12:43 ` William Denton
2019-12-17 14:11   ` Vikas Rawal
2019-12-18  1:08     ` Vikas Rawal

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).