> On Jul 10, 2017, at 5:19 PM, Duncan Murdoch <murdoch.dun...@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.

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to