From mboxrd@z Thu Jan 1 00:00:00 1970 From: SabreWolfy Subject: Exporting output and graphics from R Date: Thu, 30 May 2013 12:07:06 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui1df-0003Ag-Vx for emacs-orgmode@gnu.org; Thu, 30 May 2013 08:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui1db-0004bA-Dy for emacs-orgmode@gnu.org; Thu, 30 May 2013 08:07:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:60581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui1db-0004b4-7G for emacs-orgmode@gnu.org; Thu, 30 May 2013 08:07:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ui1dZ-0005tb-Dv for emacs-orgmode@gnu.org; Thu, 30 May 2013 14:07:21 +0200 Received: from ss2.wits.ac.za ([146.141.1.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 14:07:21 +0200 Received: from sabrewolfy by ss2.wits.ac.za with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 14:07:21 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org When the following code is evaluated or exported, only the link to "testout.png" appears in the RESULTS section. --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC R :results output graphics :file testout.png :exports both plot(1:10, 1:10) x <- 1:10 library(ascii) options(asciiType = "org") ascii(x) #+END_SRC --8<---------------cut here---------------end--------------->8--- When this code is evaluated, the value of "x" appears in the RESULTS: --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC R :results output :exports both x <- 1:10 library(ascii) options(asciiType = "org") ascii(x) #+END_SRC --8<---------------cut here---------------end--------------->8--- How can I get the first example to output both graphics and ascii output? I'm using Org 7.9.2.