Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that installation of a Python/R/Julia package is a one-time process. You will not have to re-install it once you have installed it.

...

  1. Create a new notebook for R by clicking the New drop-down menu at the top right corner and then choosing R. Alternatively, you can open any of your existing notebooks for R.
  2. Write the following code in a new cell of the notebook and run it:

    Code Block
    install.packages(c("PACKAGE_NAME_1", "PACKAGE_NAME_2", ...), repos="http://cran.r-project.org")


  3. Check if the packages have been successfully installed.

...

  1. Create a new notebook for Julia by clicking the New drop-down menu at the top right corner and then choosing Julia. Alternatively, you can open any of your existing notebooks for Julia.
  2. Write the following code in a new cell of the notebook and run it:

    Code Block
    using Pkg
    Pkg.add.(["PACKAGE_NAME_1", "PACKAGE_NAME_2", ...])
    Note that installation of a package is a one-time process. You will not have to re-install it once you have installed it. 


  3. Check if the packages have been successfully installed.

...