I'm not sure if you've seen the other thread that addresses R and OPR, but I wrote an R package for downloading and manipulating FRC data in R. You might find it useful to peruse the source code, which is on github. I also have links to the R resources that I used in the
Getting Started Guide for the package. Links to everything are at
http://irwinsnet.github.io
sirwin