# Data Environment ```julia id=fb03f38c-5156-4355-953b-09628f4729e8 VERSION ``` ```julia id=24152cdf-26fb-4711-ba7d-2f06e678ac23 pkg"up; add PackageCompiler#sd-notomls Query Plots StatsPlots DataFrames CSV StatsBase GR RDatasets Tables StructArrays DataValues CategoricalArrays WeakRefStrings StatsModels Distributions OffsetArrays TableTraits ImageMagick IteratorInterfaceExtensions PooledArrays GeometryTypes " ``` ```julia id=ba1febe1-1e77-4eef-930c-75ec25983284 using PackageCompiler sysnew, sysold = PackageCompiler.compile_incremental(:StructArrays, :GR, :CSV, :Plots, :Query, :DataFrames, :StatsPlots, install = true) ``` ```julia id=8eab49bf-b920-4435-9230-64f72d6490c6 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 ``` ![result][nextjournal#output#8eab49bf-b920-4435-9230-64f72d6490c6#result] ```julia id=63f17dfc-83e2-470a-90fe-14a0c7a96ee6 # Replace the system image cp(sysnew, sysold, force = true) @assert read(sysnew) == read(sysold) ``` ```julia id=020a4901-6cdf-43c3-82f8-f8984e1eac43 using Query, Plots, StatsPlots, DataFrames, CSV, StatsBase, GR, RDatasets using Tables, StructArrays, DataValues, CategoricalArrays, WeakRefStrings using StatsModels, Distributions, OffsetArrays, TableTraits Plots.plot(rand(4)) ``` ![result][nextjournal#output#020a4901-6cdf-43c3-82f8-f8984e1eac43#result] [nextjournal#output#8eab49bf-b920-4435-9230-64f72d6490c6#result]: [nextjournal#output#020a4901-6cdf-43c3-82f8-f8984e1eac43#result]:
This notebook was exported from https://nextjournal.com/a/Ko463o1J9XEpZQwhTTK7A?change-id=CXf2wmyrog9PLAw1bP8nR7 ```edn nextjournal-metadata {:article {:settings nil, :nodes {"020a4901-6cdf-43c3-82f8-f8984e1eac43" {:compute-ref #uuid "2d2d267d-b01d-42b0-962e-9f84aa86a418", :exec-duration 1885, :id "020a4901-6cdf-43c3-82f8-f8984e1eac43", :kind "code", :output-log-lines {:stdout 0}, :runtime [:runtime "73979f25-e514-4c46-b654-e6f287ccb997"]}, "24152cdf-26fb-4711-ba7d-2f06e678ac23" {:compute-ref #uuid "0a02fccf-2d81-47d5-8d7c-3c3469467aff", :exec-duration 28102, :id "24152cdf-26fb-4711-ba7d-2f06e678ac23", :kind "code", :output-log-lines {:stdout 22}, :runtime [:runtime "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"], :stdout-collapsed? true}, "63f17dfc-83e2-470a-90fe-14a0c7a96ee6" {:compute-ref #uuid "74dfc35e-2cd8-4437-99fa-7c3353df0665", :exec-duration 1322, :id "63f17dfc-83e2-470a-90fe-14a0c7a96ee6", :kind "code", :output-log-lines {:stdout 0}, :runtime [:runtime "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"]}, "73979f25-e514-4c46-b654-e6f287ccb997" {:environment [:environment "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"], :id "73979f25-e514-4c46-b654-e6f287ccb997", :kind "runtime", :language "julia", :type :nextjournal}, "758ec5ab-8cc7-4e01-ba79-3f95ada429b0" {:environment [:environment {:article/nextjournal.id #uuid "5b460d39-8c57-43a6-8b13-e217642b0146", :change/nextjournal.id #uuid "5d5c0bb4-2b00-4700-817c-f66351a3684f", :node/id "39e3f06d-60bf-4003-ae1a-62e835085aef"}], :environment? true, :id "758ec5ab-8cc7-4e01-ba79-3f95ada429b0", :kind "runtime", :language "julia", :name "Julia 1.2 Datascience", :resources {:machine-type "n1-standard-4"}, :type :nextjournal, :docker/environment-image "docker.nextjournal.com/environment@sha256:51f3a991e2327a80db893439aed42e1fde854bc2d2d866381861eaf3843d19d2"}, "8eab49bf-b920-4435-9230-64f72d6490c6" {:compute-ref #uuid "61716f43-a143-4301-9f4d-a491afa158d0", :exec-duration 27544, :id "8eab49bf-b920-4435-9230-64f72d6490c6", :kind "code", :output-log-lines {:stdout 0}, :runtime [:runtime "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"]}, "ba1febe1-1e77-4eef-930c-75ec25983284" {:compute-ref #uuid "2c702f29-9c57-4a62-a0d9-977c24416839", :exec-duration 1434033, :id "ba1febe1-1e77-4eef-930c-75ec25983284", :kind "code", :output-log-lines {:stdout 1720}, :runtime [:runtime "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"], :stdout-collapsed? false}, "fb03f38c-5156-4355-953b-09628f4729e8" {:compute-ref #uuid "d6cf2eea-cf8c-4af1-9a0a-1627fc2e2c34", :exec-duration 317, :id "fb03f38c-5156-4355-953b-09628f4729e8", :kind "code", :output-log-lines {:stdout 0}, :runtime [:runtime "758ec5ab-8cc7-4e01-ba79-3f95ada429b0"]}}, :nextjournal/id #uuid "029fc4e8-3497-4f99-88b8-eaee4faf579d", :article/change {:nextjournal/id #uuid "5d5c4700-8a35-4924-a937-45572965a082"}}} ```