Your First "Hello World" Program | Introduction R Programming | Part 1

Data Science Dojo · Beginner ·🛠️ AI Tools & Apps ·7y ago

Key Takeaways

Introduction to R programming with a Hello World program, covering variable assignment and print function.

Full Transcript

[Music] hi there welcome to this data science dojo video series on learning our in basic programming for data science this introduction to our video series will not only get you up to speed an hour but also programming 101 or programming foundations it's intended for people with little to no background in programming or any experience in programming so it's a gentle and efficient way to get you up to speed once you know how to make these commands in are you're pretty much set to follow along the bootcamp without much struggle on the coding side of things so if you haven't done so already and still are in our studio you can go to our tutorials site you just see getting started video in the our section of this installing our own Windows OSX and Linux so your first program you ever write in any programming language is your classic hello world print statement here so we're basically going to create a variable name and assign or store string values so the words hello well to that variable and use the print function to print out the variable to what we just stored inside that variable we will explain assigning variables inputs into functions what a string data type is and what is a variable further on the series but this is just to give you an idea of the core concepts of our programming that you'll learn throughout the series so let's start this basic hello world program from scratch so to easily edit our code we're going to open up a new a script file here and a panel will pop up for us to start writing our code we can also directly write our code in this window here sometimes it's just easier to write code and I kind of control the editor window any output after running our code will appear in the other window here so we'll store hello world inside a variable so let's give our variable a name and call this hello string now we need to store a string or tie that string to a variable so we'll use this operator to tie it to a variable and what we wanted tie to that variable is the string of characters hello world in programming sometimes we read things backwards so there's a data value here that we tie or assign to a variable here what color variables are more detailed later on in the series now we want to print our variables so we'll use the print function for this and inside this function we feed it what we want to print which is our variable that stores the string color wells all right so let's run these lines of code if you just place your cursor either at the end or the beginning of the line or you can highlight it as well we'll just hit this Run button here okay great it's successfully output the string hello world we have just coded our first program that prints hello world in our this is even more efficient because we don't even have to reuse the print function for this we can just use the barium like the variable name hello string and it will print the output string so I show you what I mean here if we type hello world oh hello string we hit run we'll see it successfully also printed hallo world in the next video we'll cover our main atomic datatypes

Original Description

Learn how to write your first program, the classic ‘Hello, World’ print statement. You’ll learn how to create a variable name, assign or store a string value to that variable, and use the print function to print out the variable. This Introduction to R video series will get you up to speed on R and programming 101 or programming foundations. Table of Contents: 0:00 – Introduction 0:32 – Getting started 0:45 – Your first program Dataset: https://code.datasciencedojo.com/datasciencedojo/tutorials/blob/master/Datasets/income.csv -- Learn more about Data Science Dojo here: https://datasciencedojo.com/data-science-bootcamp/ Watch the latest video tutorials here: https://tutorials.datasciencedojo.com/ See what our past attendees are saying here: https://datasciencedojo.com/bootcamp/reviews/#videos -- Like Us: https://www.facebook.com/datasciencedojo Follow Us: https://twitter.com/DataScienceDojo Connect with Us: https://www.linkedin.com/company/datasciencedojo Also find us on: Instagram: https://www.instagram.com/data_science_dojo Vimeo: https://vimeo.com/datasciencedojo #rtutorial #rprogramming
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Data Science Dojo · Data Science Dojo · 0 of 60

← Previous Next →
1 Feature Engineering and Predictive Modeling | Data Analytics with R and Azure ML | Community Webinar
Feature Engineering and Predictive Modeling | Data Analytics with R and Azure ML | Community Webinar
Data Science Dojo
2 Data Exploration and Visualization | Beginning Azure ML | Part 3
Data Exploration and Visualization | Beginning Azure ML | Part 3
Data Science Dojo
3 Reading External Data Sources | Beginning Azure ML | Part 2
Reading External Data Sources | Beginning Azure ML | Part 2
Data Science Dojo
4 Importing Data, Accessing, & Creating a New Experiment | Beginning Azure ML | Part 1
Importing Data, Accessing, & Creating a New Experiment | Beginning Azure ML | Part 1
Data Science Dojo
5 Casting Columns & Renaming Columns | Beginning Azure ML | Part 4
Casting Columns & Renaming Columns | Beginning Azure ML | Part 4
Data Science Dojo
6 Scrub Missing Values & Project Columns | Beginning Azure ML | Part 5
Scrub Missing Values & Project Columns | Beginning Azure ML | Part 5
Data Science Dojo
7 Feature Engineering & R Script | Beginning Azure ML | Part 6
Feature Engineering & R Script | Beginning Azure ML | Part 6
Data Science Dojo
8 Building Your First Model | Beginning Azure ML |  Part 7
Building Your First Model | Beginning Azure ML | Part 7
Data Science Dojo
9 Run and Fine-Tune Multiple Models | Beginning Azure ML | Part 8
Run and Fine-Tune Multiple Models | Beginning Azure ML | Part 8
Data Science Dojo
10 Deploying Your First Predictive Model As a Web Service | Beginning Azure ML | Part 9
Deploying Your First Predictive Model As a Web Service | Beginning Azure ML | Part 9
Data Science Dojo
11 Using R API to Obtain Predictions From Your Web Service Beginning Azure ML | Part 10
Using R API to Obtain Predictions From Your Web Service Beginning Azure ML | Part 10
Data Science Dojo
12 Using Python API to Obtain Predictions From Your Web Service | Beginning Azure ML | Part 11
Using Python API to Obtain Predictions From Your Web Service | Beginning Azure ML | Part 11
Data Science Dojo
13 Twitter Sentiment Analysis | Natural Language Processing | Community Webinar
Twitter Sentiment Analysis | Natural Language Processing | Community Webinar
Data Science Dojo
14 Listening to the Melody of the Universe (LIGO Gravitational Waves Presentation) | Community Webinar
Listening to the Melody of the Universe (LIGO Gravitational Waves Presentation) | Community Webinar
Data Science Dojo
15 David Wechsler on the Impact of Data Science Bootcamp
David Wechsler on the Impact of Data Science Bootcamp
Data Science Dojo
16 Andrew Choi on the Impact of Data Science Bootcamp
Andrew Choi on the Impact of Data Science Bootcamp
Data Science Dojo
17 Microsoft's Software Engineer Shares Her Experience with Data Science Bootcamp
Microsoft's Software Engineer Shares Her Experience with Data Science Bootcamp
Data Science Dojo
18 Michael DAndrea on the Impact of Data Science Bootcamp
Michael DAndrea on the Impact of Data Science Bootcamp
Data Science Dojo
19 Data Driven Decision-Making with Data Science Bootcamp: Artem Kopelev's Revelation
Data Driven Decision-Making with Data Science Bootcamp: Artem Kopelev's Revelation
Data Science Dojo
20 Learn the Fundamentals of Data Science: Srinivas Rao's Experience with Data Science Bootcamp
Learn the Fundamentals of Data Science: Srinivas Rao's Experience with Data Science Bootcamp
Data Science Dojo
21 Re-Learning Data Science with Data Science Bootcamp: Analyst's Revelation
Re-Learning Data Science with Data Science Bootcamp: Analyst's Revelation
Data Science Dojo
22 Scale R to Big Data with Hadoop & Spark | Community Webinar
Scale R to Big Data with Hadoop & Spark | Community Webinar
Data Science Dojo
23 Enhancing Skills with Data Science Bootcamp: Sharon Lane-Getaz's Revelation
Enhancing Skills with Data Science Bootcamp: Sharon Lane-Getaz's Revelation
Data Science Dojo
24 Ryan DeMartino on the Impact of Data Science Bootcamp
Ryan DeMartino on the Impact of Data Science Bootcamp
Data Science Dojo
25 Software Engineer at Microsoft Reveals About His Experience with Data Science Bootcamp
Software Engineer at Microsoft Reveals About His Experience with Data Science Bootcamp
Data Science Dojo
26 Wade Wimer on the Impact of Data Science Bootcamp
Wade Wimer on the Impact of Data Science Bootcamp
Data Science Dojo
27 Analyzing Data with Data Science Bootcamp: Hannah Richta's Revelation
Analyzing Data with Data Science Bootcamp: Hannah Richta's Revelation
Data Science Dojo
28 Applying Data Science Skills to The Current Role with Bootcamp: Marcos Lacayo's Revelation
Applying Data Science Skills to The Current Role with Bootcamp: Marcos Lacayo's Revelation
Data Science Dojo
29 Lance Milner on the Impact of Data Science Bootcamp
Lance Milner on the Impact of Data Science Bootcamp
Data Science Dojo
30 Deloitte's Data Scientist Revelation: Learning Predictive Analytics with Data Science Bootcamp
Deloitte's Data Scientist Revelation: Learning Predictive Analytics with Data Science Bootcamp
Data Science Dojo
31 Rajesh Patil's Experience at Data Science Bootcamp As an Enterprise Architect
Rajesh Patil's Experience at Data Science Bootcamp As an Enterprise Architect
Data Science Dojo
32 Michael Atlin on the Impact of Data Science Bootcamp
Michael Atlin on the Impact of Data Science Bootcamp
Data Science Dojo
33 Amina Tariq's In-Person Experience at Data Science Bootcamp
Amina Tariq's In-Person Experience at Data Science Bootcamp
Data Science Dojo
34 Ceo's Revelation about Data Science Bootcamp
Ceo's Revelation about Data Science Bootcamp
Data Science Dojo
35 Stephen Miller Describes His Experience at Data Science Dojo's Bootcamp
Stephen Miller Describes His Experience at Data Science Dojo's Bootcamp
Data Science Dojo
36 Kevin Hillaker on the Impact of Data Science Bootcamp
Kevin Hillaker on the Impact of Data Science Bootcamp
Data Science Dojo
37 Marko Topalovic's Experience with Data Science Bootcamp
Marko Topalovic's Experience with Data Science Bootcamp
Data Science Dojo
38 Text Analytics With Python, Cognitive Services & PowerBI | Data Analytics | Community Webinar
Text Analytics With Python, Cognitive Services & PowerBI | Data Analytics | Community Webinar
Data Science Dojo
39 Unisys Manager's Revelation: Visualizing Real Time Data with Data Science Bootcamp
Unisys Manager's Revelation: Visualizing Real Time Data with Data Science Bootcamp
Data Science Dojo
40 Learn Data Mining with Data Science Bootcamp: Ryan LaBrie's Revelation
Learn Data Mining with Data Science Bootcamp: Ryan LaBrie's Revelation
Data Science Dojo
41 Vang Xiong on the Impact of Data Science Bootcamp
Vang Xiong on the Impact of Data Science Bootcamp
Data Science Dojo
42 Data Scientist's Experience at Our Data Science Bootcamp
Data Scientist's Experience at Our Data Science Bootcamp
Data Science Dojo
43 Alejandro Wolf Yadlin on the Impact of Data Science Bootcamp
Alejandro Wolf Yadlin on the Impact of Data Science Bootcamp
Data Science Dojo
44 Introduction To Titanic Kaggle Competition | Part 1
Introduction To Titanic Kaggle Competition | Part 1
Data Science Dojo
45 Learning How to Code in R with Data Science Bootcamp: Priscilla Mannuel's Revelation
Learning How to Code in R with Data Science Bootcamp: Priscilla Mannuel's Revelation
Data Science Dojo
46 Andrew Berman On Why Data Science Bootcamp Is Better Fit for Him
Andrew Berman On Why Data Science Bootcamp Is Better Fit for Him
Data Science Dojo
47 How To Do Titanic Kaggle Competition in R | Part 3.1
How To Do Titanic Kaggle Competition in R | Part 3.1
Data Science Dojo
48 How to do the Titanic Kaggle competition in R | Part 3.1
How to do the Titanic Kaggle competition in R | Part 3.1
Data Science Dojo
49 Delve Deeper into Data Science with Data Science Bootcamp
Delve Deeper into Data Science with Data Science Bootcamp
Data Science Dojo
50 Bank of America Data Scientist Reveals His Experience of Data Science Bootcamp
Bank of America Data Scientist Reveals His Experience of Data Science Bootcamp
Data Science Dojo
51 Shaena Montanari on the Impact of Data Science Bootcamp
Shaena Montanari on the Impact of Data Science Bootcamp
Data Science Dojo
52 Types of Sampling | Introduction to Data Mining | Part 12
Types of Sampling | Introduction to Data Mining | Part 12
Data Science Dojo
53 Sampling for Data Selection | Introduction to Data Mining | Part 11
Sampling for Data Selection | Introduction to Data Mining | Part 11
Data Science Dojo
54 Data Aggregation | Introduction to Data Mining | Part 10
Data Aggregation | Introduction to Data Mining | Part 10
Data Science Dojo
55 Data Cleaning | Introduction to Data Mining | Part 9
Data Cleaning | Introduction to Data Mining | Part 9
Data Science Dojo
56 Missing & Duplicated Data | Introduction to Data Mining | Part 8
Missing & Duplicated Data | Introduction to Data Mining | Part 8
Data Science Dojo
57 Data Noise | Introduction to Data Mining | Part 7
Data Noise | Introduction to Data Mining | Part 7
Data Science Dojo
58 Graph and Ordered Data | Introduction to Data Mining | Part 5
Graph and Ordered Data | Introduction to Data Mining | Part 5
Data Science Dojo
59 Document Data & Transaction Data | Introduction to Data Mining | Part 4
Document Data & Transaction Data | Introduction to Data Mining | Part 4
Data Science Dojo
60 Data Quality | Introduction to Data Mining | Part 6
Data Quality | Introduction to Data Mining | Part 6
Data Science Dojo

Learn how to write your first program in R, a Hello World print statement, and understand the basics of variable assignment and print function.

Key Takeaways
  1. Open a new script file in R Studio
  2. Assign a string value to a variable using the <- operator
  3. Use the print function to print the variable
  4. Run the code and see the output in the console
  5. Use the variable name to print the output string
💡 In R programming, you can assign a string value to a variable using the <- operator and print the variable using the print function or by typing the variable name.

Related Reads

📰
I Built a Personal Scoreboard for AI Visibility — Because Dashboards Lie
Learn how to create a personal scoreboard to track AI visibility and turn career anxiety into actionable numbers
Medium · AI
📰
How Docusign is Bringing Contract Table Extraction to Production with NVIDIA Nemotron Parse
Learn how Docusign uses NVIDIA Nemotron Parse for contract table extraction, improving productivity and efficiency
Dev.to · dev.to staff
📰
Top 10 AI APIs & Scrapers in 2026 — Ranked by Active Users
Discover the top 10 AI APIs and scrapers in 2026, ranked by active users, to boost your development projects
Dev.to · Nick Davies
📰
AI Isn’t Coming for Your Job — It’s Coming for Your Excuses: The Complete Guide to Making Money…
Learn how to leverage AI to earn money and grow your business with the latest strategies and opportunities
Medium · ChatGPT

Chapters (3)

Introduction
0:32 Getting started
0:45 Your first program
Up next
GoHighLevel AI Studio Builder Tutorial 2026 (Step-By-Step)
Tutorial Stack
Watch →