Comments (4)
Remote access should work. Try using:
httpgd(host="0.0.0.0")
And then connect to either the public IP or your host name.
I am not familiar with live share, but maybe @renkun-ken knows more about that.
If it has a HTTP based API, support should be possible.
from httpgd.
If you are using azure (or any other cloud VM provider) to share plot, you might need to use a fixed port and set up the network rules to allow traffic from/to that port.
from httpgd.
I think they are referring to this: https://visualstudio.microsoft.com/de/services/live-share/
I can not find any API for this extension.
I would recommend sharing the plot with a fixed port just like @renkun-ken said.
from httpgd.
setting host to 0.0.0.0 was the solution to get access from outside the network. Thanks @nx10
Now I just need to figure out, why I am getting a connection refused when connecting via domain instead of external IP
This is still not ideal, as I want to have plots visible for online classrooms and having them open up a extra browser window is a hassle. But I guess this is more a limit of Live Share. Sharing the http server in Live Share seems to only work with Azure, which I do not have and even then it wouldn't let me just have a plot be visible after it's been generated...
Thanks for the help figuring out the remote access :)
from httpgd.
Related Issues (20)
- return Error: getrandom from vscode terminal HOT 2
- Investigate possible performance issues in VSCode HOT 4
- Question: does httpgd works for javascript libraries like plotly HOT 4
- https://www.facebook.com/
- Could not find the function .vsc.browser HOT 5
- Certain plots crash R: "address (nil), cause 'memory not mapped'" because of "dev.capabilities" HOT 1
- Mac compilation error HOT 7
- R session crashes because of httpgd and grDevices::dev.capabilities() HOT 6
- Missing spaces in LaTeX expressions when plotting using `latex2exp` HOT 3
- Server crashes the session upon opening the browser link HOT 4
- Broken image in this package (pkgdown) home page HOT 3
- Package installation currently fails for v1.3.0 HOT 15
- Some versions of libtiff fail to compile HOT 9
- No plot viewer shown in vscode HOT 2
- Can't clear previous plots when re-running a new R script HOT 1
- .vsc.browser () is not found
- Pdf option not available when exporting plot HOT 2
- Resize plot to any ratio and size HOT 1
- fonts not working on Linux HOT 7
- Open plots in external browser by default
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 httpgd.