This function is not found
Whenever I try to use it
When I try to use httpgd in VSCode
And try to show the original httpgd viewer in a webpage in VS Code, in using this code :
if (interactive() && Sys.getenv("TERM_PROGRAM") == "vscode") {
if ("httpgd" %in% .packages(all.available = TRUE)) {
options(vsc.plot = FALSE)
options(device = function(...) {
httpgd::hgd(silent = TRUE)
.vsc.browser(httpgd::hgd_url(history = FALSE), viewer = "Beside")
})
}
}
In ~/.Rprofile
It said "could not find function ".vsc.browser"
This function is not found Whenever I try to use it
When I try to use httpgd in VSCode And try to show the original httpgd viewer in a webpage in VS Code, in using this code : if (interactive() && Sys.getenv("TERM_PROGRAM") == "vscode") { if ("httpgd" %in% .packages(all.available = TRUE)) { options(vsc.plot = FALSE) options(device = function(...) { httpgd::hgd(silent = TRUE) .vsc.browser(httpgd::hgd_url(history = FALSE), viewer = "Beside") }) } }
In ~/.Rprofile It said "could not find function ".vsc.browser"