Vscode-r: All variables by environment viewer

Created on 28 Jan 2018  路  7Comments  路  Source: Ikuyadeu/vscode-R

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.

good first issue help wanted like RStudio

Most helpful comment

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!

All 7 comments

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

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. :(:(:(

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.

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.

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!

Hi @Ikuyadeu, I鈥檓 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!

@andycraig Ok, Thank you for your managing!

Was this page helpful?
0 / 5 - 0 ratings