emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-R, problem with try/catch
@ 2015-04-22 22:03 Thomas S. Dye
  2015-04-23  2:23 ` Charles C. Berry
  0 siblings, 1 reply; 17+ messages in thread
From: Thomas S. Dye @ 2015-04-22 22:03 UTC (permalink / raw)
  To: Org-mode

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..))
|   rm(g)                                 
| #+end_src                               
`-----------------------------------------

After eaa3a761dae, I get an error and an empty output file.

I can work around this error by removing the line "rm(g)", however, I'd
like to keep the session "clean" and not have a bunch of variables
hanging around.

Is there a way to do this with ob-R.el in its current state?  Or, should
I adopt a different set of habits?

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

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

end of thread, other threads:[~2015-05-04 19:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22 22:03 ob-R, problem with try/catch Thomas S. Dye
2015-04-23  2:23 ` Charles C. Berry
2015-04-23  5:40   ` Rainer M Krug
2015-04-23 15:53     ` Thomas S. Dye
2015-04-23 16:20       ` Rainer M Krug
2015-04-23 16:42         ` Aaron Ecay
2015-04-23 16:13     ` Charles C. Berry
2015-04-23 16:29       ` Rainer M Krug
2015-04-23 17:11         ` Thomas S. Dye
2015-04-23 22:39           ` Aaron Ecay
2015-04-23 23:36             ` Thomas S. Dye
2015-04-26 12:49         ` Nicolas Goaziou
2015-04-26 17:11           ` Charles C. Berry
2015-04-26 17:28             ` Nicolas Goaziou
2015-05-04  8:35             ` Rainer M Krug
2015-05-04 19:03               ` Nicolas Goaziou
2015-04-23  6:35   ` Thomas S. Dye

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