Error while compiling files in rmarkdown

Asked

Viewed 470 times

2

I recently updated Ubuntu on my computer, I continued using R normally, including rmarkdown. Today I went to compile a file that had already compiled previously and the following error appeared:

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  impossível carregar objeto compartilhado '/home/amanda/R/i686-pc-linux-gnu-library/3.4/stringi/libs/stringi.so':
  libicui18n.so.55: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execução interrompida

I tried to run other codes, and none gave, always with this same problem, and in no format, neither word, nor html, nor pdf. Not even that base code that comes as soon as we open rmarkdown wants to run.

Has anyone ever had this problem, and you know how to fix it? Does it have anything to do with the updates made recently? I can’t remember if I used rmarkdown after updating.

  • 2

    Try to reinstall the package stringi: install.packages('stringi').

  • Reinstalled. But I kept having mistakes

  • now displays the following error: pandoc: loadlocale. c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0])' failed. Aborted (core dumped) Error in strsplit(version_info, "n")[[[1]] : index out of bounds Calls: <Anonymous> ... pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version Also: Warning message: command execution '/usr/lib/rstudio/bin/pandoc/pandoc' -version' had 134 status Interrupted execution

  • When compiling line by line within itself Rmd Everything goes right? If so, I believe that the error in Rmarkdown should be a little more interpretable. I recently passed my Ubuntu 16.04 PC to 18.04 automatically (system suggestion), and had no problems.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.