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

  • Learning Jupyter 5
  • Dan Toomey
  • 130字
  • 2021-08-13 15:42:12

Adding R packages to Jupyter

The standard installation for R under Jupyter has many packages that are commonly used in R programming. However, if you do need to add another package, a small number of steps need to be followed:

  1. Close down your Notebook (including the server).
  2. In the command-line window, type the following:
R install.packages("name of the R package you want to add") 
quit()
# answer Yes to save
  1. Restart your Notebook and the package should be available in your R script, for example, library (name of the R package you want to add).
Note that you may still have problems in R where the core version of R that you have installed is out of date, so you will need to upgrade it to use a particular library.
主站蜘蛛池模板: 石泉县| 增城市| 高安市| 吉木乃县| 菏泽市| 兰州市| 东光县| 东至县| 金川县| 金川县| 五指山市| 蓬安县| 杂多县| 杭锦后旗| 镇平县| 中方县| 邵阳县| 西华县| 中西区| 祁阳县| 白城市| 西盟| 五指山市| 福鼎市| 长垣县| 鄂托克前旗| 河东区| 呈贡县| 寿宁县| 宾川县| 诏安县| 宽城| 炎陵县| 教育| 安溪县| 望城县| 临高县| 景宁| 沭阳县| 嘉义市| 建宁县|