Misc R Utilities for Paul Hurley