mara
September 25, 2019, 11:46am
2
Since you're on a Mac, you shouldn't need external requirements (see the igraph docs requirements section here ).
Did you by chance install R using homebrew? If so, take a look here
https://rstats.wtf/set-up-an-r-dev-environment.html#what-about-homebrew
Summary of problem:
Unfortunately, when R is installed in this way it is not compatible with the CRAN package binaries, which means you must build and install all packages from source.
Don't worry, they explain the fix there as well.
To isolate some variables here, does this work for you in R but not in RStudio? (see FAQ below for disambiguation)
Aside: goals for this thread I'm hoping this will help people disambiguate R from RStudio, and also help with getting questions in the right category. This is a bit of a mashup of the times I've tried to explain this in individual threads, so please feel free to add to this topic for further clarification/point out corrections, etc.
Before putting a code-related question in the #rstudio-ide category or using the rstudio tag, it's helpful to ask yourself:
Does this work in the regular R GUI, but not when you're in RStudio?
If you're using RStudio , you're using R — RStudio is just an IDE (Integrated Development Environment) in which you are using the R language. (On of my favourite fi…