knitr broken

411 views
Skip to first unread message

ken.kn...@inserm.fr

unread,
Oct 30, 2015, 4:40:07 AM10/30/15
to knitr
I think that I broke knitr somehow on one of my laptops (because it still works on the other one).  For any rmarkdown document that I try to compile either using Rstudio or the Mac GUI, I get the following error message:

processing file: ExpML.Rmd
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  ICU init failed: U_FILE_ACCESS_ERROR
Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

I tried reinstalling R, knitr and several of its dependencies.  I note that I can't compile the latest version of knitr on my Mac either currently. So the currently installed version is 1.10.5.  I get the error message for every file that I have tried, including old ones that did work so that is why I don't have a minimal example.  I don't know what I did or how to fix it.  Any suggestions as to where to look next would be much appreciated.  Thank you.

Here is my sessionInfo() from an Rstudio session.

sessionInfo()
R version 3.2.2 Patched (2015-10-27 r69581)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.9.5 (Mavericks)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] htmltools_0.2.6 tools_3.2.2     yaml_2.1.13     rmarkdown_0.7   digest_0.6.8   

Thanks, in advance.

best,

Ken

Yihui Xie

unread,
Oct 30, 2015, 10:23:59 AM10/30/15
to Ken Knoblauch, knitr
It appears you will need to reinstall the stringi package:

install.packages('stringi')

If this does not install the Mac binary package of stringi but
compiles the package from source instead, you may have to reinstall or
upgrade Xcode.

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>
Web: http://yihui.name
Reply all
Reply to author
Forward
0 new messages