Closed bnicenboim closed 3 years ago
Thanks for reporting this. I will have a look and get back.
It does indeed seem difficult to get this working. I have tried playing around a bit, and I am afraid that I have not been able to find a way to make this possible. Maybe you can try asking at the reticulate
package (and cross-reference this)?
Hey @mikldk , @bnicenboim , this might be a similar issue: https://github.com/rstudio/reticulate/issues/817
@bnicenboim Do you have any examples of how you will use this? Then we might be able to help out with that.
It was too long ago, I don't remember... probably to create functions.
In any case, I started to use directly sympy and export the python objects with py$obj
.
@bnicenboim Ok. You are always welcome to suggest other ways of improving caracas
. I'll close this for now.
I realize this is not really your "fault", it's something from reticulate but I can't manage to do the following (I'm also trying my luck here https://community.rstudio.com/t/sympy-functions-in-r/70156). Maybe you are more experienced with reticulate and sympy and can give me a solution (and improve your package).
I'm trying to adapt the following python code:
It should be something like this
But it seems I need to convert the input of the sympy functions somehow, but I couldn't figure out how.