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

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.

主站蜘蛛池模板: 怀安县| 阳信县| 万州区| 屯昌县| 新蔡县| 郸城县| 冷水江市| 沛县| 永昌县| 抚宁县| 云霄县| 安平县| 九台市| 永丰县| 彰化市| 综艺| 武宣县| 吉木乃县| 通辽市| 礼泉县| 西峡县| 定陶县| 油尖旺区| 东兰县| 安福县| 秀山| 宿松县| 中江县| 庆安县| 东至县| 富阳市| 韶关市| 滕州市| 滁州市| 沈丘县| 石景山区| 巢湖市| 民权县| 波密县| 都昌县| 彭水|