R doc and library tweaks
R: change docs and demos to use correct connection syntax