Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
djsamperi opened this issue Jan 7, 2019 · 2 comments
Open

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

djsamperi opened this issue Jan 7, 2019 · 2 comments

Comments

@djsamperi
Copy link
Contributor

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

@qnikst
Copy link
Contributor

qnikst commented Mar 15, 2019

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

@djsamperi
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants