Skip to main content
deleted 43 characters in body
Source Link
nico
  • 51.6k
  • 17
  • 90
  • 118

You could do:

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

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/"))
data <- readLines(conn)
Post Undeleted by nico
deleted 8 characters in body
Source Link
nico
  • 51.6k
  • 17
  • 90
  • 118

You could do:

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

EDIT: hmmmm.... this seems to give some weird results... maybe I forgot some parameter...

You could do:

unz("", "http://api.stackoverflow.com/0.9/stats/")

EDIT: hmmmm.... this seems to give some weird results... maybe I forgot some parameter...

You could do:

conn <- gzcon(url("http://api.stackoverflow.com/0.9/stats/"))
raw <- textConnection(readLines(conn))
data <- readLines(raw)
Post Deleted by nico
Source Link
nico
  • 51.6k
  • 17
  • 90
  • 118

You could do:

unz("", "http://api.stackoverflow.com/0.9/stats/")

EDIT: hmmmm.... this seems to give some weird results... maybe I forgot some parameter...