Re: [R] RCurl and cookies in POST requests

2010-11-24 Thread Christian M.
Hi Duncan. Duncan Temple Lang (Sunday 21 November 2010, 16:23): [...] There is a new version of the RCurl package on the Omegahat repository and that handles this case. [...] I just downloaded the new RCurl version (1.5-0.1, for Windows) from:

Re: [R] RCurl and cookies in POST requests

2010-11-21 Thread Duncan Temple Lang
Hi Christian There is a new version of the RCurl package on the Omegahat repository and that handles this case. The issue was running the finalizer to garbage collect the curl handle, and it was correctly not being released as the dynCurlReader() update function was precious and had a reference

Re: [R] RCurl and cookies in POST requests

2010-11-15 Thread Christian M.
Hello Duncan. Thanks for having a look at this. As soon as I get home I'll try your suggestion. BTW, the link to the omega-help mailing list seems to be broken: http://www.omegahat.org/mailman/listinfo/ Thank you. chr Duncan Temple Lang (Monday 15 November 2010, 01:02): Hi Christian

[R] RCurl and cookies in POST requests

2010-11-14 Thread Christian M.
Hello. I know that it's usually possible to write cookies to a cookie file by removing the curl handle and doing a gc() call. I can do this with getURL(), but I just can't obtain the same results with postForm(). If I use: curlHandle - getCurlHandle(cookiefile=FILE, cookiejar=FILE) and then

Re: [R] RCurl and cookies in POST requests

2010-11-14 Thread Duncan Temple Lang
Hi Christian Thanks for finding this. The problem seems to be that the finalizer on the curl handle seems to disappear and so is not being called when the handle is garbage collected. So there is a bug somewhere and I'll try to hunt it down quickly. In the meantime, you can achieve the same