I'm trying to knitr a Rmd file on Rserver via command line by running
Rscript -e "rmarkdown::render('testrmd.Rmd')"
But it ran into an error saying
"Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Execution halted"
However, I checked and found out that I actually have pandoc version 2.3.1, way higher than the required 1.12.3.
Related
I have installed Zim on my MacBook. I already have Latex installed. When I try to add the "Insert Equation" plugin, the following errors are shown:
Dependencies
latex - Failed
dvipng - Failed
It is worth mentioning that when I type "latex" or "dvipng" in the terminal, I see that the corresponsing program is called. So, the installation of Latex seems fine.
How to solve this issue?
I was following the documentation provided at https://docs.terra.money/docs/develop/how-to/terrad/install-terrad.html. After installation was completed I ran the terrad version --long command but it is showing zsh: command not found: terrad in the response. I have checked the $GOPATH is already set.
You may have to add the GOPATH to your $PATH as well:
export PATH=$PATH:$(go env GOPATH)/bin
I keep getting this error when I try to render and Rmd file
Erreur : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
but when I type pandoc_version() in console I get
rmarkdown::pandoc_available()
[1] TRUE
rmarkdown::pandoc_version()
[1] ‘2.7.2’
i am trying to convert a doc to docx using the following command:
soffice --headless --convert-to docx test.doc
I am using centos7, and install everything from openoffice throught
yum install openoffice
I am in the current directory of the .doc file.
I am having an error related to filters (I had search about these filters and didn't find one that would solve my problem):
Error: no export filter for teste.docx found, aborting.
Error: no export filter
Everytime i put some filter, it gives me another error:
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///path/test.txt> failed: 0x81a)
I put the filter (filter example from soffice) and still not working
soffice --headless --convert-to html:"txt:Text (encoded):UTF8" --outdir /home/user/Downloads /home/user/Downloads/test.doc
I discover why it's not working. I uninstall oppenoffice and libreoffice and put another one.
yum remove openoffice* libreoffice*
yum install libreoffice*
Probably it was missing some library or some dependencies were confliting.
Now everything is working.
soffice --headless --convert-to docx teste.doc
I am trying to create a RMarkdown document with RStudio using shiny server. It works fine if the ouptut is pdf but if I want it as html I get this following error at the end of the process (in the RMarkdown console I can see it reached 100%).
Error: unrecognized fields specified in html_dependency: attachment
I have no idea why this error is happening.
Can anyone help me with this?
Thank you
I had a similar problem and found that it was caused by RStudio attempting to use Knitr to build a Shiny page. You can fix this by running using rmarkdown::run() instead of rmarkdown::render(). In some older versions of RStudio, the "Knit html" button runs this:
rmarkdown::render('filename.Rmd', 'html_document')
whereas, you can get the the results you want by running this command instead:
rmarkdown::run('filename.Rmd')
You could use this command or just update to the latest version of RStudio.
There is more info about authoring Shiny document here: http://rmarkdown.rstudio.com/authoring_shiny.html.
This is caused by a recent update of the relevant rmarkdown package or related ones.
Update RStudio to the latest version and then the error should disappear. It worked in my case.
Updating RStudio didn't work for me. What did work was updating all R packages (Tools > Check for Package Updates...).