updated to relative paths for R headers