An R User’s Guide to Other Programming Languages (2024)

Posted on August 11, 2024 by Albert Rapp in R bloggers | 0 Comments

[This article was first published on Albert Rapp, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Real-world problem often happen at the intersection of many areas. For example, maybe you want to build a web app for easier data ingestion. As an R user that’s no problem. You can easily dabble into the world of web development using the fantastic Shiny package.

But if you’re in that world, you will soon reach the boundaries of where using only R code can get you out of trouble. You will soon find that any meaningful Shiny app will have to sooner rather than later deal with problems that happen at the intersection of R and traditional webdev languages like HTML, CSS & JS. That’s where it helps to know a bit about these languages.

Similarly, you may want to incorporate a cool machine learning model into your app that’s only available in Python. In that case, knowing how to handle Python can be beneficial. Even if you do most of your scripting in R.

Or if some part of your R analysis is slow, it can be helpful to refactor some of your code in a compiled programming language like C++. That way, some of your bottle-neck functions can become blazingly fast all of a sudden.

And there are lots more examples where knowing your way around other programming languages can be really helpful. No one is saying that you need to give up R and become an expert in the other languages, though. You can make great progress by just knowing the basics of a language and combining that with your programming knowledge that you have already acquired through R programming.

In that spirit, this collection of resources is supposed to help you ease your way into other programming languages. The goal here is to highlight resources that will give you a gentle nudge towards these other languages when coming from R. Some of the resources I have created, some of them are things I’ve collected from the wider R community. If I forgot one of your favorite resources, don’t hesitate to put them into the comments.

Python

Probably the most popular data science programming language currently is Python. It’s particularly strong in the ML field.

HTML & CSS

If you ever want to make your {gt}/{flextable}/{reactable} tables or your Shiny app or your Quarto documents look nice, then there’s no way around these two languages. A lot of the things that these languages can offer you, can be practiced from within R using the {htmltools} package.

Javascript

Javascript (JS) is another language that is used everywhere within web development. If HTML & CSS make your documents, tables and apps look nice, JS makes them interactive.

  • A nice way to dip your toes into the JS waters comes via Observable plots. They give you a nice way to to create charts using the grammar of graphics (just like {ggplot2}). A nice side-by-side comparison can be found in this fantastic guide by Allison Horst

  • There is also a nice video series for Observable plots.

  • A nice and free resource is also the JavaScript for R book by John Coene

  • If you want to take a deeper dive into web development with Javascript, you may also enjoy the free “Deep Dive Into Modern Web Development” course (even if it’s not R centered)

Related

To leave a comment for the author, please follow the link and comment on their blog: Albert Rapp.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

An R User’s Guide to Other Programming Languages (2024)

References

Top Articles
2013 Used Honda Civic Sedan 4dr Manual Si at Lamborghini North Scottsdale Serving Phoenix, Tucson, Las Vegas, AZ, IID 22551097
Precision Auto Sales of Tucson 2006 Acura TL
Where To Go After Howling Pit Code Vein
Tabc On The Fly Final Exam Answers
Coverage of the introduction of the Water (Special Measures) Bill
Craigslist Mpls Mn Apartments
Culver's Flavor Of The Day Wilson Nc
Sprague Brook Park Camping Reservations
Truist Drive Through Hours
How Quickly Do I Lose My Bike Fitness?
Lesson 2 Homework 4.1
Osrs Blessed Axe
Gas Station Drive Thru Car Wash Near Me
More Apt To Complain Crossword
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Red Tomatoes Farmers Market Menu
charleston cars & trucks - by owner - craigslist
Teenleaks Discord
Connect U Of M Dearborn
Dignity Nfuse
Atdhe Net
THE FINALS Best Settings and Options Guide
Nsa Panama City Mwr
How To Find Free Stuff On Craigslist San Diego | Tips, Popular Items, Safety Precautions | RoamBliss
Kabob-House-Spokane Photos
Inter Miami Vs Fc Dallas Total Sportek
Marokko houdt honderden mensen tegen die illegaal grens met Spaanse stad Ceuta wilden oversteken
Mikayla Campinos: Unveiling The Truth Behind The Leaked Content
Visit the UK as a Standard Visitor
Where to eat: the 50 best restaurants in Freiburg im Breisgau
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
Kamzz Llc
1475 Akron Way Forney Tx 75126
Landing Page Winn Dixie
Colin Donnell Lpsg
Baddies Only .Tv
Jambus - Definition, Beispiele, Merkmale, Wirkung
Culver's Hartland Flavor Of The Day
Puerto Rico Pictures and Facts
Microsoftlicentiespecialist.nl - Microcenter - ICT voor het MKB
What Time Does Walmart Auto Center Open
Blue Beetle Movie Tickets and Showtimes Near Me | Regal
11 Pm Pst
Laurin Funeral Home | Buried In Work
Quake Awakening Fragments
Join MileSplit to get access to the latest news, films, and events!
Citibank Branch Locations In Orlando Florida
Frigidaire Fdsh450Laf Installation Manual
Pgecom
Blow Dry Bar Boynton Beach
Deshuesadero El Pulpo
Stone Eater Bike Park
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 6482

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.