influxdb/influxdb-r — pull request #2 by julianrcook (2014-07-31 17:05:31+00:00)
Title: Update influxdb.R

The call to GET currently returns 'Error in function (type, msg, asError = TRUE) : couldn't connect to host'.
I traced this to the named arguments to GET. One of the lower level functions is looking for the field 'hostname', not host.
After I renamed the arg in GET to hostname = host, the call to influx worked..I am using httr 0.3, based on the help page. I am not sure if this is a version specific issue in httr.