Hi community,
Do anyone have a suggested instruction for doing so?
My attempts are listed as below. As there is no existent manual for installing package of Julia in Cocalc, I attempted to read an equivalent for R.
" The install command will not work unless you upgrade your project to have internet access."
With internet access (checked in my Cocalc project setting) I should be able to install package directly, but:
It doesn’t work. The I tried the " download the tarball of the R package to your own machine, and upload it to your project. Then, you can tell R to install the package directly from there as a local file."
But for Julia I get stuck in the second step.
However, your attempts try to change something there. You can specify to create your own “project” in your home directory, where you have read-write access. I.e. try to do this:
Beyond that, I don’t know how to deal with this. Maybe someone here has a good idea how to support global package installs and still provide a way to install packages in your home dir. Btw: the above JULIA_PROJECT variable is also set automatically when you run the julia 1.3 kernel in a jupyter notebook.
Thank you. I did as instructed, but the error still is using the former read-only file to install package). Is there any way to change the pathway/file for installing packages? There are some basic packages like Plots not included in the pre-installed package TAT.
I sometimes also have problems installing packages on our cluster (not CoCalc) even though my default environment is at my home folder. Not sure what is your problem exactly, but for me usually it works to install the packages in a project specific environment (which is anyway good practice).
Maybe try something like this in the REPL: