forget about the ugly hack; just let both R and Rd share library paths ~/R and /usr/lib/R/site-library