Problem with RMD to PDF

The knit function could work in my r studio before. But right now, when I try to knit my Rmd file, the following error message is shown:

Error in inDL(x, as.logical(local), as.logical(now), ...) :
ICU init failed: U_FILE_ACCESS_ERROR
Calls: ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load -> inDL

I tried to re-install knitr package, but still doesn't work. Could anyone help with me?

When googling ICU init failed: U_FILE_ACCESS_ERROR I found some hits.
In this stackoverflow entry it is suggested to reinstall stringi.

Just try that. If that does not help give some more information about your situation:

  • type sessionInfo() after trying to knit
  • The 4.0.0 version of R requires new install of packages. Did you do that or did you just copy the packages? See this RStudio Community thread .
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.