Bruce Ratner PhD
2017-Apr-17 14:41 UTC
[R] Setting .Rprofile for RStudio on a Windows 7 x64bit
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: >>> >>> >
William Dunlap
2017-Apr-17 15:06 UTC
[R] Setting .Rprofile for RStudio on a Windows 7 x64bit
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.
Jeff Newmiller
2017-Apr-17 15:13 UTC
[R] Setting .Rprofile for RStudio on a Windows 7 x64bit
Doing anything as Administrator means you are probably already in file permissions hell. R works great if you avoid Administrator mode entirely... using it raises the complexity of every step you take drastically. -- Sent from my phone. Please excuse my brevity. On April 17, 2017 7:41:18 AM PDT, 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.
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. > >
William Dunlap
2017-Apr-17 15:20 UTC
[R] Setting .Rprofile for RStudio on a Windows 7 x64bit
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 <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.
I did it both ways, with and without: no success. 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 Jeff Newmiller wrote:> Doing anything as Administrator means you are probably already in file permissions hell. R works great if you avoid Administrator mode entirely... using it raises the complexity of every step you take drastically.