From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: [babel] Emitting both text & graphics output Date: Tue, 22 Mar 2011 16:28:38 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41416 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2B0Y-0000Um-AW for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 19:29:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2B0X-0004gy-3U for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 19:29:02 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:33174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2B0W-0004gp-Ur for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 19:29:01 -0400 Received: by bwz17 with SMTP id 17so7229639bwz.0 for ; Tue, 22 Mar 2011 16:28:59 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken.Williams@thomsonreuters.com Cc: emacs-orgmode@gnu.org On Tue, Mar 22, 2011 at 1:02 PM, wrote: > ------------------------------ > #+begin_src R :file tp.png :exports both :results output graphics > dat <- =A0matrix(runif(12), 6, 2) > print(dat) > plot(dat) > #+end_src > ------------------------------ > > > > I can't seem to get the print() output to display, either by exporting to > HTML or by simple evaluation of the code block. Exporting to HTML includes a plot for me. Are you sure you activated R prop= erly? This is my settings for babel, https://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el#L2= 82 --=20 Suvayu Open source is the future. It sets us free.