library(rSymPy) sympy("limit(1/x, x, oo)") sympy("limit(1/x, x, 0)") sympy("limit(x*log(x), x, 0)") sympy("limit(sin(x)/x*x, x, 0)") sympy("limit(exp(x)/x*x, x, 0)") sympy("limit(x**x, x, 0)") sympy("limit(x*exp(1)**-x, x, oo)") ##**代表幂 sympy("limit((cos(x)-1)/x**2, x, 0)")