PDA

View Full Version : Raspberry Pi and R



wraggster
January 20th, 2013, 19:09
http://hackadaycom.files.wordpress.com/2013/01/r.png?w=580&h=188
[Stephen] picked up a Raspberry Pi to do a little hardware hacking and add a blinking LED to the many feathers in his software development hat. He picked up an analog to digital converter and a temperature sensor that would serve him well in a few projects he wanted to put together, including a weather station and a small Pi-controlled home brewing setup. He ended up not liking Python, and didn’t like the C-ness of wiringPi. He’s a scientist, so he’s most comfortable with R and Matlab. Of course, playing around with a R and a Raspberry Pimeans replicating his sensor-reading code in R (https://plus.google.com/u/0/118229326887001973739/posts/gSQB3M6cph7).
[Stephen] put together a neat little package that will allow him to read his sensors over an SPI bus with his Raspberry Pi. Yes, this functionality can easily be duplicated with Python, but if you’re looking to generate beautiful graphs, or just do a whole lot of statistics on something, R is the tool you need.
It’s a cool project, even if it is only measuring the temperature. Using R for the nerd cred isn’t bad, either.

http://hackaday.com/2013/01/20/raspberry-pi-and-r/