from github  pull request #82


git-svn-id: https://svn.r-project.org/ESS/trunk@5976 0bbaf3bd-34e0-0310-bf65-c717079852d4