emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: "Doyley, Marvin M." <mdoyley@ur.rochester.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Trouble using julia with org-babel
Date: Wed, 29 Oct 2014 22:53:25 -0400	[thread overview]
Message-ID: <CA+vqiLFG34Kg9wPWfKhJk7BzQz36e0=8D6d2FYLS_Ahj0O4u8g@mail.gmail.com> (raw)
In-Reply-To: <D4F5EF5A-7122-4F74-B76C-52B05FAC3B03@ur.rochester.edu>

On Wed, Oct 29, 2014 at 10:09 PM, Doyley, Marvin M.
<mdoyley@ur.rochester.edu> wrote:
> I am using release-0.3.0 what version are you using. I am also using ob-julia.el

I'm using julia version 0.3.1 with GNU Emacs 24.4.1 and Org-mode
version 8.2.10. I'm using the ob-julia.el distributed with
org-plus-contrib.

Best,
Ista

> Cheers,
> M
>
> Sent from my iPad
>
>> On Oct 29, 2014, at 9:43 PM, Ista Zahn <istazahn@gmail.com> wrote:
>>
>> On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M.
>> <mdoyley@ur.rochester.edu> wrote:
>>>
>>> Hi there,
>>>
>>> I have been play  with julia the last couple of weeks and have been having
>>> some issues when I try to use it in org-babel
>>>
>>> More specifically, It get the following error
>>>
>>> ERROR: unsupported or misplaced expression using
>>> in _start at ./client.jl:394
>>> in _start at /julia/usr/lib/julia/sys.dylib
>>>
>>>
>>> When I execute the following code block
>>>
>>> #+begin_src julia
>>> using Winston
>>> #+end_src
>>
>> I get the same thing, though both of these variations work for me:
>>
>> #+begin_src julia
>> using Winston
>> 1 + 1
>> #+end_src
>>
>> #+RESULTS:
>> : 2
>>
>> #+begin_src julia :results output
>>  using Winston
>> #+end_src
>>
>> Hope this helps,
>> Ista
>>>
>>> #+RESULTS:
>>>
>>> I should mention, that everything works perfectly in eshell or when I
>>> execute simple code blocks like
>>>
>>>
>>> #+begin_src julia
>>> linspace(0,10,5)
>>> #+end_src
>>>
>>> #+RESULTS:
>>> |   0 |
>>> | 2.5 |
>>> |   5 |
>>> | 7.5 |
>>> |  10 |
>>>
>>>
>>> Does Any body know how to resolve this issue.
>>>
>>> Cheers,
>>> M

  reply	other threads:[~2014-10-30  2:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 16:35 Trouble using julia with org-babel Doyley, Marvin M.
2014-10-30  1:43 ` Ista Zahn
2014-10-30  2:09   ` Doyley, Marvin M.
2014-10-30  2:53     ` Ista Zahn [this message]
2014-10-30 19:54       ` Doyley, Marvin M.

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='CA+vqiLFG34Kg9wPWfKhJk7BzQz36e0=8D6d2FYLS_Ahj0O4u8g@mail.gmail.com' \
    --to=istazahn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdoyley@ur.rochester.edu \
    /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).