maintain resource path across R session restart