Re: [Rd] Evaluate values in `Sys.setenv`

2020-08-29 Thread Jeff King
ran/bin:/usr/local/clang8/bin:/Library/TeX/texbin:/opt/X11/bin" > > which you can then pass to Sys.setenv(). > > -pd > > > On 28 Aug 2020, at 11:00 , Jeff King wrote: > > > > Hi all, > > > > I would like to know if there is any way to evaluate th

[Rd] Evaluate values in `Sys.setenv`

2020-08-28 Thread Jeff King
Hi all, I would like to know if there is any way to evaluate the values in `Sys.setenv` before setting the environment variables. For example, if we want to add a path to the environment variable `PATH`, we can do this in a terminal ``` > export PATH=~/mypath:$PATH > echo $PATH

[Rd] A warning in gzcon but not in gzfile

2020-06-29 Thread Jeff King
Hi all, I used `gzfile` and `gzcon` to read a compressed file but I found that `gzcon` gave me a different result than `gzfile`. It seems like the `gzcon` does not handle the data correctly. I have posted an example below. In the example, a portion of a compressed file is downloaded from Google