emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org babel problems with (org-babel-read "*R*")
@ 2013-04-09 14:35 Thomas Alexander Gerds
  2013-04-09 16:21 ` Charles Berry
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Alexander Gerds @ 2013-04-09 14:35 UTC (permalink / raw)
  To: emacs-orgmode


after upgrading to the latest bleeding edge version I have problems
executing org-babel R blocks where the session is named *R*. the error
is this:

ELISP> (org-babel-read "*R*")
*** Eval error ***  Symbol's value as variable is void: *R*

did I miss any conventions or is this a bug?

cheers
thomas


--
Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics
University of Copenhagen, Øster Farimagsgade 5, 1014 Copenhagen, Denmark
Office: CSS-15.2.07 (Gamle Kommunehospital)
tel: 35327914 (sec: 35327901) 

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

* Re: org babel problems with (org-babel-read "*R*")
  2013-04-09 14:35 org babel problems with (org-babel-read "*R*") Thomas Alexander Gerds
@ 2013-04-09 16:21 ` Charles Berry
  2013-04-09 16:36   ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Berry @ 2013-04-09 16:21 UTC (permalink / raw)
  To: emacs-orgmode

Thomas Alexander Gerds <tag <at> biostat.ku.dk> writes:

> 
> 
> after upgrading to the latest bleeding edge version I have problems
> executing org-babel R blocks where the session is named *R*. the error
> is this:
> 
> ELISP> (org-babel-read "*R*")
> *** Eval error ***  Symbol's value as variable is void: *R*
> 
> did I miss any conventions or is this a bug?
> 

This commit

http://orgmode.org/cgit.cgi/org-mode.git/commit
/?id=bde2348c9ecc87972d21a46a91d73ad3916650b8

broke all my :session *R* headers.

But :session "*R*" works.

C-h f org-babel-read should mention *XYZ* is treated as lisp.

Maybe (org-babel-read "\"*R*\"") works for you.

Or I suppose you could hack this with (setq *R* "*R*")

HTH,

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

* Re: org babel problems with (org-babel-read "*R*")
  2013-04-09 16:21 ` Charles Berry
@ 2013-04-09 16:36   ` Eric Schulte
  2013-04-10 17:07     ` Thomas Alexander Gerds
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2013-04-09 16:36 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

Charles Berry <ccberry@ucsd.edu> writes:

> Thomas Alexander Gerds <tag <at> biostat.ku.dk> writes:
>
>> 
>> 
>> after upgrading to the latest bleeding edge version I have problems
>> executing org-babel R blocks where the session is named *R*. the error
>> is this:
>> 
>> ELISP> (org-babel-read "*R*")
>> *** Eval error ***  Symbol's value as variable is void: *R*
>> 
>> did I miss any conventions or is this a bug?
>> 
>
> This commit
>
> http://orgmode.org/cgit.cgi/org-mode.git/commit
> /?id=bde2348c9ecc87972d21a46a91d73ad3916650b8
>
> broke all my :session *R* headers.
>
> But :session "*R*" works.
>
> C-h f org-babel-read should mention *XYZ* is treated as lisp.
>
> Maybe (org-babel-read "\"*R*\"") works for you.
>
> Or I suppose you could hack this with (setq *R* "*R*")
>
> HTH,
>
>

I just pushed up a fix.  Sorry for the bug.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

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

* Re: org babel problems with (org-babel-read "*R*")
  2013-04-09 16:36   ` Eric Schulte
@ 2013-04-10 17:07     ` Thomas Alexander Gerds
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Alexander Gerds @ 2013-04-10 17:07 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode, Charles Berry


works again. thanks very much for fixing this so quickly! 


Eric Schulte <schulte.eric@gmail.com> writes:

> Charles Berry <ccberry@ucsd.edu> writes:
>
>> Thomas Alexander Gerds <tag <at> biostat.ku.dk> writes:
>>
>>> 
>>> 
>>> after upgrading to the latest bleeding edge version I have problems
>>> executing org-babel R blocks where the session is named *R*. the
>>> error is this:
>>> 
>>> ELISP> (org-babel-read "*R*") *** Eval error *** Symbol's value as
>>> variable is void: *R*
>>> 
>>> did I miss any conventions or is this a bug?
>>> 
>> This commit
>> http://orgmode.org/cgit.cgi/org-mode.git/commit
>> /?id=bde2348c9ecc87972d21a46a91d73ad3916650b8
>> broke all my :session *R* headers.
>> But :session "*R*" works.
>> C-h f org-babel-read should mention *XYZ* is treated as lisp.
>> Maybe (org-babel-read "\"*R*\"") works for you.
>> Or I suppose you could hack this with (setq *R* "*R*")
>> HTH,
>>
>>
>
> I just pushed up a fix.  Sorry for the bug.
--
Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics
University of Copenhagen, Øster Farimagsgade 5, 1014 Copenhagen, Denmark
Office: CSS-15.2.07 (Gamle Kommunehospital)
tel: 35327914 (sec: 35327901) 

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

end of thread, other threads:[~2013-04-10 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-09 14:35 org babel problems with (org-babel-read "*R*") Thomas Alexander Gerds
2013-04-09 16:21 ` Charles Berry
2013-04-09 16:36   ` Eric Schulte
2013-04-10 17:07     ` Thomas Alexander Gerds

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