So at least this file can be changed for this purpose,
library/base/R/Rprofile
Configure Windows 7 to resolve hostnames (source)
And there you go.
copied from http://blog.edwards-research.com/2009/09/lan-dns-resolution-with-wrt54g-dd-wrts-dsnmasq-linux-and-windows-7/