[R] Setting .Rprofile for RStudio on a Windows 7 x64bit

William Dunlap
2017-04-17T15:20:46Z

Use the R command
  dir(c(".", Sys.getenv("HOME"), R.home("etc")),
pattern="Rprofile")
to see if there are any file names with the unwanted ".txt" and use
file.rename() to fix them up.
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Mon, Apr 17, 2017 at 8:06 AM, William Dunlap <wdunlap at tibco.com>
wrote:
> I believe someone already mentioned it, but notepad makes it hard to
> save a file without the ".txt" extension to its name.  R does not
do
> anything with .Rprofile.txt, only .Rprofile, so you must figure out a
> way to work around notepad's mangling of the file name.
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
>
> On Mon, Apr 17, 2017 at 7:41 AM, Bruce Ratner PhD
wrote:
>> Bert:
>> I used note pad under Administrator. The code:
>> options(prompt="R> ")
>> set.seed(12345)
>>
>> Bruce
>>
>> ______________
>> Bruce Ratner PhD
>> The Significant Statistician?
>> (516) 791-3544
>> Statistical Predictive Analytics -- www.DMSTAT1.com
>> Machine-Learning Data Mining -- www.GenIQ.net
>>
>>
>>
>>> On Apr 17, 2017, at 10:30 AM, Bert Gunter <bgunter.4567 at
gmail.com> wrote:
>>>
>>> I cannot add to the instructions that you have already been given
>>> regarding .Rprofile.
>>>
>>> But what code did you use in your .Rprofile to set the prompt? The
>>> posting guide explicitly requests that you provide your code,
although
>>> maybe you already did earlier in this extensive thread.
>>>
>>> ?options
>>>
>>> is how it can be set. Did you do this?
>>>
>>> -- Bert
>>>
>>> Bert Gunter
>>>
>>> "The trouble with having an open mind is that people keep
coming along
>>> and sticking things into it."
>>> -- Opus (aka Berkeley Breathed in his "Bloom County"
comic strip )
>>>
>>>
>>>> On Mon, Apr 17, 2017 at 3:06 AM, Bruce Ratner PhD <br at
dmstat1.com> wrote:
>>>> David:
>>>> When I launch Rstudio the effects of the Rprofile do not show,
e.g., I want the prompt to be "R> " instead of the default
"> ". The former doesn't show.
>>>> Bruce
>>>>
>>>> ______________
>>>> Bruce Ratner PhD
>>>> The Significant Statistician?
>>>> (516) 791-3544
>>>> Statistical Predictive Analytics -- www.DMSTAT1.com
>>>> Machine-Learning Data Mining -- www.GenIQ.net
>>>>
>>>>
>>>>
>>>>> On Apr 16, 2017, at 7:34 PM, David Winsemius <dwinsemius
at comcast.net> wrote:
>>>>>
>>>>>
>>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.