Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to launch URL into RStudio help viewer #21

Closed
coatless opened this issue Oct 7, 2019 · 0 comments
Closed

Add ability to launch URL into RStudio help viewer #21

coatless opened this issue Oct 7, 2019 · 0 comments

Comments

@coatless
Copy link
Collaborator

@coatless coatless commented Oct 7, 2019

# Probe for viewer option then fall back to browseURL
viewer <- getOption("viewer")
if (!is.null(viewer)) {
   viewer("http://localhost:8100")
} else {
   utils::browseURL("http://localhost:8100")
}
@coatless coatless closed this in #22 Oct 8, 2019
coatless added a commit that referenced this issue Oct 8, 2019
#22)

* Enable opening the URL inside of the RStudio window.

* Update README file with new option

* Add a NOTE

* Switch default to `FALSE` as RStudio is not appropriately sandboxing the environment.

rstudio/rstudio#2252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.