[Rd] R_PROFILE_USER
peter dalgaard
pdalgd at gmail.com
Sat Dec 5 21:39:34 CET 2015
> 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
More information about the R-devel
mailing list