How to import data and install packages. R programming for beginners.

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • In this video I look at how to start a project in R, how to import data and how to install a package. Packages like tidyverse or DPLYR or ggplot extend your data analysis capabilities a lot! This video forms part of the R programming for beginners series in which we cover everything you need to know to get started using R. R can be used for data manipulation and statistical analysis. So if you're interested in data science, quantitative analysis or stats - get into R programming.

Комментарии • 212

  • @RProgramming101
    @RProgramming101  11 месяцев назад +3

    Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library

  • @Maiamam441
    @Maiamam441 2 года назад +21

    Thank you very much for your kindness to put this kind of video out for free. You may not realize but this has helped so many people (including myself) make their lives better in so many ways. May God bless you!

    • @RProgramming101
      @RProgramming101  2 года назад +2

      Wow Agostinho - what a nice thing to say, thanks!!

    • @nornoname
      @nornoname Год назад +1

      where is the hard drive? I can't find that interface to copy my data

  • @taliathaib
    @taliathaib Год назад +9

    Beginner friendly, straight to point, neat and clear explanation. Thank you so so much 😁

    • @RProgramming101
      @RProgramming101  Год назад +2

      Thanks for the feedback, Talia. Much appreciated. I'm glad that you found it helpful!

  • @nept4ne
    @nept4ne 5 лет назад +2

    No words to thank you! I hope, you can keep making videos for beginners.

  • @hamouor
    @hamouor 4 года назад +47

    first of all, great video! your explanation is easy to understand and follow. second, can you link a download to the dataset you are using so i can practice the functions?

  • @bestzohan
    @bestzohan 5 лет назад +13

    THIS IS EXACTLY WHAT I WAS LOOKING FOR! PERFECT CHANNEL! 😁😁😁😁 Ty

  • @tahsinahsan6270
    @tahsinahsan6270 3 года назад +9

    I was scared to code and I couldn't get along with the channels. Then I stumbled upon your channel. I am still starting off with coding. The main intent of this comment is I want to thank you from the bottom of my heart for giving me the much needed guide to start my journey.

  • @user-mn6bg3hh3b
    @user-mn6bg3hh3b 10 месяцев назад

    this is incredibly useful. The quality of this video is amazing, your editing makes all the explanations more easily understandable.

  • @javiermonroy4616
    @javiermonroy4616 3 года назад +2

    The best R-programming videos in RUclips. I have learned a lot, thanks!

  • @justinmilner8
    @justinmilner8 4 года назад

    This whole channel is so helpful. Thank you!

  • @noahsalazar2738
    @noahsalazar2738 2 года назад +1

    Your intro always gets me hyped to start learning about R! :)

  • @zqtang3481
    @zqtang3481 5 лет назад +5

    Thanks for your video! awesome! very useful! looking much forward to your next video!

    • @RProgramming101
      @RProgramming101  5 лет назад

      Thanks Ziqi - more videos coming soon. Thanks for the feedback.

  • @BernartPardede
    @BernartPardede 4 года назад +1

    Great Video, thank you for making it so easy.

  • @kiolehoraceimale9677
    @kiolehoraceimale9677 2 года назад +1

    I love your tutorial, it is not only informative but very captivated.
    Thanks for the video

    • @RProgramming101
      @RProgramming101  2 года назад

      Thank you for the great feedback! Glad you liked it!

  • @bigfootpegrande
    @bigfootpegrande 4 года назад

    Thanks. "You have just taken your first step into larger world".

  • @Mary-qu1lt
    @Mary-qu1lt 4 года назад

    Thank you very much. it was great and useful. I hope to see such useful videos by you of MATLAB programming as well.

  • @LinSylSyl
    @LinSylSyl 8 месяцев назад

    "it would be neat, it would be lovely, it would be poetry!!"

  • @yi-linghu3923
    @yi-linghu3923 3 года назад

    Thank you so much for these videos. Very clear and easy to understand!

  • @PATRICKCHUAD
    @PATRICKCHUAD 2 года назад

    thank you for this very clear tutorial on R programming. Excellent, please continue to share more video on R programming.

    • @RProgramming101
      @RProgramming101  2 года назад +1

      Will do! Thank you for the amazing feedback! 🙂

  • @xiaoqisun4706
    @xiaoqisun4706 2 года назад +2

    So amazing! You do not know how much you help me!

    • @RProgramming101
      @RProgramming101  2 года назад

      Thanks for the feedback, Xiaoqi . Much appreciated. I'm glad that you found it helpful!

  • @alexdalton1256
    @alexdalton1256 4 года назад

    These videos are fantastic!!

  • @nurunnaharnila2133
    @nurunnaharnila2133 Год назад +1

    Your videos are amazing and informative as well. I'm grateful to you for your video content which helped me to get out of my fear of using R.

  • @arslanali4850
    @arslanali4850 3 месяца назад

    Thank You so much!!!
    I was learning by Coursera but but had no idea how to use practically..So luckily found your channel....Kudoos!!

  • @feathgoose9097
    @feathgoose9097 4 года назад

    Your tutorial is easy to follow👍

  • @DJizz82
    @DJizz82 3 года назад +1

    Thank you so much... I’m new to R, this video was helpful!

  • @26lekent
    @26lekent 4 года назад +2

    not sure if I love or hate the way this guy says "data"

  • @radiba9419
    @radiba9419 2 года назад +2

    Thank you very much. Hope you keep making great videos like this one.

    • @RProgramming101
      @RProgramming101  2 года назад

      You are welcome. Yes, definitely more to come!

  • @RealistWajahat
    @RealistWajahat Год назад

    Excellently done

  • @jeanhwang18
    @jeanhwang18 Год назад

    So easy and so clear!Thank you somuch. I have spent three hours in my class without any understanding of R programming, now I find it's interesting!

    • @jeanhwang18
      @jeanhwang18 Год назад

      BTW, I made a .cvs data list and followed your steps, it worked!

    • @RProgramming101
      @RProgramming101  Год назад

      Great to hear! Thank you for your lovely feedback, Jean!

  • @heartheart5543
    @heartheart5543 3 года назад

    your explanation is very clear & simple, so that I can understand it completely, so thank you so much

  • @felipevidal5205
    @felipevidal5205 3 года назад

    Excellent class mister! Thank you !

  • @yanda-lo7859
    @yanda-lo7859 3 года назад +3

    You sir, make R seem very easy and to an extent, lovable. I used to be quite intimidated by it but now..not so much...in fact, it is the only stats platform I want to master.

  • @nadaj.9943
    @nadaj.9943 2 года назад

    I need to learn to use R from my college, I think I now know where to learn it best!
    It was very helpful, thank you, sir!!

  • @DrHKM-ui9xn
    @DrHKM-ui9xn 3 года назад +1

    Just amazing and very helpful, many thanks.

  • @RodBarkerdigitalmediablog
    @RodBarkerdigitalmediablog 2 года назад +5

    Thanks for putting this tutorial online, so good, , can you link a download to the dataset you are using so we can practice the functions?

  • @tamizh2024
    @tamizh2024 7 месяцев назад

    Simply superb.

  • @chuchugeleta9650
    @chuchugeleta9650 4 года назад

    I will back tomorrow to this course.

  • @dmays67
    @dmays67 5 лет назад +2

    Great vids. Loving series and loving RStudio & R. Soo intuitive and in tune with my past learning (Ruby on Rails, OOP, RDBMS..) Keep up the great work =)

    • @RProgramming101
      @RProgramming101  5 лет назад

      Thanks Darrell - I appreciate the feedback. :)

  • @evadudek2952
    @evadudek2952 3 года назад

    Great video, exactly what I need, thank you!

  • @ingordonezjc
    @ingordonezjc 5 лет назад

    thank you so much for the videos. These are very useful, I hope the next one.

    • @RProgramming101
      @RProgramming101  5 лет назад

      Thanks Juan - I'll be creating more videos soon. I'm glad you like them.

  • @hardihood24
    @hardihood24 Год назад

    You are the best. Your teaching sticks fast. Thanks

  • @lenkam3110
    @lenkam3110 5 лет назад +1

    THANK YOU FOR THE EASIEST WAY HOW TO START :)

    • @RProgramming101
      @RProgramming101  5 лет назад

      Thanks for the feedback Lenka (much appreciated). More videos coming soon. Please send suggestions and requests.

  • @artworldbyisaac
    @artworldbyisaac Год назад

    Well explained!

  • @helia9915
    @helia9915 Год назад

    Loved your videos sir. Thank you for free information you provide for us. It assisted me a lot

    • @RProgramming101
      @RProgramming101  Год назад

      I'm thrilled that my video helped you or provided you with useful information. Cheers! Keep exploring and learning!

  • @saurabhsrivastava7424
    @saurabhsrivastava7424 Год назад

    Nicely explained. Thanks a lot.

  • @WamboiSusan
    @WamboiSusan Год назад

    Great video

  • @user-gr3ue9nl3v
    @user-gr3ue9nl3v 10 месяцев назад

    Love it!😃

  • @user-mp1zb2wc1c
    @user-mp1zb2wc1c 10 месяцев назад +3

    Hi, firstly a very detailed and beginner friendly video. A qq, how can I get the access to the .csv file mentioned on the video?

  • @sercancabuker2247
    @sercancabuker2247 3 года назад

    OMG!!!!!!!!! You saved my day . Thank you

  • @nomioye
    @nomioye 4 года назад

    Sir! look once we have export the data into rstudio and turn into some function like in this tutorial you have made a my_data function, so if we update some data in the CSV file then the updated data will save automatically in the function or not?

  • @LeandroSouza-wu5py
    @LeandroSouza-wu5py 2 года назад +1

    Amazing video!

  • @christopherberggren6124
    @christopherberggren6124 11 месяцев назад

    It was exciting at first to think I could troubleshoot my csv import issues with these videos, but it was not to be. The R community and gptChat have also not answered my question about why my files aren't importing but instead getting error messages. Seems like this import data video goes right past any possible problems viewers might have.

  • @esraibhour4330
    @esraibhour4330 Год назад

    What useful video, thank you so much ,I have a question ,what's the commands to install all.avaliable packages?

  • @user-ee5vd9hl3e
    @user-ee5vd9hl3e 4 месяца назад +1

    Thanks for the video - how do i find the friends data set in the first place?

  • @abhraneildam6255
    @abhraneildam6255 4 года назад +4

    Could you please share the 'packages' files which you use?

  • @deadly1317
    @deadly1317 4 года назад +4

    You should throw a link to the csv file in the video description, so we can follow along :)

  • @aperson1181
    @aperson1181 4 года назад +3

    Would you please upload your original csv dataset, so we can follow ?

  • @hamzaamad3102
    @hamzaamad3102 2 года назад +1

    hey buddy, I hope I learn R very soon. I am watching all of your vids 1 by 1.

  • @TerezaS
    @TerezaS 4 года назад +1

    Thank you for such a great tutorial! :) Would you be so kind and recommed me a source on how to perform latent aspect rating analysis using R? Thank you in advance!

  • @aperson1181
    @aperson1181 4 года назад

    How to save the new work area / environment, including imported datasets & pre-fetched library packages ?

  • @ardykharabian3453
    @ardykharabian3453 Год назад

    Hello What about if we have several .csv files and want to import and create overlapped/overlaid lines with different colours in one plot?

  • @sovannmohanokor8466
    @sovannmohanokor8466 3 года назад

    Thank you for tutorial. I am a bit late to join the program. It is good video to follow. I would like ask a question.
    when to use R programm and RStudio Programm, Thanks

  • @rathodpooja1996
    @rathodpooja1996 Год назад +1

    Hi Sir, Can you please provide full R programming course? When i downloaded csv file from Google, same procedure i followed but it can't open, why?

  • @Samar312
    @Samar312 9 месяцев назад

    Love the video and the explanation! Can you also please add the script and the files in the description, that you have used in this video? Thanks!

  • @user-pu9ll7vd5m
    @user-pu9ll7vd5m 3 месяца назад

    Thanks. 😀

  • @MustafaAydid
    @MustafaAydid 2 года назад

    Thank you!

  • @rexstephensumpio8228
    @rexstephensumpio8228 Год назад

    Very helpful

  • @abbyhosseini9567
    @abbyhosseini9567 5 лет назад

    Hi Greg, thanks for the video. Is there a video that shows how a package is actually installed on a machine? can a package be installed on a machine without being inside the R User Interface?

    • @setarehsohail5422
      @setarehsohail5422 2 года назад

      It is my question as well. Can you please reply it?

  • @SKITHUUK
    @SKITHUUK 3 года назад +4

    Hi, thank you very much for your video! We've been using mostly SPSS at uni, but I would love to switch to R - thanks to your videos as well, btw 🙂
    But I would have to share my project with other people sometimes who are using SPSS... is it possible to export project to the spss? Thank you 🙂

    • @RProgramming101
      @RProgramming101  3 года назад +1

      Hi there - yes I think that it is possible. I haven't ever done it. I'll try to find out more and get back to you.

  • @teostaro9976
    @teostaro9976 Год назад

    "It would be poetry." 😂 Awesome!

    • @RProgramming101
      @RProgramming101  Год назад

      Thank you for the feedback. Glad you enjoyed it!

  • @canergin9050
    @canergin9050 2 года назад +2

    You are amazing

  • @yashiyashi1700
    @yashiyashi1700 2 года назад

    bestttt video

  • @mouhamadibrahim4269
    @mouhamadibrahim4269 11 месяцев назад

    Sir, Thank you for these great videos, I have researched for R programming extremely, I find your channel on the top. But, I didn't find the data set file ?

  • @zwepaingphyo2451
    @zwepaingphyo2451 Год назад

    Very easy to follow. And it would be more convenient if you provide dataset download link..

  • @dingaroo2003
    @dingaroo2003 2 года назад +1

    Where can we locate the data files used in your videos?

  • @maftunqodirov
    @maftunqodirov 9 месяцев назад

    Thank you very much Sir for your wonderfool videos. Just wanted to ask if you could make a video on how to import data from Kobo Toolbox into R. It would be great since there is no video about this topic. Thank you.

  • @andjellajean-jacques
    @andjellajean-jacques 9 месяцев назад

    Let’s go R !

  • @princOSwat
    @princOSwat Год назад

    Let me first appreciate this amazing video about importing data to R. But there is a big confusion in the beginning of this video, and I spent more than a day to sort to out. This video is supposed to be for there beginners, and I am a beginner. I was looking for the Outline in my R studio and could not find it. I deleted and downloaded R and Rstudio many times but then I saw that I have to click R Script. Therefore, I suggest you to make this clear to the viewers how to use R Script and how to really start form trash.
    Thanks

  • @aperson1181
    @aperson1181 4 года назад

    Would you please teach up how to make a Shiny app and Dockers?

  • @georgejetson9801
    @georgejetson9801 Год назад +1

    Are there files we can follow along with and practice with?

  • @vincenzo4259
    @vincenzo4259 2 года назад

    Thanks

  • @yeongmingyue5604
    @yeongmingyue5604 4 года назад +1

    Hi sir. Thank you for the video. I have 0 knowledge about R and have been following your video tutorials to learn R step by step. However, I couldn't install "tidyverse". It shows "package ‘tidyverse’ is not available (for R version 3.6.3)". What should I do? Is there any alternative packages that has similar function ? thank you

    • @yeongmingyue5604
      @yeongmingyue5604 4 года назад

      > install.packages("tidyverse")
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/src/contrib:
      cannot open URL 'cran.rstudio.com/src/contrib/PACKAGES'
      WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
      cran.rstudio.com/bin/windows/Rtools/
      Installing package into ‘C:/Users/YMY0919/Documents/R/win-library/3.6’
      (as ‘lib’ is unspecified)
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/src/contrib:
      cannot open URL 'cran.rstudio.com/src/contrib/PACKAGES'
      Warning in install.packages :
      package ‘tidyverse’ is not available (for R version 3.6.3)
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/bin/windows/contrib/3.6:
      cannot open URL 'cran.rstudio.com/bin/windows/contrib/3.6/PACKAGES'
      > library("tidyverse")
      Error in library("tidyverse") : there is no package called ‘tidyverse’
      > require("tidyverse")
      Loading required package: tidyverse
      Warning message:
      In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
      there is no package called ‘tidyverse’
      > install.package()
      Error in install.package() : could not find function "install.package"
      > install.packages()
      Error in install.packages : argument "pkgs" is missing, with no default
      > install.packages("tidyverse")
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/src/contrib:
      cannot open URL 'cran.rstudio.com/src/contrib/PACKAGES'
      Installing package into ‘C:/Users/YMY0919/Documents/R/win-library/3.6’
      (as ‘lib’ is unspecified)
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/src/contrib:
      cannot open URL 'cran.rstudio.com/src/contrib/PACKAGES'
      Warning in install.packages :
      package ‘tidyverse’ is not available (for R version 3.6.3)
      Warning in install.packages :
      unable to access index for repository cran.rstudio.com/bin/windows/contrib/3.6:
      cannot open URL 'cran.rstudio.com/bin/windows/contrib/3.6/PACKAGES'

  • @Egooist.
    @Egooist. 3 года назад

    Nice!

  • @6toolbaseball
    @6toolbaseball 4 года назад

    I've seen both library(tidyverse) and library("tidyverse") used..not sure if there is an official "correct" syntax here.

  • @johnmandrake8829
    @johnmandrake8829 4 года назад

    How do I get the dark theme?

  • @setarehsohail5422
    @setarehsohail5422 2 года назад +1

    Thx

  • @iaaan1245
    @iaaan1245 4 года назад +23

    where can we download this friends.csv to practise?

    • @Pumkintale
      @Pumkintale 3 года назад +3

      make your own in excel, like write the name of your friends or make up, gender, age, save the file as cvs and then work on it. I think that way ))

    • @theneelay
      @theneelay 3 года назад +11

      @@Pumkintale Sigh... Guess I’ll be making up friends.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад +1

      Yep its is simple one. Just create it directly in R: e.g. first make the vectors: Name

  • @fahimalamnobel4789
    @fahimalamnobel4789 4 года назад

    How can i save my rstudio data set into my pc??

  • @metazest
    @metazest Год назад +3

    Can you link the files/dataset you were using in the videos so we can practice and go with your flow? Btw, great videos. Thanks and much appreciated.

    • @easydatascience2508
      @easydatascience2508 Год назад +1

      Hei you can watch mine too. The playlist for Python and R provide most of the fundamentals. Source files can be found in description of the video.

  • @SangramBhandari
    @SangramBhandari 4 года назад

    Hey! I want the dark theme too!

  • @fysalo.graphy
    @fysalo.graphy 4 года назад

    Command which is located in 10.42 min on video, is not working in my Latest R studio. can anyone help me plz.

  • @dvitsupakorn
    @dvitsupakorn Год назад

    Is it case-sensitive here? head, tail, View? How do I know how to fix it if I stumble on error like
    Error in view(my_data) : could not find function "view"
    > view(my_data)
    I don't see any suggestion how to fix it like when I run some shell command

  • @robknight407
    @robknight407 5 лет назад +2

    I am a teacher trying to learn R so that I can use it in my Statistics classes. I am using Windows 8 and having difficulty. I notice that my

    • @lingminhou7925
      @lingminhou7925 4 года назад

      I guess it's just appearance problem, you can go to Preference-> Appearance -> Editor theme to change.

  • @aperson1181
    @aperson1181 4 года назад +1

    ALT + - will give you an arrow

  • @Maggie11135
    @Maggie11135 5 лет назад

    Hej I have a problem after the my_data %>% at 9,23 min i try writing in select but the program do not have that function and instead suggest 3 other function select.list, selectmethod and selectSuperClasses. I have also tried only write select and write in which column name i want to use and it also did not work. Do you know you i can't choose select and only get the other suggestions? Because right there i get stuck. also i use my own data from excel.file. I don't know if it is because it not a CSV-file as you do in the video. Please help from a confused beginner :S

    • @GARVITIZATION
      @GARVITIZATION 3 года назад

      It shows the same error in CSV file too. Did you find a solution?

  • @Calumc12
    @Calumc12 4 года назад +3

    I cant seem to get packages installed properly, also when im writing the code, its not coming up with the options like yours does

    • @jacobherman1325
      @jacobherman1325 3 года назад

      I am using Ubuntu and had to install missing packages, in my case make, gcc and g++ to get past the failed package install issues.

  • @ayoadeoriola34
    @ayoadeoriola34 5 лет назад +1

    Thank you for this video. It makes R so easy to use. I tried creating a csv file using the data you provided.. But I discovered an error with the "Name" variable it showed this "ï..Name"... when I tried "my_data %>% select (Name, Age, Height)" it said Name not found until I went back to the data to copy this "ï..Name". So I tried creating another csv file again making sure there is no space but it still appeared. What am I doing wrong? I am using Microsoft Excel . Is there a way I can correct the error in R without going to the original file? Thank you.

    • @RProgramming101
      @RProgramming101  5 лет назад

      Hi Ayoade - thanks for the question. I'm finding it hard to visualise the problem. I'll see if I can create some kind of forum whereby people can ask specific questions.

    • @kevin_mcgee
      @kevin_mcgee 5 лет назад

      I am experiencing the same issue
      I have duplicated your .csv file and am attempting to run 'my_data %>% select(Name, Age, Height)
      In the console, I get "Error in .f(.x[[i]], ...) : object 'Name' not found"

  • @bevg1
    @bevg1 2 года назад

    is the data set available?

  • @indiamooreart
    @indiamooreart 2 года назад

    what if I got an error message while installing tidy verse on my Mac M1?

  • @vanessarodriguez5877
    @vanessarodriguez5877 2 года назад

    Is there an R program for chromebook users?