[R-SIG-Mac] Permanently fix R to open Help page in html

Christofer Bogaso bogaso.christofer at gmail.com
Mon Jul 10 23:02:03 CEST 2017


Hi,

I wanted R to open any Help page in html permanently.

So 1st I created .Rprofile file with below code in terminal:

touch ~/.Rprofile

open -a Textedit ~/.Rprofile


And then in the .Rprofile file, I wrote below code :

options(help_type = ‘html’)

However after that when I start R (from Terminal) I get below error on loading R

Error: 1:20: unexpected input

1: options(help_type = ?

                       ^

[Previously saved workspace restored]


>

Can someone please point me on where I made mistake.

Thanks for your time.



More information about the R-SIG-Mac mailing list