I just started playing around with the Twitter Streaming API and using the command line, redirect the raw JSON reponses to a file using the command below:
cu
Try the twitter api package for R.
install.packages('twitteR') library(twitteR)
I think this is what you need.