search for: sympyq

Displaying 1 result from an estimated 1 matches for "sympyq".

Did you mean: sympy
2012 Apr 14
2
some questions about sympy (that is, rSymPy)
...;) and so on. Inspired by the function cq from mvbutiles package: library(mvbutils) > cq function (...) { as.character(sapply(as.list(match.call(expand.dots = TRUE))[-1], as.character)) } <bytecode: 0x7fca88443f78> <environment: namespace:mvbutils> I tried to write > sympyq function(...) { arg <- as.character(match.call(expand.dots=TRUE)[-1]) thiscall <- as.call(list(as.name("sympy"), arg)) print( thiscall ) # for debugging eval(thiscall, parent.frame() ) } Some examples: (After doing Var("x,y,z") ) > sympyq(4+4) sympy(&quot...