From: Thomas Alexander Gerds <tagteam@sund.ku.dk>
To: emacs-orgmode@gnu.org
Subject: issue with babel R evaluate session vs external process
Date: Thu, 9 Feb 2012 13:54:15 +0100 [thread overview]
Message-ID: <grb6154nv09ngo.fsf@linuxifsv005.sund.root.ku.dk> (raw)
still a beginner, and maybe therefore, in my setup (release is: 7.8.03,
emacs 23.2.1) the following occurs
-------------org.snip-----------------------
* here it works: org-ctrl-c-ctrl-c and export
#+begin_src R :results output :exports results
foo=matrix(1:2)
foo
#+end_src
#+RESULTS:
: [,1]
: [1,] 1
: [2,] 2
* here it does not:
#+begin_src R :results output :exports results :session *R*
foo=matrix(3:8)
foo
#+end_src
the buffer *R* shows this:
> 'org_babel_R_eoe'
[1] "org_babel_R_eoe"
----------------org.snap------------------
some debugging revealed this:
ELISP> (org-babel-R-evaluate-session "*R*" "foo=matrix(1:2)\nfoo" 'output '("output" "replace") nil nil)
*** Eval error ***
ELISP> (org-babel-R-evaluate-external-process "foo=matrix(1:2)\nfoo" 'output '("output" "replace") nil nil)
" [,1]\n[1,] 1\n[2,] 2\n"
but strange-enough when I try to edebug org-babel-R-evaluate-session, I
get an error:
Symbol's value as variable is void: edebug-after
can someone explain this?
thanks!
tomy
--
sent from nil
next reply other threads:[~2012-02-09 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 12:54 Thomas Alexander Gerds [this message]
2012-02-15 14:33 ` issue with babel R evaluate session vs external process Eric Schulte
2012-03-12 20:17 ` Thomas Alexander Gerds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=grb6154nv09ngo.fsf@linuxifsv005.sund.root.ku.dk \
--to=tagteam@sund.ku.dk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).