...
This article outlines details about installing R packages in IDAS. We also recommend using tools like conda and Python virtual environments in IDAS to manage your projects.
...
1. Double check and set your user library path using .libPaths()
in R. For more details, please see the section Setting (Changing) the User Library Path below.
2. After you have done step 1 above, you will need to reinstall any R packages that you need for the newer version of R that you are switching to. After you have set the user library path as in step 1 above, you can install packages with install.packages()
in R as usual.
...
The instructor also has their own user library. Please see the sections on R Library Paths in IDAS above.
Important: Sometimes a package that is installed in the global library might use dependencies from the instructor's personal library. In that case, the students might have trouble loading the package even though it looks like the package is already installed in the global library. Therefore, instructors please make sure that you install all packages in the global library so all dependencies are available there for students.
...