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

William Dunlap wdunlap at tibco.com
Mon Apr 17 17:32:10 CEST 2017


Use another editor or go to file explorer, turn on the 'show file
extensions' option and rename the file so it does not have the .R
extension.
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Mon, Apr 17, 2017 at 8:26 AM, BR_email <br at dmstat1.com> wrote:
> I used not extension, but R extension shows up.
>
> Bruce Ratner, Ph.D.
> The Significant Statistician™
> (516) 791-3544
> Statistical Predictive Analtyics -- www.DMSTAT1.com
> Machine-Learning Data Mining and Modeling -- www.GenIQ.net
>
> William Dunlap wrote:
>>
>> Not file exention ".R" - no file exention at all.
>> Bill Dunlap
>> TIBCO Software
>> wdunlap tibco.com
>>
>>
>> On Mon, Apr 17, 2017 at 8:13 AM, BR_email <br at dmstat1.com> wrote:
>>>
>>> Bill:
>>> I did workaround. I created the Rprofile files with file type R, not txt.
>>> Bruce
>>>
>>>
>>>
>>> William Dunlap 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 <br at dmstat1.com>
>>>> 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.
>>>>
>>>>
>>>>
>>
>>
>



More information about the R-help mailing list