tweag / HaskellR

The full power of R in Haskell.

Home Page:https://tweag.github.io/HaskellR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

djsamperi opened this issue · 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)|].

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

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.