I want to use Tor in getURL function in R. Tor is working (checked in firefox), socks5 at port 9050. But when I set this in R, I get the f
getURL
socks5
port 9050
There are curl bindings for R, after which you can use curl to call the Tor SOCKS5 proxy server.
The call from the shell (which you can translate to the R binding) is:
curl --socks5-hostname 127.0.0.1:9050 google.com
Tor will do the DNS also for A records.