From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: Trouble using julia with org-babel Date: Wed, 29 Oct 2014 16:35:43 +0000 Message-ID: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_0B377BAB18B04F129A84AD0836E4C171urrochesteredu_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjWDz-0005Lm-4n for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 12:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjWDr-0007Td-Ks for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 12:35:55 -0400 Received: from mail-bn1on0119.outbound.protection.outlook.com ([157.56.110.119]:39856 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjWDr-0007TM-Dt for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 12:35:47 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --_000_0B377BAB18B04F129A84AD0836E4C171urrochesteredu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 #+RESULTS: I should mention, that everything works perfectly in eshell or when I execu= te 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 --_000_0B377BAB18B04F129A84AD0836E4C171urrochesteredu_ Content-Type: text/html; charset="us-ascii" Content-ID: <2731D5B641647E4CA2B14F01D91932BB@namprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable
Hi there,

I have been play  with julia the last couple of weeks and have been ha= ving 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

#+RESULTS:

I should mention, that everything works perfectly in eshell or when I execu= te 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
--_000_0B377BAB18B04F129A84AD0836E4C171urrochesteredu_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Trouble using julia with org-babel Date: Wed, 29 Oct 2014 21:43:13 -0400 Message-ID: References: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjemR-0005JQ-Sm for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 21:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjemQ-0003nf-Gw for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 21:44:03 -0400 Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:46477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjem7-0003if-EM for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 21:44:02 -0400 Received: by mail-oi0-f51.google.com with SMTP id g201so3306435oib.10 for ; Wed, 29 Oct 2014 18:43:33 -0700 (PDT) In-Reply-To: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Doyley, Marvin M." Cc: "emacs-orgmode@gnu.org" On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: Re: Trouble using julia with org-babel Date: Thu, 30 Oct 2014 02:09:25 +0000 Message-ID: References: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu>, Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjfBB-000674-HD for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:09:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjfB5-0003Fh-J2 for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:09:37 -0400 Received: from mail-bn1bbn0103.outbound.protection.outlook.com ([157.56.111.103]:30544 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjfB5-0003F9-Cg for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:09:31 -0400 In-Reply-To: Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ista Zahn Cc: "emacs-orgmode@gnu.org" I am using release-0.3.0 what version are you using. I am also using ob-jul= ia.el Cheers, M Sent from my iPad > On Oct 29, 2014, at 9:43 PM, Ista Zahn wrote: >=20 > On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M. > wrote: >>=20 >> Hi there, >>=20 >> I have been play with julia the last couple of weeks and have been havi= ng >> some issues when I try to use it in org-babel >>=20 >> More specifically, It get the following error >>=20 >> ERROR: unsupported or misplaced expression using >> in _start at ./client.jl:394 >> in _start at /julia/usr/lib/julia/sys.dylib >>=20 >>=20 >> When I execute the following code block >>=20 >> #+begin_src julia >> using Winston >> #+end_src >=20 > I get the same thing, though both of these variations work for me: >=20 > #+begin_src julia > using Winston > 1 + 1 > #+end_src >=20 > #+RESULTS: > : 2 >=20 > #+begin_src julia :results output > using Winston > #+end_src >=20 > Hope this helps, > Ista >>=20 >> #+RESULTS: >>=20 >> I should mention, that everything works perfectly in eshell or when I >> execute simple code blocks like >>=20 >>=20 >> #+begin_src julia >> linspace(0,10,5) >> #+end_src >>=20 >> #+RESULTS: >> | 0 | >> | 2.5 | >> | 5 | >> | 7.5 | >> | 10 | >>=20 >>=20 >> Does Any body know how to resolve this issue. >>=20 >> Cheers, >> M From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Trouble using julia with org-babel Date: Wed, 29 Oct 2014 22:53:25 -0400 Message-ID: References: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjfs1-0001Tp-95 for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjfrw-0001PZ-CB for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:53:53 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:52779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjfrw-0001PR-7L for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 22:53:48 -0400 Received: by mail-ob0-f171.google.com with SMTP id wp18so3477033obc.2 for ; Wed, 29 Oct 2014 19:53:47 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Doyley, Marvin M." Cc: "emacs-orgmode@gnu.org" On Wed, Oct 29, 2014 at 10:09 PM, Doyley, Marvin M. 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 wrote: >> >> On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M. >> 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: Re: Trouble using julia with org-babel Date: Thu, 30 Oct 2014 19:54:58 +0000 Message-ID: <6B9B832E-1F06-4014-A302-555080B8FDAC@ur.rochester.edu> References: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE8A-0006JB-Tk for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 11:30:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjvoZ-0005eO-Ph for emacs-orgmode@gnu.org; Thu, 30 Oct 2014 15:55:29 -0400 Received: from mail-bn1on0136.outbound.protection.outlook.com ([157.56.110.136]:47232 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjvoZ-0005eG-HE for emacs-orgmode@gnu.org; Thu, 30 Oct 2014 15:55:23 -0400 In-Reply-To: Content-Language: en-US Content-ID: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ista Zahn Cc: "emacs-orgmode@gnu.org" Hi Ista, It is now working for Winston, but I am having problems with PyPlot is the = case for you ? thanks M PS this is the error that I get when trying to load PyPlot ERROR: could not load module python: dlopen(python.dylib, 9): image not fou= nd in pyinitialize at /Users/doyley/.julia/v0.3/PyCall/src/PyCall.jl:456 in pyimport at /Users/doyley/.julia/v0.3/PyCall/src/PyCall.jl:105 in include at ./boot.jl:245 in include_from_node1 at ./loading.jl:128 in reload_path at loading.jl:152 in _require at loading.jl:67 in require at loading.jl:51 in _start at ./client.jl:394 in _start at /julia/usr/lib/julia/sys.dylib while loading /Users/doyley/.julia/v0.3/PyPlot/src/PyPlot.jl, in expression= starting on line 32 On Oct 29, 2014, at 10:53 PM, Ista Zahn wrote: > On Wed, Oct 29, 2014 at 10:09 PM, Doyley, Marvin M. > wrote: >> I am using release-0.3.0 what version are you using. I am also using ob-= julia.el >=20 > 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. >=20 > Best, > Ista >=20 >> Cheers, >> M >>=20 >> Sent from my iPad >>=20 >>> On Oct 29, 2014, at 9:43 PM, Ista Zahn wrote: >>>=20 >>> On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M. >>> wrote: >>>>=20 >>>> Hi there, >>>>=20 >>>> I have been play with julia the last couple of weeks and have been ha= ving >>>> some issues when I try to use it in org-babel >>>>=20 >>>> More specifically, It get the following error >>>>=20 >>>> ERROR: unsupported or misplaced expression using >>>> in _start at ./client.jl:394 >>>> in _start at /julia/usr/lib/julia/sys.dylib >>>>=20 >>>>=20 >>>> When I execute the following code block >>>>=20 >>>> #+begin_src julia >>>> using Winston >>>> #+end_src >>>=20 >>> I get the same thing, though both of these variations work for me: >>>=20 >>> #+begin_src julia >>> using Winston >>> 1 + 1 >>> #+end_src >>>=20 >>> #+RESULTS: >>> : 2 >>>=20 >>> #+begin_src julia :results output >>> using Winston >>> #+end_src >>>=20 >>> Hope this helps, >>> Ista >>>>=20 >>>> #+RESULTS: >>>>=20 >>>> I should mention, that everything works perfectly in eshell or when I >>>> execute simple code blocks like >>>>=20 >>>>=20 >>>> #+begin_src julia >>>> linspace(0,10,5) >>>> #+end_src >>>>=20 >>>> #+RESULTS: >>>> | 0 | >>>> | 2.5 | >>>> | 5 | >>>> | 7.5 | >>>> | 10 | >>>>=20 >>>>=20 >>>> Does Any body know how to resolve this issue. >>>>=20 >>>> Cheers, >>>> M