Giter Site home page Giter Site logo

Comments (10)

uhkeller avatar uhkeller commented on June 10, 2024

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.

uhkeller avatar uhkeller commented on June 10, 2024

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.

memeplex avatar memeplex commented on June 10, 2024

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.

memeplex avatar memeplex commented on June 10, 2024

Seems related to #973.

from vscode-r.

uhkeller avatar uhkeller commented on June 10, 2024

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.

memeplex avatar memeplex commented on June 10, 2024

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.

memeplex avatar memeplex commented on June 10, 2024

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.

uhkeller avatar uhkeller commented on June 10, 2024

I can open the http server from radian and plot there

Hmm, I can't. radian issue is here.

from vscode-r.

memeplex avatar memeplex commented on June 10, 2024

You're right, it's just the thumbnail that is shown, it's not actually working.

from vscode-r.

benz0li avatar benz0li commented on June 10, 2024

radian v0.6.9 is out which resolves this issue.

from vscode-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.