3 ms·
Have you tried the userimg.jl hack? It's _very_ hacky, but it will convince you that precompiling packages is viable in the short-term.
by johnmyleswhite 12y ago
Have you tried the userimg.jl hack? It's _very_ hacky, but it will convince you that precompiling packages is viable in the short-term.
- jjoonathan 12y agoIIRC I put ~30 minutes into trying to figure it out, hit a roadblock, and went back to using R here-documents (err, multi-line strings). Just now I put ~5 minutes into trying to figure out what the roadblock was but I can't find much info on the compilation process. I'd be very grateful for any pointers you have :)
- johnmyleswhite 12y agoIf you're compiling Julia from source, you should be able to do something like write a base/userimg.jl file that contains this kind of text: Base.require("Distributions.jl") Base.require("Optim.jl") Base.require("DataFrames.jl") Base.require("Gadfly.jl”) You'll need to create a new build after adding this userimg.jl file. Also be aware that changes to these packages will stop showing up when you type "using Gadfly" since you'll always access your precompiled version.