Comments (10)
For me it also doesn't work if I run radian in a terminal (on macOS), so it looks like it's not a problem with the R extension or VS code. It works fine in a normal R session running in a terminal, but if I start a httpgd device in radian and plot something, the server seems to hang after generating the thumbnail of the first plot. The plot itself is never displayed and subsequent plot commands seem to do nothing. When I try to end the R session it hangs at "Server closing…".
from vscode-r.
It looks like you're on macOS was well. Are you by any chance using Python version 3.11.6_1? I think on my machine the problem started after updating Python to this version.
from vscode-r.
I'm on macOS, that's true. You are right about it being related to radian, a vanilla R REPL doesn't show the same issue. Python is 3.11.5. I don't know how to track the events you describe above, sometimes there is no error in the Extension Host pane at all. I reinstalled the extension, I created a new R lib folder with just languageserver and httpgd, I created a new project, all to no avail. The only thing that made a difference was to switch from radian to vanilla REPL. Maybe it was a recent radian, and not python, update?
from vscode-r.
Seems related to #973.
from vscode-r.
The version of radian I'm using was installed on October 19th, I'm almost 100% sure it worked for some time after that. Maybe some dependency of radian that was updated later?
To me it's clear that this is a radian/httpgd problem, not a VS Code/R extension problem. I've just tried installing the current dev version of httpgd from GitHub which didn't help. I'll make an issue for radian.
from vscode-r.
I've downgraded radian to 0.6.7 and it's the same. The session is attached but no plot is shown.
from vscode-r.
To me it's clear that this is a radian/httpgd problem, not a VS Code/R extension problem.
I'm not that sure. I can open the http server from radian and plot there as decribed in https://nx10.github.io/httpgd/articles/a01_how-to-get-started.html. It seems specific to the communication with the extension viewer.
from vscode-r.
I can open the http server from radian and plot there
Hmm, I can't. radian issue is here.
from vscode-r.
You're right, it's just the thumbnail that is shown, it's not actually working.
from vscode-r.
radian v0.6.9 is out which resolves this issue.
from vscode-r.
Related Issues (20)
- Rplot cannot be plotted HOT 3
- This is not a bug, but help HOT 4
- Useless `"patterns"` array
- Rename roxygen `@param` tags at same time as argument names
- Crew package does not work with vscode-R HOT 4
- Code chunks not being split correctly HOT 2
- httpgd not showing plots and plot do not show up on show viewers HOT 8
- Feature Request: Implement Output Insertion as Comments for Evaluated R Code HOT 4
- Startup error with renv when project is out of sync. HOT 1
- Error identifying terminal HOT 10
- `aa = keras::layer_input()` breaks the global environment viewer
- Inconsistent display of NA values in view(...) HOT 1
- Function autocompletion not working if packages are `source()`ed from a script or loaded from R terminal
- View() displays sets some numerical values to 0
- How do i clear the R interactive terminal in VSCODE ?? HOT 1
- Feature request: Support shell integration for recent command access HOT 1
- Session watcher not respecting reticulate delayed load, and other issues HOT 3
- When the help panel or data.frame panel are shown, the terminal panel can not be maximized.
- unmanagably many blue lines HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-r.