I've seen two different behaviours of R help (when you type ?density
for example):
I currently have the second behaviour, but I would like to open the help in the browser. Can I somehow easily switch between these two behaviours? Without re-installation. Ideally, setting some R option.
options(help_type = "html") # open help in browser
options(help_type = "text") # open help internally
If anyone is having this problem in OSX you may need to follow this process (apologies I can't remember where I found this):
edit /Applications/RStudio.app/Contents/Resources/R/Options.R
(e.g. nano ...
)
comment out the entry as follows:
# options(browser = function(url)
# {
# .Call("rs_browseURL", url) ;
# })
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With