safe_deparse {lazy.symbolic} | R Documentation |
Deparse an expression into a single string
Description
A wrapper around deparse() that ensures the entire expression is returned as a single string without embedded spaces.
Usage
safe_deparse(expr)
Arguments
expr |
and expression to be deparsed |
Details
Japanese help file: safe_deparse_JPH
Value
a text string
Examples
modify_math_operators()
text=
"Diag(A)%*%B%*%Diag(C)%*%H-Diag(A)%*%B%*%E%*%H+Diag(A)%*%F%*%H+t(A)%*%G%*%H"
expr=parse(text=text)[[1]]
deparse(expr)
safe_deparse(expr)
[Package lazy.symbolic version 1.0.0.20250830 ]