I would like to make RStudio my defaul IDE, but the only thing holding me back is my need to use python as well as R. Right now, I'm having trouble as I need to transfer over my PYTHONPATH from spyder into R. How do I set up a python path manager in RStudio?
I did that in order to load python 3 (instead of the default python 2 my comp was using) but now I want to import a module from my file system.
Something like:
from FILE import FUNCTION
but I cannot do that unless
a) my working directory is where the FILE is being held (something I cannot do since there are multiple files all over my system
b) change my python path so that it knows so search along those paths for said FILE.
That would work for my R/Python markdown scripts!
but in this case I'm hoping to use python only files /:
There won't be any R involved in these files. I want to take code that I am currently using spyder for and change to running it in RStudio.