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

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.

主站蜘蛛池模板: 湘潭市| 丰宁| 都匀市| 清原| 石首市| 沂水县| 乌什县| 衡东县| 云南省| 大化| 淮滨县| 屏边| 安丘市| 阿克陶县| 临邑县| 沾化县| 阳春市| 柯坪县| 芷江| 平谷区| 卢湾区| 宁国市| 尚志市| 宾阳县| 綦江县| 华亭县| 凤冈县| 越西县| 宜昌市| 日照市| 咸宁市| 洮南市| 赞皇县| 蒙自县| 开封市| 温泉县| 津市市| 图们市| 仪征市| 洞头县| 甘肃省|