R and radian on macOS and VSCode

Install R for macOS

Install radian

$ export R_HOME=/Library/Frameworks/R.framework/Resources

Install the R extension in VSCode

# add (10, 1)
add <- function(x, y) {
x + y
}
print(add (1, -2))
print(add (1.0e10, 2.0e10))
print(paste ("one", NULL))
print(paste (NA, 'two'))
print(paste ("multi-
line",
'multi-
line'))

R LSP Client

Conclusion

--

--

--

https://luongbui.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Kontributes CrowdFund

Makefiles for automation and better dev-UI

CS373 Spring 2022: Anthony Modica

Why You Need to Shift Your Data Monitoring Left

Step-By-Step Instructions For Creating A WordPress Blog Running on An EC2 Instance in AWS

Django Tutorial #8: Views and Templates

ArthSwap Now and in the Future — Milestones and Roadmap

Creating an AWS Launch Template with AAA Reliability

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luong Bui

Luong Bui

https://luongbui.com/

More from Medium

Running queries on Azure SQL Database without SSMS

C# — How to Write Data to Excel

Moving SQL Server to different domain

Tools to Create Graphs, Tables and Equations in Academic Writing — Latex, Draw.io, Asana and more