We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

M&M • 1 year ago

Is there a way to make this work for rgl::open3d() ? Whenever I try to use tool that use rgl for plotting, a window opens on the remote server, but not on the local machine.

Alberson Miranda • 5 years ago

Sup, man! Just a reminder to update this post to new sintax (hgd() and hgd_url()).

Alberson Miranda • 5 years ago

I guess I've found a bug. Plot text (labels, title etc) won't change color. Would mind trying to reproduce it to see if it holds? https://uploads.disquscdn.c...

Kun Ren • 5 years ago

You are right! I could reproduce it on macOS.
Would you like to raise a issue at https://github.com/nx10/htt... so that we could discuss it further and fix it?

Alberson Miranda • 5 years ago

I will, thanks!

Stuart Lodge • 5 years ago

Thanks for this - really useful!

To save idiots like me from ourselves, can you perhaps also update the inner function code in

```
if (interactive() && Sys.getenv("TERM_PROGRAM") == "vscode") {
if ("httpgd" %in% .packages(all.available = TRUE)) {
options(vsc.plot = FALSE)
options(device = function(...) {
httpgd::httpgd()
.vsc.browser(httpgd::httpgdURL(), viewer = "Beside")
})
}
}

```

to do something like:

```
if (!exists(".vsc.browser")) message("VSC Browser not available - you need to enable the session watcher in VS code")
```

That'd help prevent people like me confusing ourselves :)