官术网_书友最值得收藏!

Packages

Most of the standard library in Julia (which can be found in /share/julia/base and /share/julia/stdlib, relative to where Julia was installed) is written in Julia itself. The rest of Julia's code ecosystem is contained in packages that are simply GitHub repositories. They are most often authored by external contributors, and already provide functionality for such diverse disciplines such as bioinformatics, chemistry, cosmology, finance, linguistics, machine learning, mathematics, statistics, and high-performance computing. A package listing can be found at http://pkg.julialang.org.

Julia's installation contains a built-in package manager, Pkg, for installing additional packages that are written in Julia. Version and dependency management is handled automatically by Pkg.

Pkg has a REPL mode, which can be started from within the Julia REPL by entering the ] key, which is often called the REPL's package mode. The Pkg mode is shown as a blue prompt, like this: (v1.0) pkg>.

From this mode, we can start all functions of Pkg. To return to the normal REPL mode, press Backspace or Ctrl C.

To initialize your environment, enter the init command, which creates an empty Project.toml file in your Julia installation folder.

主站蜘蛛池模板: 六盘水市| 微山县| 高唐县| 盐池县| 博爱县| 台南县| 通河县| 宜川县| 固镇县| 武山县| 临湘市| 张北县| 沁阳市| 南漳县| 贵阳市| 兴安盟| 玉山县| 获嘉县| 雷波县| 江北区| 正安县| 乌拉特中旗| 毕节市| 墨江| 北京市| 抚顺县| 策勒县| 青龙| 大洼县| 乌拉特后旗| 龙岩市| 射阳县| 突泉县| 镇远县| 凤阳县| 新泰市| 芒康县| 尼玛县| 桦南县| 西安市| 大田县|