Efemkay's Digital Garden
Notes Feed How To My Website My Github Obsidian
← BACK

01 R programming

#MOC / for notes sub to 00 Coding00 Coding
#MOC / for programming language, coding guide and libraries focusing on data analytics and html/css
with focus on how I use Jekyll

Links to this note
Use R to scrape website with password login

scraping a website with login can use the same rvest library where it create a virtual web browser session and allow us to “navigate” through the w...

change file association in vscode if code chunk not detected

For first time setup for VS Code to run R Markdown, change the files association to enable it to run rmd file in code block chunks (like in R Studi...

enable better R plotting in VSCode

Enable R > Plot: Use httpgd is VS Code settings to have better support for R plots (especially multiple plot in single command) D...

log scale for R plot

We can use the Scales package ready function to make the axis scaled non linearly e.g. scale_x_continuous() or scale_x_log10(...) we can...

use assignment or gsub to replace values in R

If the value to be replaced is the entire cell value (like replacing “” with 0), it’s easier to use simple assignment. For the rest, we can use gsu...


© 2022 • Efemkay • Credits