質問

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!

正しい解決策はありません

他のヒント

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")

I had the same problem and found a solution that worked for me:

I installed the package manually. To do so

  1. Download the package in a format compatible with your system on https://cran.r-project.org/web/packages/Rttf2pt1/index.html
  2. Run 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.
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top