Elio Campitelli on Nostr: Any #RStats and curl guru can help me translate a curl (CLI) command to it's ...
Any #RStats and curl guru can help me translate a curl (CLI) command to it's equivalent curl (R package) invocation?
```
curl -b ~/.urs_cookies -c ~/.urs_cookies -L -n -O url
``
I've tried with
```
handle_setopt(h,
cookiejar = "~/.urs_cookies",
cookiefile = "~/.urs_cookies",
followlocation = TRUE,
netrc = TRUE,
httpauth = 1L,
netrc_file = "~/.netrc")
```
with no success.
```
curl -b ~/.urs_cookies -c ~/.urs_cookies -L -n -O url
``
I've tried with
```
handle_setopt(h,
cookiejar = "~/.urs_cookies",
cookiefile = "~/.urs_cookies",
followlocation = TRUE,
netrc = TRUE,
httpauth = 1L,
netrc_file = "~/.netrc")
```
with no success.