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

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.

主站蜘蛛池模板: 夏河县| 依兰县| 肇源县| 泾阳县| 大理市| 小金县| 张家界市| 石棉县| 广饶县| 搜索| 剑河县| 邹平县| 凉山| 鄄城县| 攀枝花市| 蛟河市| 新野县| 修文县| 扎兰屯市| 定西市| 晋州市| 修文县| 抚顺市| 岑溪市| 志丹县| 大厂| 绥阳县| 青阳县| 军事| 永和县| 常州市| 个旧市| 乌什县| 西青区| 唐山市| 彭水| 定西市| 德庆县| 怀化市| 鄱阳县| 威宁|