Skip to content

Instantly share code, notes, and snippets.

@MilesMcBain
Created June 29, 2022 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MilesMcBain/8732ac8908bab409a60eefd98d3be533 to your computer and use it in GitHub Desktop.
Save MilesMcBain/8732ac8908bab409a60eefd98d3be533 to your computer and use it in GitHub Desktop.
remote .Rprofile VSCode settings
options(
vsc.rstudioapi = TRUE,
vsc.browser = "Beside",
vsc.dev.args = list(width = 1200, height = 900),
vsc.str.max.level = 2
)
@MilesMcBain
Copy link
Author

There's really nothing interesting there apart from vsc.dev.args which makes the images from plots higher res. The default res is potato quality.

I don't have {httpgd} installed so I'm always using the image method. But if you have it installed you can try disabling it by adding vsc.use_httpgd = FALSE to above.

Good luck @jaredlander!

@jaredlander
Copy link

Thanks! Going to try this right away.

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