Closed JMLuther closed 1 year ago
I'm also noting inconsistency in when the error occurs, even with same Rmd code. I tried with a simpler plot with generated data- no error on the first time I knit, but without any changes it does error.
using Plots
x = [1:1:10]
y = [101:1:110]
scatter(x, y)
updated to Julia 1.8.3, still get same error.
based on another reported issue in Rstudio and apparent workaround, I wonder if this is an Rstudio/pandoc compatability issue but I haven't had a chance to load an older pandoc version to try:
Since this error message occurs intermittently, I'm not entirely sure, but I think the error can be avoided by changing the julia_setup()
command.
Add rebuilld = TRUE' to the setup command-
julia_setup(JULIA_HOME = "...Programs/Julia-1.8.3/bin", rebuild = T)
This doesn't add much time to the setup on my machine anyways.
I have run this several times and it no longer errors. Will close if this holds up.
Getting this report after generating html from a very basic Rmarkdown file that includes a Julia code chunk- I am not sure if this is a JuliaCall, knitr or RStudio issue...but i think it could be related to JuliaCall knitr support. Possibly a clue- html document is actually generated fine- the document preview in RStudio that usually opens fails to appear. The code block runs interactively in Rmd without error. My example includes a plot- this error DOES still occur if just a very basic block is included (eg
sqrt(2)
)the warning is repeated many more times...same each time so just copied a couple
Using RStudio 2022.07.2 Build 576, which appears to bundle the most recent pandoc version 2.19.2 (2022-08-22)
my basic reproducible Rmd text:
Session info: