Thanks Mike.
Tangent: what's the right way to programmatically detect being in the Juno
environment? In the Vega plotting package, I have inline plotting working
in Jupyter Notebook, but in Juno I get an error because load all my
JavaScript using requirejs in Jupyter (but requirejs is not available in
Juno).
Juno console:
-
Invalid behavior: :lt.objs.langs.julia/commands
-
TypeError: require.config is not a function
at eval (eval at eval_scripts
(/Applications/Juno.app/Contents/Resources/app/plugins/Julia-LT/julia_compiled.js),
<anonymous>:3:15)
at eval (native)
at eval_scripts
(/Applications/Juno.app/Contents/Resources/app/plugins/Julia-LT/julia_compiled.js:105:63)
at Function.__BEH__commands
(/Applications/Juno.app/Contents/Resources/app/plugins/Julia-LT/julia_compiled.js:294:46)
at c
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:6196:14)
at a
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:6236:18)
at c
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:20443:76)
at a
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:20477:18)
at a
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:20488:34)
at b
(file:///Applications/Juno.app/Contents/Resources/app/core/node_modules/lighttable/bootstrap.js:20492:14)
Working Vega code for Jupyter Notebook:
https://github.com/johnmyleswhite/Vega.jl/blob/master/src/render.jl#L18-L68
On Friday, December 18, 2015 at 11:24:39 AM UTC-5, Mike Innes wrote:
>
> Hey All,
>
> Juno bundles including Julia v0.4 are now available on the Julia
> downloads page <http://julialang.org/downloads/>. If you're still using
> Juno with Julia v0.3 the upgrade is definitely recommended – among other
> things, features like precompilation make using packages like Gadfly much
> easier. Enjoy!
>
> Cheers,
> Mike
>