Freelance nerd, writer, environment builder. Did Plasma Physics.

Data Environment

pkg"up; add PackageCompiler#sd-notomls Query Plots#sd-toml StatsPlots DataFrames CSV StatsBase GR RDatasets Tables StructArrays#master DataValues CategoricalArrays WeakRefStrings StatsModels Distributions OffsetArrays TableTraits ImageMagick"
using PackageCompiler
sysnew, sysold = PackageCompiler.compile_incremental(:Tables, :StructArrays, :GR, :CSV, :Plots, :Query, :DataFrames, :StatsPlots, install = true)
("/root/.julia/packages/PackageCompiler/UQ5UO/sysimg/sys.so", "/usr/local/julia/lib/julia/sys.so")
using Query, Plots, StatsPlots, DataFrames, CSV, StatsBase, GR, RDatasets, Tables, StructArrays, DataValues, CategoricalArrays, WeakRefStrings, StatsModels, Distributions, OffsetArrays, TableTraits
Plots.plot(rand(4)) # test plotting and maybe have it precompile/cache stuff
# Replace the system image
cp(sysnew, sysold, force = true)
@assert read(sysnew) == read(sysold)
using Query, Plots, StatsPlots, DataFrames, CSV, StatsBase, GR, RDatasets
using Tables, StructArrays, DataValues, CategoricalArrays, WeakRefStrings 
using StatsModels, Distributions, OffsetArrays, TableTraits

Plots.plot(rand(4))