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

peter dalgaard pdalgd at gmail.com
Mon Apr 17 01:19:08 CEST 2017

That was aimed at Rolf...

For the actual question, I think the best approach would be to follow up on Bill Dunlap's suggestion. The mails from Jeff and Henrik pretty much tell you step by step what to try to find out which files on yours system are being checked in order to find startup code.


> On 17 Apr 2017, at 00:43 , BR_email <br at dmstat1.com> wrote:
> Peter:
> Thanks for reply and suggestion.
> Sorry, I am not sure how to assess.
> The doc is too technical for me to understand.
> I found multiple instructions online and in R and RStudio books.
> I'm doing what it says, but no success.
> The instructions are simple as a-b-c, but some setting within the Windows system must be the culprit.
> Regards,
> Bruce
> 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
> peter dalgaard wrote:
>> Um, tried help(.Rprofile) lately?
>> -pd
>>> On 17 Apr 2017, at 00:08 , Rolf Turner <r.turner at auckland.ac.nz> wrote:
>>> On 17/04/17 08:46, John C Frain wrote:
>>>> Bruce
>>>> The official documentation for these startup files can be obtained with
>>>> the command
>>>> Help(Startup)
>>> Minor point of order, Mr. Chairman.  That should be:
>>>    help(Startup)
>>> There is (as far as I know) no such function as "Help()".  It is important to remember that R is case sensitive.
>>> Another point that is worthy of thought is "How in God's name would any beginner know or find out about the usage help(Startup)?"  Unless they were explicitly told about it, in the manner which you just demonstrated.  The usage gets a mention in "An Introduction to R" --- but I had to search for it.
>>> To me the word "startup" is not terribly intuitive.  I would tend to search for "starting" rather than "startup", I think, but I'm not sure what the average beginner would search for.  A search of "An Introduction to R" for "starting" gets seven or eight hits, one of which is relevant.  So it all takes patience and persistence.
>>> Also note that "An Introduction to R" mostly uses the word "startup" (lower case "s") and only uses "Startup" twice.  Note also that
>>>    help(startup)
>>> fails.  You have to get that initial "S" right.
>>> This isn't a criticism of the documentation.  I'm just pointing out that there are problems, mostly insoluble.  Until some clever Johnny gets on with developing that mind_read() function referred to in fortune(182).
>>> cheers,
>>> Rolf Turner
>>> -- 
>>> Technical Editor ANZJS
>>> Department of Statistics
>>> University of Auckland
>>> Phone: +64-9-373-7599 ext. 88276
>>> ______________________________________________
>>> 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.

Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com

More information about the R-help mailing list