Help? -- This* does* sound incredibly useful, but I'm getting a collision with the Compat and JSON modules:
[In REPL]: using NBInclude -- produces " INFO: Recompiling stale cache file /home/forrest/.julia/lib/v0.4/NBInclude.ji for module NBInclude. WARNING: Module Compat uuid did not match cache file This is likely because module Compat does not support precompilation but is imported by a module that does. WARNING: deserialization checks failed while attempting to load cache from /home/forrest/.julia/lib/v0.4/NBInclude.ji INFO: Precompiling module NBInclude... INFO: Recompiling stale cache file /home/forrest/.julia/lib/v0.4/NBInclude.ji for module NBInclude. WARNING: Module Compat uuid did not match cache file This is likely because module Compat does not support precompilation but is imported by a module that does. ERROR: __precompile__(true) but require failed to create a precompiled cache file in require at ./loading.jl:268 " [I get both 'Compat' & 'JSON' in these messages.] On Monday, October 12, 2015 at 6:29:19 PM UTC-7, Steven G. Johnson wrote: > > NBInclude is a new registered package ( > https://github.com/stevengj/NBInclude.jl). It is a drop-in replacement > for include(path) that allows you to execute IJulia notebook files rather > than .jl files. That is, just do: > > using NBInclude > nbinclude("mynotebook.ipynb") > > and it will be just as if you had called include("myfile.jl") on a Julia > file consisting of the code in that notebook. > > This allows you to develop code in a notebook, interspersed with formatted > comments, and re-use it easily, including within modules (where it works > with precompilation and relative paths, just like include). > > --SGJ >
