Call Sage from R

asked 2021-04-03 14:41:18 +0200

antunescarles gravatar image

Hi,

I have some functions and scripts written written in sage that uses symmetric functions, integer partitions, some poset and matrix stuff. I want to offer this functions to R users but since the code is large and complicated enough I'd like to avoid rewriting it.

Is there any way I can reuse what I have in sage? I know about the existence of SymPy, but I don't know if that's useful, because even while sympy has some code for, e.g, dealing with symmetric functions, it is probably not the same as the sage one, and still forces me rewrite a large amount of code.

I don't even know if this can actually be done, but it would be really useful.

Thanks in advance.

edit retag flag offensive close merge delete