You could do:
conn <- gzcon(url("http://api.stackoverflow.com/0.9/stats/"))
raw <- textConnection(readLines(conn))
data <- readLines(raw)
You could do:
conn <- gzcon(url("http://api.stackoverflow.com/0.9/stats/"))
raw <- textConnection(readLines(conn))
data <- readLines(raw)