From murdoch@dunc@n @end|ng |rom gm@||@com  Sat Jun  5 22:08:36 2021
From: murdoch@dunc@n @end|ng |rom gm@||@com (Duncan Murdoch)
Date: Sat, 5 Jun 2021 16:08:36 -0400
Subject: [Rd] Remove env var with .Renviron?
In-Reply-To: <0cee5c91-9d03-861c-3960-96b1503a2322@gmail.com>
References: <0cee5c91-9d03-861c-3960-96b1503a2322@gmail.com>
Message-ID: <69c3c633-786f-a432-1bd5-73ead5b0d177@gmail.com>

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



[Rd] Remove env var with .Renviron?
Duncan Murdoch