Re: [R] Closing FTP sessions with RCurl

2016-06-15 Thread J Payne
Fantastic!  That did the trick.  I still suspect that there may be a command within RCurl that accomplishes the same thing, but in any case I’m very grateful to have a solution that works.  Best, John From: William Dunlap Date: Wednesday, June 15, 2016 at 12:57 PM To: J Payne Cc

Re: [R] Closing FTP sessions with RCurl

2016-06-15 Thread J Payne
url/index.html";, curl = curl) >} > >On Tue, Jun 14, 2016 at 2:41 PM, J Payne wrote: >> Does anyone know how to close an FTP session with RCurl? I am trying to >> automate the process of downloading snow data from a government website, and >> their server is

[R] Closing FTP sessions with RCurl

2016-06-14 Thread J Payne
Does anyone know how to close an FTP session with RCurl?  I am trying to automate the process of downloading snow data from a government website, and their server is throttling the connection after a few files are downloaded.  I contacted their system administrator, who wrote: “My suspicion at t

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
ause i can’t remember what the work around was for >> it. >> > >I can't find the discussion on R-SIG-Mac list. But you can try this: > >MRT_DATA_DIR= open -a Rstudio > >or > >MRT_DATA_DIR= open -a R > >Try it and see what happens. >It may even be possible t

Re: [R] system() command not working

2016-06-05 Thread J Payne
can’t remember what the work around was for it. > >HTH, > >-Roy > >> On Jun 4, 2016, at 11:59 AM, J Payne wrote: >> >> I’ve posted this question on StackExchange at >> http://stackoverflow.com/questions/37604466/r-system-not-working-with-modis-reprojection-tool, &

[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 wo