emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* na=\"nil\" in ob-R.elo
@ 2021-01-14 23:42 Brett Presnell
  2021-01-16  0:19 ` Berry, Charles via General discussions about Org-mode.
  0 siblings, 1 reply; 5+ messages in thread
From: Brett Presnell @ 2021-01-14 23:42 UTC (permalink / raw)
  To: emacs-orgmode

Probably a silly question, but in ob-R.el, what is the reason for
setting na=\"nil\" when defining org-babel-R-write-object-command?  Is
this an elisp compatibility thing?

Regardless, I generally (always?) want na=\"\" for this, so I am finding
all those "nil"s very annoying, and the only way that I see to defeat
them is to redefine org-babel-R-write-object-command.

If there is no reason for the current behavior (doubtful I know) and if
I am not missing an obvious work-around, then I would like to suggest
changing this behavior.  Otherwise, would it be feasible to add an
option for R code blocks (:nastring?) where one could specify the NA
replacement string?

What do you think?  It's easy to suggest I know and certainly beyond my
elisp coding skills at present, but I am supposing that someone more
fluent in elisp could do this safely without too much trouble.

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

end of thread, other threads:[~2021-02-06 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 23:42 na=\"nil\" in ob-R.elo Brett Presnell
2021-01-16  0:19 ` Berry, Charles via General discussions about Org-mode.
2021-01-16 13:35   ` Jeremie Juste
2021-01-17 21:48     ` Brett Presnell
2021-02-06 20:05   ` Jeremie Juste

Code repositories for project(s) associated with this inbox:


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