Restore R library and documentation