Running code line-by-line (Cntrl + Enter) feels extremely laggy in Positron (Slurm Posit WB)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- r
- Domínio
- performance, tooling
Direção de pesquisa
Start by reproducing the Ctrl+Enter behavior in Positron with an RMarkdown or Quarto document, comparing line-by-line execution with whole-chunk execution and observing the temporary .vdoc files. The issue names no repository files or tests, so trace the document execution entry point first. Done means identifying the source of the lag and confirming responsive line-by-line execution without unintended temporary files.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
Hi, we are using Posit WB on AWS-deployed Slurm cluster.
Running R code line-by-line using Cntrl + Enter in Positron works normally in .R scripts, but when we try to run the code from RMarkdown / Quatro documents, it starts to lag heavily. It also produces bunch of temporary local .vdoc files.
At the same time, in RStudio, everything works normally.
Here is an example when run line-by-line.
> tictoc::tic()
> 1+1
[1] 2
> tictoc::toc()
4.84 sec elapsed
When we select the whole chunk, it works instantly.
> tictoc::tic()
+ 1+1
+ tictoc::toc()
[1] 2
0.002 sec elapsed
Any ideas on what we might try here?
Thanks
Steps to reproduce
No response
Actual behavior
No response
Expected behavior
No response
Your environment
No response
Quarto check output
Quarto 1.9.37
[✓] Checking environment information...
Quarto cache location: /pfs/home/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.8.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.4.5: OK
Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.9.37
Path: /usr/lib/rstudio-server/bin/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2024.07.03
Chromium: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /pfs/home/.TinyTeX/bin/x86_64-linux
Version: 2024
[✓] Checking Chrome Headless....................OK
Chrome: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........OK
Version: 4.4.1
Path: /opt/R/4.4.1/lib/R
LibPaths:
- /pfs/home/.cache/R/renv/sandbox/linux-ubuntu-jammy/R-4.4/x86_64-pc-linux-gnu/22bdb599
knitr: 1.51
rmarkdown: 2.31
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking Julia installation...
- Linguagem predominante
- TypeScript
- Estrelas
- 665
- Forks
- 69
- Merge médio
- 2d 4h
- PRs com merge (30d)
- 14
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de quarto-dev/quarto
-
vscode
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
quarto-dev/quarto#1227 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug vscode
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
quarto-dev/quarto#1211 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
quarto-dev/quarto#1139 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 90/100
quarto-dev/quarto#1138 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
quarto-dev/quarto#1137 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de quarto-dev/quarto
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
genfeedai/genfeed.ai#11828 ·
Mantenedores costumam responder em até 1 dia
-
bug security
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
IbrahimHafez1/loadwise#251 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
erkamyaman/unslop-anything#415 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Yeachan-Heo/oh-my-codex#4278 ·
Mantenedores costumam responder em até 1 dia
-
admin
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia