0 votes

Dear all, I am trying to use the rmarkdown report functionality. I have DSS CE on Ubuntu 18.04 (a laptop installation). When trying to build a rmarkdown report, I have this error:

> rmarkdown::render('/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643/yyqCEeX.Rmd', output_file = '/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643/built-report.nb.html', intermediates_dir = '/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643', output_format = 'html_notebook')Error in dyn.load(file, DLLpath = DLLpath, ...) :   unable to load shared object '/home/inactinique/dataiku-data/R.lib/stringi/libs/stringi.so':  libicui18n.so.55: cannot open shared object file: No such file or directoryCalls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>Execution halted
I would love to avoid to compile a previous version of libicu (libicu is not found by dss because by default, ubuntu is installed with the version 60 and not the version 55 that dss looks for) Any idea on how to solve this error? Best, Frédéric
Hi, Do you have pandoc installed on your machine? See https://doc.dataiku.com/dss/latest/code-reports/rmarkdown.html#technical-requirements for more details.
Yes, I am using rmarkdown within rstudio on a regular basis. I also have a working latex installation.
What version of pandoc is installed? We support pandoc 1.12.3 or higher. Based on what you describe, I would recommend reinstalling pandoc to the latest version.
Thanks for your answer. I have pandoc 2.5-1. Here is the result of the pandoc -v command line:
'''pandoc 2.5
Compiled with pandoc-types, texmath, skylighting 0.7.4
Default user data directory: /home/inactinique/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.'''
I reinstalled it with the pandoc 2.5-1 deb package, and the issue is still there.

1 Answer

0 votes
Best answer
Hi Frédéric,

It is likely this behaviour is linked to a particular setup of the built-in R environment of your Dataiku installation. To overcome this, I would advise to:

1. [If not latest] Upgrade Dataiku DSS to the latest version (5.0.4 as of today): https://doc.dataiku.com/dss/latest/installation/upgrade_instance.html

2. Remove the current R built-in environment: `rm -rf DATADIR/R.lib` in your shell console. (see https://www.dataiku.com/learn/guide/getting-started/dss-concepts/the-dss-datadir.html to know what is the DATADIR)

3. Stop Dataiku DSS and replay the R-integration script as documented here: https://doc.dataiku.com/dss/latest/installation/r.html

4. Start Dataiku DSS and test the rmarkdown feature again.

Hope it helps,

selected by
Dear Alex,
It is now wonderfully working.
Thanks a lot.
1,083 questions
1,127 answers
10,902 users

©Dataiku 2012-2018 - Privacy Policy