Berend: Something looks good, but RStudio still Rprofile still doees not affect the launch.>source(echo=TRUE, "C:/Users/BruceRatner/Documents/.Rprofile.site") > options(prompt="R> ")> set.seed(12345)> rm(list=ls())R> 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 Berend Hasselman wrote:> source(echo=TRUE, ""C:/Users/BruceRatner/Documents/.Rprofile.site")
Peter Dalgaard
2017-Apr-17 17:26 UTC
[R] Setting .Rprofile for RStudio on a Windows 7 x64bit
> On 17 Apr 2017, at 19:01 , BR_email <br at dmstat1.com> wrote: > > Berend: Something looks good, but RStudio still Rprofile still doees not affect the launch. > >> source(echo=TRUE, "C:/Users/BruceRatner/Documents/.Rprofile.site") >> options(prompt="R> ") > >> set.seed(12345) > >> rm(list=ls()) > > R> > > > 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 > > Berend Hasselman wrote: >> source(echo=TRUE, ""C:/Users/BruceRatner/Documents/.Rprofile.site") >According to the gospel of St.Henrik, that filename is wrong, and possibly the directory too. So try his suggestions. What is the output (show us!) of normalizePath("./.Rprofile") normalizePath("~/.Rprofile") Assuming that the former is "C:/Users/BruceRatner/Documents/.Rprofile" you could try renaming the .Rprofile.site file to that. If need be, use file.rename, as in file.rename(from="C:/Users/BruceRatner/Documents/.Rprofile.site", to="C:/Users/BruceRatner/Documents/.Rprofile") (and restart, obviously). [I wouldn't set the seed in a .Rprofile file, nor would I use rm() there, but that is a different kettle of fish.] -- 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
TO _ALL_: THANK YOU. THANK YOU. THANK YOU. After hours, and hours, and hours, and ... , and hours: Success. To all who helped, thanks. My quest was minor, but major for me, as I learn from the path of one, whether big or small begets another. I never look down at anyone, except to help him/her up. With gratitude, 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:>> On 17 Apr 2017, at 19:01 , BR_email <br at dmstat1.com> wrote: >> >> Berend: Something looks good, but RStudio still Rprofile still doees not affect the launch. >> >>> source(echo=TRUE, "C:/Users/BruceRatner/Documents/.Rprofile.site") >>> options(prompt="R> ") >>> set.seed(12345) >>> rm(list=ls()) >> R> >> >> >> 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 >> >> Berend Hasselman wrote: >>> source(echo=TRUE, ""C:/Users/BruceRatner/Documents/.Rprofile.site") > According to the gospel of St.Henrik, that filename is wrong, and possibly the directory too. > > So try his suggestions. What is the output (show us!) of > > normalizePath("./.Rprofile") > normalizePath("~/.Rprofile") > > Assuming that the former is > > "C:/Users/BruceRatner/Documents/.Rprofile" > > you could try renaming the .Rprofile.site file to that. If need be, use file.rename, as in > > file.rename(from="C:/Users/BruceRatner/Documents/.Rprofile.site", to="C:/Users/BruceRatner/Documents/.Rprofile") > > (and restart, obviously). > > [I wouldn't set the seed in a .Rprofile file, nor would I use rm() there, but that is a different kettle of fish.] >