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

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jul 11 00:19:07 CEST 2017


On 10/07/2017 5:02 PM, Christofer Bogaso wrote:
> 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 = ?
>
>                        ^

Those don't look like ASCII quotes.  Use the R.app editor, not Textedit, 
and it won't put in funny "smart quotes".

Duncan Murdoch

>
> [Previously saved workspace restored]
>
>
>>
>
> Can someone please point me on where I made mistake.
>
> Thanks for your time.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list