R libraries for common procedures