I have had great luck using ChatGPT (4, not 3.5) to convert R code to Python code for me.
I don’t think there’s any packaging we have in Python with PyStan that’ll let you generate a binary package the way you can with the tools based on RStan. Hopefully @ariddell will correct me if I’m wrong about that.
I do everything in CmdStanPy now. It’s on PyPI so you can write other packages that depend on it fairly easily. But, a user is still going to need a C++ toolchain to make it run.
@mitzimorris: CmdStanR is not on CRAN, so you couldn’t write a package that depended on CmdStanR.
This is based on the work I did with the Facebook Prophet team to streamline their install process in Python. They had previously used PyStan, but lack of windows support pushed them off of it
D’oh. Of course. When I asked @mitzimorris she mentioned you had something like this. And I think you mentioned it to me when you were working on the prophet refactor.
Is there a reason it’s on your GitHub and not on stan-dev?
Could someone do the same thing for CmdStanR? If so, that may be an easier to maintain solution than RStan.
I wouldn’t mind if it was moved to stan-dev. It was just easier to do on my own, and avoided any question of if the project-at-large would sign off on the solution it presents. We do link to it from the cmdstanpy docs
I don’t know nearly as much about the state of R binary packaging, but I expect it would be possible
and would someone be willing to go the extra distance and put cookie-cutter cmdstanpy 4 R on CRAN?
“on CRAN” is seen as:
a) a good distribution channel
b) a version control mechanism
we need an R developer who’s willing to deal with C antankerous R ipley, A rrogant N uisance – any volunteers? (thanks to ChatGPT for decoding the acronym).
regarding reason a - why hasn’t the R community moved to R Universe?
Hi Stefano,
If you are still on the lookout for someone, I would be intrested as what you are wanting done is within my skillset
You can reach out to me on my email here
Colin