I'm getting a periodic error with R notebooks: "Error creating notebook: pandoc document conversion failed with error 11 ." If I look at the R Markdown window in RStudio, the pandoc error reads "Access violation in generated code when reading 0xffffffffffffffff".
After waiting for a few seconds and re-saving my .Rmd file a few times, eventually RStudio will create the notebook .html successfully. The error occurs randomly.
I'm using RStudio Version 1.2.1335 on Windows 7.
Anyone else receiving this error? Any tips?
Thanks! I hope this is useful and constructive.
Yes, this is a known issue with pandoc, take a look at this github issue
opened 11:27PM - 20 Dec 18 UTC
closed 10:58PM - 08 Feb 19 UTC
pandoc
external
### System details
RStudio Edition : Desktop
RStudio Version : 1.2.1… 206
OS Version : Windows 10 Pro
R Version : 3.5.1
### Steps to reproduce the problem
- Save a Rmd notebook
### Describe the problem in detail
Since you update to pandoc 2.5 64bit I'm getting this error again, is exactly the same error of this closed issue #3661
```
Access violation in generated code when executing data at 0x49f9259
Attempting to reconstruct a stack trace...
Frame Code address
* 0x561daf0 0x49f9259 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f9259
* 0x561daf8 0x7ffc358300f0 C:\WINDOWS\System32\IMM32.DLL+0xf0
* 0x561db00 0x561de60
* 0x561db70 0x7ffc35afbaa1 C:\WINDOWS\SYSTEM32\ntdll.dll+0x3baa1
* 0x561db78 0x7974b61
* 0x561db80 0x1
* 0x561db88 0x43
* 0x561db90 0x79513d0
* 0x561db98 0x33
* 0x561dba0 0x7977318
* 0x561dba8 0x79eda49
* 0x561dbb0 0x79d70d0
* 0x561dbb8 0x79d70ea
* 0x561dbc0 0x7bc5220
* 0x561dbc8 0x49f8661 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f8661
* 0x561dbd0 0x40e5b88 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x3ce5b88
* 0x561dbd8 0x7929670
* 0x561dbe0 0x7929639
* 0x561dbe8 0x488920a C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x448920a
* 0x561dbf0 0x488920a C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x448920a
* 0x561dbf8 0x40e5b68 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x3ce5b68
* 0x561dc00 0x488920a C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x448920a
* 0x561dc08 0x79297b8
* 0x561dc10 0x7925fbb
* 0x561dc18 0x79122a0
* 0x561dc20 0x79122b8
* 0x561dc28 0x79122d0
* 0x561dc30 0x49f8661 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f8661
* 0x561dc38 0x40d800a C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x3cd800a
* 0x561dc40 0x49f8661 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f8661
* 0x561dc48 0x4904359 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x4504359
* 0x561dc50 0x49f8661 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f8661
* 0x561dc58 0x49f8661 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x45f8661
* 0x561dc60 0x40536d3 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x3c536d3
* 0x561dc68 0x4126b69 C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe+0x3d26b69
... (maximum recursion depth reached.)
```
### Describe the behavior you expected
I spect to get a html preview when I save the file
There is already a walk-around solution and it would be included in the next stable release of Rstudio.
Thanks. I appreciate the info.
system
Closed
May 15, 2019, 1:21pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.