HaskellR icon indicating copy to clipboard operation
HaskellR copied to clipboard

Using hexp to pretty-print SEXP returned by [r|expr|]

Open djsamperi opened this issue 6 years ago • 2 comments

It would be useful to view/pretty-print the SEXP structure returned by [r|expr|] using hexp. In particular, the R parse tree could be viewed using [r|parse(expr)|].

djsamperi avatar Jan 07 '19 19:01 djsamperi

Will inspect work for you, or you need something more structured?

qnikst avatar Mar 15 '19 07:03 qnikst

If I set x <- [r|some-r-expr|], how would I use inspect to view the SEXP structure n the R side corresponding to x? If I understand correctly, hexp can only provide a partial (single-unroll) view.

djsamperi avatar Aug 23 '21 00:08 djsamperi