I am constructing an URI in R which is generated on the fly with ~40000 characters.
I tried using
RCurl
jsonlite
curl
All three give a bad URL
Error when connecting through a HTTP GET request
. I am refraining from using httr
as it will install 5 additional dependencies
, while I want minimum dependency in my R program. I am unsure if even httr
would be able to handle so many characters in URL.
Is there a way that I can encode/pack it to a allowed limit or a better approach/package that can handle URL
of any length similar to python's urllib
?
Thanks in advance.