[R-SIG-Mac] R.app feature request

Duncan Murdoch murdoch at stats.uwo.ca
Sat Dec 5 23:51:20 CET 2009


On 05/12/2009 5:00 PM, Soeren.Vogel at eawag.ch wrote:
> Dear R.app developers
> 
> Would be a nice feature if one could change the default help browser  
> to an external application, e.g. Safari or Firefox.

I'm not sure this is an improvement, but it's easy to do:

1.  Create your own "print.help_files_with_topic" function, copied from 
the private one in utils:

print.help_files_with_topic <- utils:::print.help_files_with_topic

2.  Edit it so it doesn't replace the browser when .Platform$GUI == 
"AQUA" && type == "html".

That's it  ---  now it will respect your choice of getOption("browser").

Duncan Murdoch



More information about the R-SIG-Mac mailing list