A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/quarto-dev/quarto-cli/issues/7055 below:

Unable to plot using Julia via JuliaCall · Issue #7055 · quarto-dev/quarto-cli · GitHub

Bug description

I am unable to generate any plot with Julia's Plots.jl in Quarto, only while using the knitr engine. This seems likely to be a knitr problem, as I get the following error:

Error in set2(resolve(...)) : 
  The object is read-only and cannot be modified.
Calls: <Anonymous> -> <Anonymous> -> set2

This should come from this line in knitr but I am not too sure how to proceed or debug from here.

Things I have tried:

Steps to reproduce
```{r}
1
```

```{julia}
using Plots
plot(x->x)
```
Expected behavior

Quarto should render without issue.

Actual behavior

Quarto errors. For the code cell, I get the text

Plot{Plots.GRBackend() n=1}

returned instead.

Your environment

IDE: VSCodium
OS: Windows 11

Quarto check output
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.3.450
      Path: %USERPROFILE%\scoop\apps\quarto\current\bin
      CodePage: 1252

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.11.5
      Path: %USERPROFILE%/scoop/apps/python/3.11.5/python.exe
      Jupyter: 5.3.2
      Kernels: julia-1.9, python3

(-) Checking Jupyter engine render....0.01s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[>] Checking Jupyter engine render....OK

[>] Checking R installation...........OK
      Version: 4.3.1
      Path: %USERPROFILE%/scoop/apps/r/current
      LibPaths:
        - %USERPROFILE%/scoop/persist/r/site-library
        - %USERPROFILE%/scoop/apps/r/4.3.1/library
      rmarkdown: 2.25

[>] Checking Knitr engine render......OK

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4