Open hjnnjh opened 12 months ago
Maybe reinstall R from CRAN is an alternative way to solve this problem.
From personal experience, this extension does not work well with httpgd
+ vscode-R
. In my personal .Rprofile I have therefore disabled httpgd in debug sessions:
if(Sys.getenv('VSCODE_DEBUG_SESSION')=='1'){
options(vsc.plot = FALSE)
options(vsc.use_httpgd = FALSE)
}
From personal experience, this extension does not work well with
httpgd
+vscode-R
. In my personal .Rprofile I have therefore disabled httpgd in debug sessions:if(Sys.getenv('VSCODE_DEBUG_SESSION')=='1'){ options(vsc.plot = FALSE) options(vsc.use_httpgd = FALSE) }
Thanks for your reply! I solved this problem by adding it to my .Rprofile
.
I just add a
.Rprofile
according to this. I can view data in vscode now. However, the function of printing figures vanished. Before adding the.Rprofile
, Quartz will provide the function to show figures but I can't view data via X11. The X11 support of myR
seems incomplete because I installedR
viabrew
. BTW, I' m usinghttpgd
to show figures in vscode. May I ask why there is such a problem? Is there a way to fix this?