adding r support

Includes .R config directory, history file and general-purpose .Rprofile (which overrides system defaults).