Reputation: 31
I am trying to install the package extrafont in R, but I get an error message about dependency "Rttf2pt1" is not available. I tried to find the package Rttf2pt1 in the CRAN repository, but no luck there. Does anyone know how to solve it?
Thanks!
Upvotes: 3
Views: 2574
Reputation: 31
I had the same problem and found a solution that worked for me:
I installed the package manually. To do so
install.packages('C:/Users/eddy/Downloads/Rttf2pt1_1.3.5.zip', repos = NULL)
and replace it with the path where you stored the downloaded file.Upvotes: 0
Reputation: 819
It might depend on your R version because apparently Rttf2pt1 is not built for the current version. But try
install.packages("http://cran.r-project.org/src/contrib/Archive/Rttf2pt1/Rttf2pt1_1.2.tar.gz")
or try it via the author's github using devtools
install.packages("devtools")
require(devtools)
install_github("Rttf2pt1", "wch")
Upvotes: 2