updated remote host detection in Rprofile