[Rd] Remove env var with .Renviron?

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Jun 5 22:08:36 CEST 2021


On 05/06/2021 4:05 p.m., Duncan Murdoch wrote:
> I have two .Renviron files:  one in my home directory, one in the
> current directory.  From my reading of ?Startup, I thought the local one
> would override the home dir one, and if I set a value, it does.
> However, if the local .Renviron contains
> 
> RGL_DEBUGGING=
> 
> while the home one contains
> 
> RGL_DEBUGGING=true
> 
> I see that the env var is set to "true" when I start R.  I need to set
> the local one to
> 
> RGL_DEBUGGING=""
> 
> to set a zero-length value. Is this expected?

An update:  this looks like an RStudio bug; I'm not seeing the same 
weird behaviour in command line R.  Sorry for the noise!

Duncan Murdoch



More information about the R-devel mailing list