Session watcher not respecting reticulate delayed load, and other issues
Mantenedores costumam responder em até 1 dia
@ElianHugh já está trabalhando nisso.
Desde 2/3/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
There seems to be some weirdness happening with reticulate when working with the VSCode-R extension. It looks like VSCode-R is evaluating the reticulate/Python code in a different way than the standard R GUI console. The obvious example when using the delay_load flag when importing modules:
standard R GUI Console
library(reticulate)
start = Sys.time()
re <- import("re", delay_load = TRUE)
end = Sys.time()
end - start
#> Time difference of 0.01495004 secs
re
#> <pointer: 0x0> # the module has not been loaded yet because delay_load = TRUE
start = Sys.time()
re$match # trigger loading of module
#> <function match at 0x000002EA31AE8B80>
end = Sys.time()
end - start
#> Time difference of 12.2005 secs
VSCode-R Console
library(reticulate)
start = Sys.time()
re <- import("re", delay_load = TRUE)
end = Sys.time()
end - start
#> Time difference of 12.08285 secs
re
#> Module(re) # module has been loaded
start = Sys.time()
re$match # trigger loading of module
#> <function match at 0x000001C7AD980AF0>
end = Sys.time()
end - start
#> Time difference of 0.03116894 secs # fast because module was already loaded
I have also been encountering cases where reticulate will throw Python errors in VSCode but not in the R GUI, and will continuously re-throw the error with every new command. However, I do not yet have a reprex for this (it most commonly occurs with the arcpy module, which is not available unless you have an ArcGIS Pro license). I'll post again here if I can reproduce the issue with a publicly-available module.
- Linguagem predominante
- TypeScript
- Estrelas
- 1.2k
- Forks
- 151
- Merge médio
- 20h 14min
- PRs com merge (30d)
- 74
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
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 REditorSupport/vscode-R
-
[Bug]: indentation clash (formatter vs lintr)Talvez já em andamento @renkun-ken assumiu há 8 dias. Abertabug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
REditorSupport/vscode-R#1883 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
REditorSupport/vscode-R#1846 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
(feat) Additional Arrow supportTalvez já em andamento @Fred-Wu assumiu há 13 dias. Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
REditorSupport/vscode-R#1785 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Explore a standalone, dependency-free R package for the Data Viewer backendTalvez já em andamento @eitsupi assumiu há 15 dias. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
REditorSupport/vscode-R#1860 · 14 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
REditorSupport/vscode-R#1859 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de REditorSupport/vscode-R
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
scaleway/ultraviolet#7089 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
tencent-connect/dsh-qqbot#81 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickTalvez já em andamento @makhnatkin assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
clangd/vscode-clangd#1009 ·