Re: [R-pkg-devel] adding rPython as a suggested package

2017-12-02 Thread Bruce Hoff
Hi: Just a comment tangentially related to this topic: There are a number of R packages for calling Python from R, including the "rPython" and "reticulate" packages mentioned in this thread. Another is "PythonInR". ( https://cran.r-project.org/web/packages/PythonInR/index.html). These packages

Re: [R-pkg-devel] adding rPython as a suggested package

2017-12-01 Thread Iñaki Úcar
2017-12-01 7:50 GMT+01:00 Slava Lyubchich : > Hello, > > I have a package on CRAN (funtimes) and I am trying to add a function > that uses some Python code (only one function in the package needs > Python, others do not). In order to do that, I > 1) add in the DESCRIPTION > Suggests: rPython > 2) i

[R-pkg-devel] adding rPython as a suggested package

2017-12-01 Thread Slava Lyubchich
Hello, I have a package on CRAN (funtimes) and I am trying to add a function that uses some Python code (only one function in the package needs Python, others do not). In order to do that, I 1) add in the DESCRIPTION Suggests: rPython 2) in the R function, use rPython::python.load("CRAD.py") 3)