From: Michael Hannon <jm_hannon@yahoo.com>
To: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Evaluation of R code block depends on case of keywords???
Date: Fri, 19 Aug 2011 15:59:04 -0700 (PDT) [thread overview]
Message-ID: <1313794744.82205.YahooMailNeo@web161913.mail.bf1.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]
Greetings. I happened to notice that in evaluating R source-code blocks in an
Org-Mode file I got some cruft from my .Rprofile in the output on some
occasions but not on others.
To my surprise, it appears that the CASE of the keywords on the BEGIN_SRC line
affects the output. Please see the appended for a simple example.
I haven't been able to find this behavior documented any place, but of course
it's possible I just missed it.
Can somebody confirm/deny that Org-Mode is SUPPOSED to behave this way?
Thanks,
-- Mike
* Mike's test of UPPER CASE keywords
#+BEGIN_SRC R :RESULTS output :EXPORTS both
x <- rnorm(5)
#+END_SRC
#+results:
| -1.78820283900565 |
| -0.469227269149123 |
| -0.92353467915834 |
| -0.0831621941877021 |
| -1.5583681234565 |
* Mike's test of lower case keywords
#+BEGIN_SRC R :results output :exports both
x <- rnorm(5)
#+END_SRC
#+results:
:
:
: All ready to go...
:
: Fri Aug 19 15:46:15 2011
: Hasta la vista!
[-- Attachment #2: Type: text/html, Size: 1365 bytes --]
next reply other threads:[~2011-08-19 22:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 22:59 Michael Hannon [this message]
2011-08-19 23:36 ` Evaluation of R code block depends on case of keywords??? Thomas S. Dye
2011-08-20 6:32 ` Michael Hannon
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313794744.82205.YahooMailNeo@web161913.mail.bf1.yahoo.com \
--to=jm_hannon@yahoo.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.