0

I was trying to add library(qicharts) to my R script. However, when I tried to load it, it told me I needed ggrepel. I downloaded the ggrepel archive and tried to install it but I received a warning:

installation of package [filepath] had a non-zero exit status

Note the file path was the actual file path but I used a placeholder. The ggrepel archive I'm using is "ggrepel_0.6.5.tar.gz".

Neal
  • 199
  • 3
  • 16
  • `install.packages('ggrepel')` is not enough? – cirofdo Apr 26 '17 at 17:04
  • or the latest version: `install.packages("devtools") devtools::install_github("slowkow/ggrepel")` – cirofdo Apr 26 '17 at 17:04
  • @TheBiro `install.packages("ggrepel_0.6.5.tar.gz, repos = NULL, type = "source")` is not good enough. – Neal Apr 26 '17 at 17:33
  • @TheBiro also I'm not sure how to do `devtools::install_github("slowkow/ggrepel")` because my machine is not connected to the internet (obviously not this machine lol) – Neal Apr 26 '17 at 17:36
  • Hmm so the problem is that you're not able to download direct from internet. So you'll need to add the path to the file like this: `install.packages("C:\\FOLDER\\ggrepel_0.6.5.tar.gz", repos = NULL, type = "source")` – cirofdo Apr 26 '17 at 17:39
  • I have the full path in front of the package name already. I just left that out. – Neal Apr 26 '17 at 17:40

0 Answers0