[英]How do I check current variables when running a project in RStudio?
Is there a way to check currently set variables and their corresponding values when running a project in RStudio?在 RStudio 中运行项目时,有没有办法检查当前设置的变量及其对应的值?
This is for debugging purposes and am seeking an alternative to the browser() command.这是出于调试目的,正在寻找 browser() 命令的替代方法。 The browser command does not always work it seems.
浏览器命令似乎并不总是有效。
I wouldn't necessarily say it's a debugging tool, and I honestly like working with browser()
, but are you aware of the environment tab?我不一定会说它是一个调试工具,而且我真的很喜欢使用
browser()
,但是您知道环境选项卡吗? Sound exactly like what you are describing.听起来和你描述的完全一样。 It's usually a tab in the pane alongside 'history', 'connections' and 'git' and lists eg variable names and values and allows you to inspect them.
它通常是窗格中“历史”、“连接”和“git”旁边的一个选项卡,并列出例如变量名称和值,并允许您检查它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.