From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: ob-R, problem with try/catch Date: Wed, 22 Apr 2015 20:35:37 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlAjv-0008TZ-UE for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 02:36:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlAjr-0006BS-04 for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 02:35:59 -0400 Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:39264) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YlAjq-0006Ay-OI for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 02:35:54 -0400 In-Reply-To: (Charles C. Berry's message of "Wed, 22 Apr 2015 19:23:34 -0700") 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: "Charles C. Berry" Cc: Org-mode Aloha Chuck, "Charles C. Berry" writes: > On Wed, 22 Apr 2015, Thomas S. Dye wrote: > >> Aloha all, >> >> Prior to eaa3a761dae, when working in a session, I was able to run this >> R source code block without problems: >> >> ,----------------------------------------- >> | #+header: :file r/adze_wt_log.pdf >> | #+header: :results output graphics >> | #+header: :width 4 :height 3 >> | #+begin_src R >> | g <- ggplot(x, aes(x = weight)) >> | g + geom_histogram(aes(y=..density..)) > > ## Try this: > > print( g + geom_histogram(aes(y=..density..)) ) # before rm(g). Perfect--a graph in the file and a clean session. Thanks! All the best, Tom -- Thomas S. Dye http://www.tsdye.com