I gave today a talk on one possible way of using R package ‘ooacquire’. I used for the presentation a video with programmed pauses. The pauses are missing from this exported MP4 video file.
The only difference from the version released a year ago is the addition of support for an additional feature and a method: “internal trigger” and method “getLastException”, both seem to be supported by only few spectrometer types.
This is the second release of package ‘ooacquire’. It is an important update as it include bug fixes and enhancements which have some (minor) effect on the calculated spectral values. The update also removes some spurious warnings and has additional documentation, although not yet in final form.This package allows the acquisition of spectral data from spectrometers from Ocean Optics connected through the OmniDriver run-time, which is available at no cost from Ocean Optics. The current version implements several corrections and measuring protocols unavailable elsewhere in a single modular framework. Some of these cannot be used off-the-shelf as they require the characterisation and calibration of each individual spectrometer, so as to obtain usable values for constants. However, once these constants are available they can be passed as data arguments without need to modify the package itself. Functions are provided for spectral irradiance, spectral transmittance and spectral reflectance measurements. As transmittance and reflectance measurements are normally done relative to reference objects the calibration requirements are less involved than for spectral irradiance.
The package is available through r4photobiology repository.
Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/ooacquire/issues
It is always best to keep R up-to-date. This is not a major release, but instead mostly a bug fix release.
If you are using R on MS-Windows then you can very painlessly upgrade R with package ‘installr’. These are the needed steps, that should be carried out not in RStudio but in RGUI (i.e. double click the R icon on your desktop).
At the console enter:
install.packages("installr") # install setInternet2(TRUE) # only for R versions older than 3.3.0 installr::updateR() # updating R.
Follow the prompts. I suggest that you copy and update the packages in the library.