I would like to import the package anytime when I run REPL. Inclusion ~/.juliarc.jlat the beginning:
if isinteractive()
using Humanize
end
But if I run juliaon a machine without this package, REPL does not start.
So, I tried the following:
if isinteractive()
try
using Humanize
catch
end
end
but due to the rules of definition Julia is now Humanizenot even available in the global namespace.
What is the best solution?
source
share