thanks for your reply, I don't think I am behind a firewall or proxy.
I'm using anaconda. I tried using the following command:
install.packages('reticulate', dependencies=TRUE, repos='http://cran.rstudio.com/')
and that seems to install reticulate, although I am still having issues calling python. e.g. if I write a python script called add.py with the following code:
def add(x, y):
return x + y
and then try to call it from an R script:
library(reticulate)
source_python('add.py')
add(5, 10)
I get the following error messages:
> library(reticulate)
>
> source_python('add.py')
Error in py_run_file_impl(file, local, convert) :
Unable to open file 'add.py' (does it exist?)
> add(5, 10)
Error in add(5, 10) : could not find function "add"
any ideas on what might be causing this will be most appreciated! thanks!