[R-SIG-Mac] How to correctly set up a browser on Mac?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Feb 28 15:18:33 CET 2012


Hmm,

if I set:

	options(browser="/usr/bin/open -a 'Google Chrome'")

then 

	help.start()

launches Chrome and shows the R Help index page and

	browseURL("http://www.r-project.org")

will open the URL http://www.r-project.org in Chrome

with:
> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_GB.UTF-8/en_US.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_2.14.0

on MacOSX 10.6.8

and Chrome is not my default browser.

Best,
--Hans

**********************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6     phone:   +49 (0) 341 3550 341
D-04103 Leipzig       fax:     +49 (0) 341 3550 333
Germany               e-mail:  bibiko[AT]eva.mpg.de



More information about the R-SIG-Mac mailing list