Writing Scripts in R for Reproducible Research: What is a Script in R and how to write the scripts of code! Need to Install Packages in R? Watch this R Tutorial ( 👍🏼Best Statistics & R Programming Language Tutorials: ( )
►► Like to support us? You can Donate ( Share our Videos, Leave us a Comment and Give us a Like or Write us a Review! Either way We Thank You!
In this R video tutorial, we will learn how to work with scripts in R and how to submit commands/functions to R console from the RStudio’s Source (Script) Editor. You will also learn very handy keyboard short-cuts to work with R using Rstudio.
Table of Content:
0:00:07 What is a script in R and why use them
0:00:40 writing scripts in R using copy/paste for a text editor
0:00:55 writing scripts in R using RStudio’s Source Editor
0:01:07 how to create a new script in RStudio’s Source Editor using menu options
0:01:19 how to open existing scripts in RStudio’s Source Editor using menu options
0:01:56 how to submit a line of code into R Console from RStudio’s Source Editor without copy and paste
0:02:21 how to use keyboard shortcuts to submit a line of code in R
0:03:08 getting to know various functionality of RStudio Source(Script) Editor
0:04:09 how to fix a typo in the script of codes in R programming language
0:04:25 how to use the “tab” key (on keyboard) in RStudio Source Editor to help with the name of a command
These video tutorials are useful for anyone interested in learning data science and statistics with R programming language using RStudio.
► ► Watch More:
► Intro to Statistics Course:
►Data Science with R
►Getting Started with R (Series 1):
►Graphs and Descriptive Statistics in R (Series 2):
►Probability distributions in R (Series 3):
►Bivariate analysis in R (Series 4):
►Linear Regression in R (Series 5):
►ANOVA Concept and with R
►Hypothesis Testing:
Follow MarinStatsLectures
Subscribe:
website:
Facebook:
Twitter:
Instagram:
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
source

In this R video tutorial, we learn how to work with scripts in R and how to submit commands/functions to R console from the RStudio's Source (Script) Editor. You will also learn very handy keyboard short-cuts to work with R using Rstudio. If Like to support us you can Donate (https://bit.ly/2CWxnP2), Share our Videos, Leave us a Comment, Give us a Like 👍🏼 or write us a review! Either way We Thank You!
nice man
This is some big dick scripting! Thanks!
Hi Mike, can you pls tell me how to automate batch runs using R scripts. Can you pls share ur email id pls. Appreciate it.
Mike these are the best videos which have been curated for Data science, I have been trying to learn and understand this course since long time but things were very hard to understand as I am new to programming , However after going through your course gained confidence that practicing as per you mention will definitely help me start my programming career!!!! thank you so much will definitely update the progress….. Hope many people like me new to programming can start with "THE BEST"
Your videos helps a lot to me
When I reopen my scripts files they look crashed with question marks and punctuation characters appearing instead of the code I wrote on them. why is this happening ?
Hi Mike, Thank you so much for your great videos! Can I download the script shown in the video somewhere? Many thanks,
Adrian
please can i have the subtitle of all videos
2019 anyone?
Dont know if i am asking to mutch…but you you sbmit the scripts you use in th torurials…that would make the learning process even easier.
Hey Marin, You really did a great job by creating these videos.. They are explained in a very easy and understandable way and m happy I found your channel… Absolutely worth it… You have made things actually lot easier with these organized playlist and teaching what is most necessary…
Where can I find the script that you have just shown. I am a beginner and your tutorials are helping me to grasp the idea of R. Thank you so much.
Thanks Marin
Is the script available to practice on?
Thank you Sir. I have started re -learning R after watching your tutorials. very well organized learning materials
Thank you +MarinStatsLectures for these awesome tutorials! I couldn't find a better teacher than you… On my way to learning Data Science with R and Python, I found your videos on Youtube and is the best ever. Couldn't help but subscribe to your channel! It was an easy choice! Thank you so much for all your efforts into this. You make me love R more with each video in the series.. God bless.. 🙂
Loved this video! Very helpful… Check out mine! I have different tips 😬
hi Marin,
really nice series. I have been following for a while. I would like to know where do you get the first script? I got lost on how you got the file that you oppnened at 1:28 of the video
Sir at 1:27 (time) when i tried to open a file (created in microsoft office(used .R extension also ) i am not able open my file in source editor (top left in R studio) but rather data is opened in office file at that moment.Help me
Marin, excelent classes as usual!!!!!!!
Marin you are the best trainer I've ever come across. Thanks so much for the training videos on R language… The way you deliver your speech and explain things its awesome….I recently got passionate about data analysis so that's why I want to learn the R language. Because I love to work as a data analyst or a data scientist somewhere in future. And now everyday I'm follow your videos on R… thanks
Thank you Marin!
I am very interested in learning another language after R
I want to get into the High frequency trading scene do you know the best language
for this? Some say C++ is better.
Great tutorial, content & pronunciation clear!!!
These videos are just awesome. So clear, precise and easy to understand. Thanks a lot…