[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] BUG in :session
From: |
Eric Schulte |
Subject: |
Re: [O] [babel] BUG in :session |
Date: |
Wed, 21 Sep 2011 13:32:09 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Martyn Jago <address@hidden> writes:
> Hi Eric
>
> Eric Schulte <address@hidden> writes:
>
>> Hi Rainer,
>>
>> Thanks for finding this bug, I introduced it in one of my recent
>> changes. I've just pushed up a fix and a test case.
>>
>> Best -- Eric
>>
>
> Unfortunately this test introduces an external dependency for R (which I
> haven't currently got on my system so fails here). Not sure if that is
> avoidable - I have no problem installing it if not.
>
Yes, I think we're going to have to start putting some conditional
checks into org-test-run-all-tests so that only those code block tests
for which the required languages exist on the user's system are run. I
don't know the best way to handle this.
>
> I also noticed it is `providing 'test-ob-fortran' as opposed to
> `test-ob-R'.
Thanks, was moving too quickly this morning.
> The good news is it demonstrates my automated test server is working
> which is how I am on it so quick!
>
Indeed, it is great to have this safety net.
Thanks -- Eric
>
> Best, Martyn
>
>> Rainer M Krug <address@hidden> writes:
>>
>>> Hi
>>>
>>> Org-mode version 7.7 (release_7.7.311.g0c099)
>>>
>>> If execute (Ctrl-c) the code below
>>>
>>> * load data
>>> #+begin_src R :tangle no :export results :session R
>>> paste("Yep!")
>>> #+end_src
>>>
>>> I get an error:
>>>
>>> ##########
>>> executing R code block...
>>> org-babel-R-evaluate: Wrong number of arguments: #[(session body
>>> result-type result-params column-names-p row-names-p) "Æ=}
>>> ##########
>>> only much longer and lots of strange characters.
>>>
>>>
>>>
>>> * load data
>>> #+begin_src R :tangle no :export results
>>> paste("Yep!")
>>> #+end_src
>>>
>>> #+results:
>>> : Yep!
>>>
>>> works as expected
>>>
>>> So I assume there is a problem in the :session header argument.
>>>
>>> Cheers,
>>>
>>> Rainer
>>>
>>>
>>> --
>>>
>>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>>> Biology, UCT), Dipl. Phys. (Germany)
>>>
>>> Centre of Excellence for Invasion Biology
>>> Stellenbosch University
>>> South Africa
>>>
>>> Tel : +33 - (0)9 53 10 27 44
>>> Cell: +33 - (0)6 85 62 59 98
>>> Fax : +33 - (0)9 58 10 27 44
>>>
>>> Fax (D): +49 - (0)3 21 21 25 22 44
>>>
>>> email: address@hidden
>>>
>>> Skype: RMkrug
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- [O] [babel] BUG in :session, Rainer M Krug, 2011/09/21
- Re: [O] [babel] BUG in :session, Eric Schulte, 2011/09/21
- Re: [O] [babel] BUG in :session, Martyn Jago, 2011/09/21
- Re: [O] [babel] BUG in :session,
Eric Schulte <=
- Re: [O] [babel] BUG in :session, Sebastien Vauban, 2011/09/21
- Re: [O] [babel] BUG in :session, Martyn Jago, 2011/09/21
- Re: [O] [babel] BUG in :session, Eric Schulte, 2011/09/21
- Re: [O] [babel] BUG in :session, Martyn Jago, 2011/09/23
- Re: [O] [babel] BUG in :session, Eric Schulte, 2011/09/23
- Re: [O] [babel] BUG in :session, Martyn Jago, 2011/09/23
- Re: [O] [babel] BUG in :session, Sebastien Vauban, 2011/09/23
- Re: [O] [babel] BUG in :session, Eric Schulte, 2011/09/24
- Re: [O] [babel] BUG in :session, Martyn Jago, 2011/09/25
- Re: [O] [babel] BUG in :session, Sebastien Vauban, 2011/09/26