HCSVLAB-740 Change R to handle relative and absolute paths for cache directory