R paths fixes