Package installation on MAC

Hi! Welcome!

This line:

install.packages("FRAPO", dependencies = FALSE)

says to install FRAPO, but not any of the other packages it depends on. That only makes sense if you already have those other packages installed. Instead, it looks like at least one of them (Rglpk) is not installed, so installation of FRAPO fails.

What happens if you try either...

install.packages("FRAPO")

(leaves dependencies at its default setting, which installs the most critical dependencies but not optional suggested packages)

...Or

install.packages("FRAPO", dependencies = TRUE)

(installs all dependencies and suggested packages)

Note: This question doesn’t seem to have anything to do with the RStudio IDE (see RStudio vs R — what’s the difference?) so I’ve moved it to a more appropriate category.

2 Likes