A friend sent me along this great tutorial on webscraping NYtimes with R. I would really love to try it. However, the first step is to installed a package called RJSONIO from source.
I know R reasonably well, but I have no idea how to install a package from source.
I'm running Mac OSX.
Download the source package, open Terminal.app, navigate to the directory where you currently have the file, and then execute:
Do note that this will only succeed when either: a) the package does not need compilation or b) the needed system tools for compilation are present. See: https://cran.r-project.org/bin/macosx/tools/