Yuma 4×4

Media and Communications

What is RStudio and Why Should You Download It? | R Tutorial 1.1 | MarinStatsLectures

What is RStudio and Why Should You Download It? | R Tutorial 1.1 | MarinStatsLectures

hi I’m Mike Marin and in this video we’re
going to talk about the difference between R and RStudio. I am getting asked a lot do i need to download and install Rstudio? well, my answer to that would be no! but should you install RStudio? definitely! so what is RStudio? it’s a
free, open-source, integrated development environment or IDE for R: the
statistical programming language. So what does that mean? well basically RStudio helps keep R
bit more organized and it also adds a lot more functionality mainly through
menus; but instead of me saying a bunch of words let’s take a look at R and
then we’ll take a look at RStudio if If we open up R, we can see the console
here: now let’s create a vector X that’s using the numbers 1 to 5; let’s also create
a vector Y that’s the number 6 to 10, and and let’s make a plot of Y versus X. You can see here that the plot pops up in a separate window mine is a bit too large by default and I
would need to resize it in order to have the plot like a little bit nicer also if we want to know what’s in R’s working memory we have to ask for this; we can do
so using the LS command and this lets us know that R see these objects X and Y
in its memory we can see up here that R does have some menu options although
if you take a look and scroll through these you’ll notice that they are pretty
limited Now let’s take a quick look at RStudio so we can go here and open up
RStudio, you can see the console here along with a few other windows; again
let’s create a vector X that’s the numbers 1 to 5 and let’s create another
vector Y that are the numbers 6 to 10 First you can note that we can see what’s in R’s working memory up here now if we take a look at a plot of X versus Y you
can see that appears here in this window if we want to save the plot we can click
on this export tab here and then we can save as an image and here we can see
there’s lots of different options for the file type we can save as we can also
change the height or the width of the plot through here we
can also do this manually if we’d like here’s the file name we’re going to give
it the directory of where we’d like to save the plot so let’s just cancel this. Importing data into R also becomes easier while you can still import data
using commands like the read.table command you can also import data using
the import dataset tab here we can select from a local file that means it’s
saved on our computer and then using these menus we can select the dataset
we’d like here we will load in the lung cap data and you can see here is the name
we’re going to give to our dataset in R we also get a preview down here of
what the data is going to look like and once we import this dataset you’ll see
it pops up here and we get a data view and we can play around with the data a bit
to look at it here for example if we’d like to be sorted by lowest to highest
lung capacities or highest to lowest lung capacities, so this can give us a
quick view of our data; we can also easily create and manage scripts within
RStudio; if you go here to file and then new file, and new R script; so let’s
create and submit a few new commands here. I’m going to create a new variable
and we’re going to create Z that are the numbers 11 to 15 and then we’re
going to add up X, Y & Z; so will sum X, Y & Z and let’s submit those commands let’s submit that here we’re going to
create that new vector X and then we’re going to sum X,Y,Z; and then we could
of course go ahead and save this file and this is going to allow us to save
that script so that we can reproduce our analysis on any given day; you can of
course work with a script directly in R and not RStudio but working this
way within RStudio is a lot simpler and more user-friendly. you can also see
here if you create a new file in R MarkDown, what markdown does is it allows you
to embed R code and R output directly into documents, slides, PDF documents HTML ,word document, and many more you can also see under the menu here you
have this create new project; now what this does is allows you to manage all of
your files and output related to a project in one spot. Now I’ll leave it to
you to explore more of the menu options that are built into RStudio. the point
of what I’ve been trying to show you is that while RStudio is not absolutely
necessary it makes the user experience of working
within the R programming language much much nicer! to me it’s a no-brainer: if
you’re going to work with the R programming language work within the RStudio environment, you’ll be happy that you did Thanks for watching this video
and to learn how to code in R follow along with our series of R tutorials
designed specifically for the beginner who is new to the R software.

61 thoughts on “What is RStudio and Why Should You Download It? | R Tutorial 1.1 | MarinStatsLectures

  1. I still don't get it why some people still use R, even knowing all the advantages of RStudio.
    Great video, by the way!

  2. Hi Mike
    Can you post more videos on poisson regression model in R, and how to use it to estimate count or rate, something to fit up to intermediate level users . I'm afraid this was not well explored in SPPH 500, like linear or binomial models, at least to me.

  3. Hi Mike,
    I've tried to use R in the past, but was to complicated for me, I must admit. Can you recommend me a good beginner's book? Starting really from basics.

  4. datatable is faster package why don't you make a video on it. It is more popular and it is much better

    I mostly work on HUGE datasets. like around 1 or 2 GB data sometimes more than that

    I always have to go to ms access to correct the data.can you reply how to work on data larger than RAM. is there any turnaround.

    BIG data is all I need.

    Please any suggestion would help.

    Please do reply

  5. Hi Mike, first of all, your videos are a great help for a beginner like me! Thank you for posting them! Now, I had a very specific question. Before I dwell further into R, I wanted to know if one can export interactive visuals for the end user, say for instance, the way one can do in Tableau. If I'm providing data visualization to a client of mine I currently have him/her download Tableau reader to see the results and let him/her interact with those. Not only that he/she can interact, Tableau reader is also very clean. But with R, I see codes on the left all the time. Is something interactive plus clean possible with R for the end client? Thanks in advance … 🙂

  6. Hey 🙂 Awesome tutorial 🙂 And good material for programmers. Thanks for it.

    I am the administrator of Facebook I Love Programming(https://fb.com/ilp2013) page and have an offer for you 🙂 And if you don't mind I'll send it to you via email( just let me know your email 😀 )


  7. Excellent video, i am new to R and looking fwd to learning from your great channel as i have just subscribed.Keep up all the good work you are doing! It gives people like myself great confidence

  8. Hi thanks for your presentation. I have a question please. Is it possible to use R Software to estimate the technical efficiency and allocative efficiency in Stochastic Frontier production approach?

  9. way too complicated for someone unfamiliar with this language. Is there a paid software easier than this one? Thank you.

  10. Hi Mike, I have found your videos better than any other official training courses available online.I am your advocate and thanks for the knowledge share

  11. hey ,
    i am not able to see the local files, while i am importing data set? it gives different option ("from csv, from excel,from spss" etc..)
    can u plz correct me? if i'm doing wrong /or i have choose-en wrong option..please guide me!

  12. Hello Marin, I am a student of Naresuan University, Thailand. I have watched many of your tutorials. Will you please let me know your email address.

  13. hi Marin I am a beginner & your videos have helped me a lot for my basics.
    The quality of your videos is very rare to find specially with respect to R language.
    Very satisfied with the way the things are explained.
    It would be great if you can make a video on logistic regression.

  14. Excellent video of serious for R software.
    can you tell me how to explore the results after analysis in a single sheet.

  15. Hi @Marin, Thanks a lot for keeping all these videos online. I am brazilian and started to learning this fantastic tool. Excellent job.

  16. must see tutorial to beginners for R Programming. http://www.traininginbangalore.com/r-programming-training-institutes-in-bangalore/

  17. Good quality is the first thing think when I see your videos. You have a new subscription., Thanks for sharing your knowledge.

  18. Excellent video on R software. I went straight to datacamp to learn the basics of R. The concept is very easy to understand and I can see how it can make prediction analysis a more simple process – stephen – LSIS 5440 NCCU

  19. Awesome Video series http://www.trainingmarathahalli.com/machine-learning-using-r-training-in-marathahalli/

  20. I trust this channel rather than others. you are very clear on your topics, that's what I love it. https://www.traininginbangalore.com/r-programming-training-institutes-in-bangalore/

  21. can I start learning R without any background in programming?
    My major is the pharmacy and I need it for biostatistics
    Is this step in learning R consider the best way to start in biostatistics or no ?

  22. Mike… this is absolutely excellent! As others have shared, better than the instructional products on the market! Thank you!

  23. Hello Mike thank you so very much for this entire series on both stats and R programming. I was at a crossroad in my career and someone suggested me this. You don't know how helpful these videos are, it boosted my confidence into getting into data analytics. I really like your teaching style, big big thumbs up from me and I shared this with many of my friends. Keep up the good work.

  24. This is great and amazing, am a new entrant so open and ega to learning R through your channel. Thanks for the good work and knowledge your sharing.

  25. Hey, Super Videos! Really saved my penny which otherwise would have been wasted on classroom training's. Please keep up the good work. Would look forward to some videos on Python, Data Studio/Tableau in future. In case you have them uploaded somewhere – please share the link(could be useful for many other learners like me)

  26. RStudio is a free, open source user interface that adds functionality to R, includes many menu options and other ways to keep your work place neat and organized.

    In this video we go over some of the added functionalities of RStudio and why it is a good idea to download and use it if you are planning to use the R programming software. Like to support us? You can Donate https://bit.ly/2CWxnP2 or Share our videos with others

  27. Hi Mike,
    I have gone through searching many more books, websites, youtube channel, and online courses during the last two years and due to losing in hopes left in middle but your channel has really built confidence within me. It's really nice and well explained. One cannot make things easier and clear than this. Just now I have followed only a few videos even though I can say you are doing the best Job…..

  28. Hey there,hope you will be alright. I am taha from Pakistan and I want to use R graph for my data analysis but cant download it because of the absence of CRAN page for pakistan so cant select the appropriate mirror. Kindly help me out. looking forward for your kind reply. Regards

  29. Dear sir, Can you please record a video showing PLS regression. I am trying to learn that but the other sources are too complicated to follow. i have following you for the last two years and learn thing effectively. Can you please teach us PLS regression?

  30. Hi Mike Marin,
    Thankyou so much for your time and creating such wonderful informative videos.
    Hoping for video in python programming..
    Stay blessed 🙂

Leave comment

Your email address will not be published. Required fields are marked with *.