In my shell environment, I have set a path to R_PROFILE_USER. The
file, Rprofile.R, is a collection of small hacks.
I want to build rstudio-server from source. Best is to $ unset
R_PROFILE_USER before. Unfortunately, this has no effect on my system.
-----------------------------------------------
poisonivy at poppy ?? ~ % R
*** Successfully loaded .Rprofile ***
Welcome back poisonivy
working directory is: /home/poisonivy
poisonivy at poppy [R]
-------------------------------------
As you can see, R is still behaving like the profile is used. What is
annoying, is that Cmake will at one point not find my LibR. Error
message: missing LIBR_LIBRARIES). The Cmake command is this one:
-----------------------------------------
% R --slave --no-save -e "cat(R.home('lib'))"
*** Successfully loaded .Rprofile ***
/usr/lib64/R/libGoodbye poisonivy Sat Dec 5 18:03:06 2015
----------------------------------------------
and as you can see, the result is polluated by my profile. I can't
edit Cmake file to add "--vanilla" as they are generated each time I
start cmake.
Even deleting my Rprofile.R file, the environment still persists. I
have no idea why this behavior.
Any hints why I can't unset my profile user ?
Thank you.
--
google.com/+arnaudgabourygabx
> On 05 Dec 2015, at 18:07 , arnaud gaboury <arnaud.gaboury at gmail.com> wrote: > > In my shell environment, I have set a path to R_PROFILE_USER. The > file, Rprofile.R, is a collection of small hacks. > > I want to build rstudio-server from source. Best is to $ unset > R_PROFILE_USER before. Unfortunately, this has no effect on my system. > > ----------------------------------------------- > poisonivy at poppy ?? ~ % R > > *** Successfully loaded .Rprofile *** > > Welcome back poisonivy > working directory is: /home/poisonivy > poisonivy at poppy [R] > ------------------------------------- > > As you can see, R is still behaving like the profile is used. What is > annoying, is that Cmake will at one point not find my LibR. Error > message: missing LIBR_LIBRARIES). The Cmake command is this one: > > ----------------------------------------- > % R --slave --no-save -e "cat(R.home('lib'))" > > *** Successfully loaded .Rprofile *** > > /usr/lib64/R/libGoodbye poisonivy Sat Dec 5 18:03:06 2015 > ---------------------------------------------- > > and as you can see, the result is polluated by my profile. I can't > edit Cmake file to add "--vanilla" as they are generated each time I > start cmake. > > Even deleting my Rprofile.R file, the environment still persists. I > have no idea why this behavior. > > Any hints why I can't unset my profile user ?Umm, it said that it loaded .Rprofile, not Rprofile.R. Any chance that you have similar code in two places? (~/.Rprofile and ./.Rprofile being the most obvious suspects). -pd> > Thank you. > -- > > google.com/+arnaudgabourygabx > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On Sat, Dec 5, 2015, 9:39 PM peter dalgaard <pdalgd at gmail.com> wrote:> On 05 Dec 2015, at 18:07 , arnaud gaboury <arnaud.gaboury at gmail.com>wrote:> > In my shell environment, I have set a path to R_PROFILE_USER. The > file, Rprofile.R, is a collection of small hacks. > > I want to build rstudio-server from source. Best is to $ unset > R_PROFILE_USER before. Unfortunately, this has no effect on my system. > > ----------------------------------------------- > poisonivy at poppy ?? ~ % R > > *** Successfully loaded .Rprofile *** > > Welcome back poisonivy > working directory is: /home/poisonivy > poisonivy at poppy [R] > ------------------------------------- > > As you can see, R is still behaving like the profile is used. What is > annoying, is that Cmake will at one point not find my LibR. Error > message: missing LIBR_LIBRARIES). The Cmake command is this one: > > ----------------------------------------- > % R --slave --no-save -e "cat(R.home('lib'))" > > *** Successfully loaded .Rprofile *** > > /usr/lib64/R/libGoodbye poisonivy Sat Dec 5 18:03:06 2015 > ---------------------------------------------- > > and as you can see, the result is polluated by my profile. I can't > edit Cmake file to add "--vanilla" as they are generated each time I > start cmake. > > Even deleting my Rprofile.R file, the environment still persists. I > have no idea why this behavior. > > Any hints why I can't unset my profile user ?Umm, it said that it loaded .Rprofile, not Rprofile.R. Any chance that you have similar code in two places? (~/.Rprofile and ./.Rprofile being the most obvious suspects). That is my first thought. As for the file, I made a typo in my post. It is indeed Rprofile.r ( r lower case). That could explain the welcome message. -pd> > Thank you. > -- > > google.com/+ <http://google.com/+arnaudgabourygabx>arnaudgabourygabx<http://google.com/+arnaudgabourygabx>> > ______________________________________________ > R-devel at r-project.org mailing list > https <https://stat.ethz.ch/mailman/listinfo/r-devel>://<https://stat.ethz.ch/mailman/listinfo/r-devel>stat.ethz.ch <https://stat.ethz.ch/mailman/listinfo/r-devel>/mailman/ <https://stat.ethz.ch/mailman/listinfo/r-devel>listinfo <https://stat.ethz.ch/mailman/listinfo/r-devel>/ <https://stat.ethz.ch/mailman/listinfo/r-devel>r-devel <https://stat.ethz.ch/mailman/listinfo/r-devel> -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com [[alternative HTML version deleted]]