safe_deparse {lazy.symbolic}R Documentation

Deparse an expression with maximum width.cutoff

Description

Deparse an expression with maximum width.cutoff

Usage

safe_deparse(expr)

Arguments

expr

and expression to be deparsed

Details

deparseをただすると、長いexprは文字列ベクトルになってしまうので、

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.20250803 ]