Extension behaving oddly when file is part of VSCode workspace
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- r, typescript, vscode
- Área
- devtools
Línea de trabajo
No se especifica ningún archivo de origen, prueba ni punto de entrada. Primero reproduce el comportamiento en un espacio de trabajo de Windows 10 VS Code con R 4.4.0 y vscode-R 2.8.3; después, compara la carga del mismo archivo .RData y la ejecución de View(df) fuera de un espacio de trabajo. Se considera terminado cuando Global Environment se puebla y el visor de marcos de datos se abre en VS Code en ambos casos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
When I open my R files as part of a workspace file that I have, I can load a previous image, but nothing is populated under global Environment. When I run View(df) the R data frame Viewer pops up and not the one in VS Code.
If I repeat the same steps but outside of a Workspace then the extension behaves as normal.
To Reproduce
Steps to reproduce the behavior:
- Create a VS Workspace or use an existing one.
- Add an R file.
- Click on the R Extension and under Select the "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment. It is empty.
- Run View(df) to open any data frame. Default R viewer (from the normal R environment) should open.
- Close the Work space and open the same R file as in Step 2.
- Click on the R Extension and under Select "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment, it should be populated with the data.
- Run View(df) to open any data frame, it will now open in VS Code as per normal
Can you fix this issue by yourself? (We appreciate the help)
No
// R.exe path for windows
"r.rterm.windows": "",
// R command line options (i.e: --vanilla)
"r.rterm.option": [],
// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",
// Keeping focus when running
"r.source.focus": "editor",
// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,
// Use bracketed paste mode
"r.bracketedPaste": false,
// Enable R session watcher
"r.sessionWatcher": true,
// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,
**Expected behavior**
The expectation is that when running a file in a VS workspace or outside a VS Workspace it should behave the same. Running View(df) should open the data frame in VS Code. When loading an *.Rdata, the Global Environment should be populated with the needed information.
Before the current update this was the behavior.
**Screenshots**
**Environment (please complete the following information):**
- OS: Windows 10
- VSCode Version: 1.89.1
- R Version: 4.4.0
- vscode-R version: 2.8.3
**Additional context**
I recently update to R 4.4.0 (earlier this week I think) and the extension was still working as normal.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 139
- Merge medio
- 16 h 16 min
- PR fusionados (30 d)
- 11
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de REditorSupport/vscode-R
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
REditorSupport/vscode-R#1687 · 4 comentarios · 3 reacciones ·
-
feature-request
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
REditorSupport/vscode-R#1763 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
REditorSupport/vscode-R#1756 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
REditorSupport/vscode-R#1755 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
REditorSupport/vscode-R#1751 · 1 comentario ·
Todos los issues de REditorSupport/vscode-R
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
IBM/node-sdk-core#373 ·
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100