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

Marc Schwartz marc_schwartz at me.com
Tue Jul 11 13:46:33 CEST 2017


> On Jul 10, 2017, at 10:33 PM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:
> 
> Performed steps according to Marc's suggestions :
> 
> But not help page is not openning in Browser.


Are you getting the same error as before?

Do the single quotes still look like smart quotes or regular ASCII quotes?

Marc


> 
> On Tue, Jul 11, 2017 at 7:28 AM, Marc Schwartz <marc_schwartz at me.com> wrote:
>> 
>>> On Jul 10, 2017, at 5:19 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>> 
>>> 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".
>> 
>> 
>> Alternatively, you can set TextEdit to not use "Smart quotes"  by disabling them in:
>> 
>>  Preferences -> New Document
>> 
>> There is a checkbox under Options for Smart quotes. Uncheck it.
>> 
>> Regards,
>> 
>> Marc Schwartz
>> 
>> 
>>> 
>>> Duncan Murdoch
>>> 
>>>> 
>>>> [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