fixed some compiler warnings
R generator enhancements