Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search path for modules #29

Closed
gaborcsardi opened this issue Jul 30, 2014 · 1 comment
Closed

Search path for modules #29

gaborcsardi opened this issue Jul 30, 2014 · 1 comment

Comments

@gaborcsardi
Copy link

Similar to PYTHONPATH and sys.path in Python.

It happens that I am running some R code in a temporary directory, as part of a build, and want to import some modules. I could use absolute file names, but some mechanism to set the import path would be better I think.

@klmr
Copy link
Owner

klmr commented Jul 30, 2014

This already exists: See the section Usage in the README:

you can either set the environment variable R_IMPORT_PATH or, inside R, options('import.path') in order for import to find modules present there.

@klmr klmr closed this as completed Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants