I am using R through Terra (essentially Jupyter notebook), R 4.0.3. I have tried to install igraph
with the recommended code install.packages("igraph")
, but keep receiving the non-zero exit error. I ultimately need igraph for a separate package that won’t work without igraph. Any suggestions for troubleshooting would be greatly appreciated.
install.packages("igraph")
Installing package into ‘/home/jupyter-user/notebooks/packages’
(as ‘lib’ is unspecified)
Warning message in install.packages("igraph"):
“installation of package ‘igraph’ had non-zero exit status”
I have also tried uninstalling and reinstalling igraph. The error says that igraph is not located in packages, but the package is visible when I navigate to /packages/
remove.packages("igraph")
Removing package from ‘/home/jupyter-user/notebooks/packages’
(as ‘lib’ is unspecified)
Error in find.package(pkgs, lib): there is no package called ‘igraph’
Traceback:
1. remove.packages("igraph")
2. find.package(pkgs, lib)