dream: take library path from the R command