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

All variables by environment viewer #47

Closed
Ikuyadeu opened this issue Jan 28, 2018 · 7 comments
Closed

All variables by environment viewer #47

Ikuyadeu opened this issue Jan 28, 2018 · 7 comments

Comments

@Ikuyadeu
Copy link
Member

From #23

Is there an environment variable viewer in your extension in which we could see all the variables created in R and their values like in R studio?
image

I think it is not so difficult.
If other users want to this function, I'll implement.

@jacob-long
Copy link
Contributor

I think this would be great and would be an important step for a lot of RStudio converts.

@hfberg
Copy link

hfberg commented May 22, 2019

Hi! Any news on a variable viewer? Is there a way to view the variables? This is a huge issue for me, I have intricate objects and I need to be able to view them. So far I haven't run across a command/ option to open this variable viewer in the R extension for VS code. If this is not fixed i will have to change back into RStudio. :(:(:(

@wleoncio
Copy link
Contributor

A primitive implementation of this would be to have a panel that calls ls.str() when a change in the environment is detected. Perhaps even a keyboard shortcut for that function will do at first.

@andycraig
Copy link
Collaborator

Hi @wleoncio, thank you for your suggestions. Their is a command R: Preview Environment that can be called to display a simple summary of the environment (although it seems to have some problems at the moment: #92).

Detecting a change in the environment is tricky as vscode-R has to send text to the console to communicate with the R session.

@wleoncio
Copy link
Contributor

Oh, so that's what "Preview Environment" does! I've tried that command in the past, but for whatever reason I couldn't figure out what I was looking at (don't ask). Anyway, TIL, thanks!

@andycraig
Copy link
Collaborator

Hi @Ikuyadeu, I’m closing this issue because I think the R: Preview Environment command provides this functionality. Please reopen if there are still features that need to be added. Thank you!

@Ikuyadeu
Copy link
Member Author

@andycraig Ok, Thank you for your managing!

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

No branches or pull requests

5 participants