Re: [R] system() command not working

2016-06-05 Thread J Payne
I forgot to add that setting the environment variable in .Renviron in my home directory *also* works. I have updated my question on Stackoverflow to include these answers. John On 6/5/16, 1:17 PM, "J Payne" wrote: >Thanks Berend, that’s super useful. In summary, here is

Re: [R] system() command not working

2016-06-05 Thread J Payne
Thanks Berend, that’s super useful. In summary, here is what I found: The problem (if I understand correctly) is that R was not passing environment variables to OSX El Capitan successfully. In any case: These do not work: 1. Setting the environment variable in my .bash_profile (for example

Re: [R] system() command not working

2016-06-05 Thread J Payne
Thanks very much Roy! I will post to R-Sig-Mac. I browsed their archives but didn’t see anything about the issue – I might have missed something, though. John On 6/4/16, 1:12 PM, "Roy Mendelssohn - NOAA Federal" wrote: >Hi John: > >When El Capitan first came

Re: [R] system() command not working

2016-06-05 Thread Berend Hasselman
> On 4 Jun 2016, at 22:12, Roy Mendelssohn - NOAA Federal > wrote: > > Hi John: > > When El Capitan first came out there was a discussion in the R-SIg-Mac list > about environmental variables not being passed down to applications (not > just R abut in general).

Re: [R] system() command not working

2016-06-04 Thread Roy Mendelssohn - NOAA Federal
Hi John: When El Capitan first came out there was a discussion in the R-SIg-Mac list about environmental variables not being passed down to applications (not just R abut in general). I believe a work around was suggested, but I would search the archives for that. So what is happening,

[R] system() command not working

2016-06-04 Thread J Payne
I’ve posted this question on StackExchange at http://stackoverflow.com/questions/37604466/r-system-not-working-with-modis-reprojection-tool, but haven’t received any replies.  I’m hoping that someone who understands the operation of the R system() command can help.  I have a command that