The first thing I would do is go to the “Format” menu in Textedit, and make
sure “Make Plain Text” is selected. Textedit’s default format is RTF, which is
not what you want.
(Apologies if someone else already suggested this and I missed it)
-Don
--
Don MacQueen
Lawrence Livermore National La
Hi Christofer,
Here is the content of my fairly simple .Rprofile:
options(help_type = "html")
local({r <- getOption("repos")
r["CRAN"] <- "http://cran.us.r-project.org";
options(repos=r)
})
options(papersize = "letter")
options(show.signif.stars = FALSE)
options(device = "quartz")
o
Hi Marc,
When I enter 'open -a Textedit ~/.Rprofile' in Terminal .RProfie file
opens. Below is the content of that file :
.First <- function() {
options("repos" = c(CRAN = "http://cran.r-project.org/";))
options(help_type = "html")
}
An the R window looks like below :
R version 3.4.0 (2
Christofer,
The thing is that you really don't need to do that (use .First), which makes
this situation curious and why it would be helpful to see the full content of
your .Rprofile file, to be sure that there is not a conflict in content or
structure someplace.
An extra set of eyes might be h
Hi,
I just put options(help_type = "html") inside .First <- function() {}
and now it works. Help page is now opening in Browser.
Thanks all for your time and help. Regards,
On Tue, Jul 11, 2017 at 8:21 PM, Marc Schwartz wrote:
> Christofer,
>
> Can you post your .Rprofile file someplace onlin
Christofer,
Can you post your .Rprofile file someplace online (e.g. Dropbox) so that we can
take a look at it?
Marc
> On Jul 11, 2017, at 9:48 AM, Christofer Bogaso
> wrote:
>
> Hi Ben,
>
> I work with R from Terminal only.
>
> If I explicitly set ' options(help_type = 'html')' after open
Hi Ben,
I work with R from Terminal only.
If I explicitly set ' options(help_type = 'html')' after opening R in
terminal, it works perfectly. Means, help page opens in Browser.
However I do not want to have this code ' options(help_type = 'html')'
every time I open R. So I want R to set this opt
Hi,
I'm curious about what happens if you start a plain R session at the command
line (not R.app) and set the option within the session. Something like the
following that open help in my browser.
$ R --vanilla
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundat
I am not getting error.
However help page is not opening in html.
On Tue, Jul 11, 2017 at 5:16 PM, Marc Schwartz wrote:
>
>> On Jul 10, 2017, at 10:33 PM, Christofer Bogaso
>> wrote:
>>
>> Performed steps according to Marc's suggestions :
>>
>> But not help page is not openning in Browser.
>
>
> On Jul 10, 2017, at 10:33 PM, Christofer Bogaso
> 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
>
Performed steps according to Marc's suggestions :
But not help page is not openning in Browser.
On Tue, Jul 11, 2017 at 7:28 AM, Marc Schwartz wrote:
>
>> On Jul 10, 2017, at 5:19 PM, Duncan Murdoch wrote:
>>
>> On 10/07/2017 5:02 PM, Christofer Bogaso wrote:
>>> Hi,
>>>
>>> I wanted R to open
> On Jul 10, 2017, at 5:19 PM, Duncan Murdoch 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 ~/.Rpr
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 = ‘ht
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 Term
14 matches
Mail list logo