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

Поділитися
Вставка
  • Опубліковано 19 чер 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  10 місяців тому +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 Рік тому +20

    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

      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

  • @hamouor
    @hamouor 4 роки тому +46

    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?

  • @nept4ne
    @nept4ne 5 років тому +2

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

  • @user-mn6bg3hh3b
    @user-mn6bg3hh3b 9 місяців тому

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

  • @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.

  • @javiermonroy4616
    @javiermonroy4616 3 роки тому +2

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

  • @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!

  • @justinmilner8
    @justinmilner8 4 роки тому

    This whole channel is so helpful. Thank you!

  • @LinSylSyl
    @LinSylSyl 8 місяців тому

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

  • @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!

  • @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.

  • @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.

  • @arslanali4850
    @arslanali4850 2 місяці тому

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

  • @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.

  • @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!

  • @yi-linghu3923
    @yi-linghu3923 3 роки тому

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

  • @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!!

  • @heartheart5543
    @heartheart5543 3 роки тому

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

  • @DJizz82
    @DJizz82 3 роки тому +1

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

  • @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! 🙂

  • @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!

  • @alexdalton1256
    @alexdalton1256 4 роки тому

    These videos are fantastic!!

  • @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.

  • @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!

  • @bigfootpegrande
    @bigfootpegrande 4 роки тому

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

  • @feathgoose9097
    @feathgoose9097 4 роки тому

    Your tutorial is easy to follow👍

  • @felipevidal5205
    @felipevidal5205 3 роки тому

    Excellent class mister! Thank you !

  • @evadudek2952
    @evadudek2952 3 роки тому

    Great video, exactly what I need, thank you!

  • @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?

  • @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.

  • @DrHKM-ui9xn
    @DrHKM-ui9xn 3 роки тому +1

    Just amazing and very helpful, many thanks.

  • @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. :)

  • @helia9915
    @helia9915 Рік тому

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

    • @RProgramming101
      @RProgramming101  11 місяців тому

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

  • @hardihood24
    @hardihood24 Рік тому

    You are the best. Your teaching sticks fast. Thanks

  • @tamizh2024
    @tamizh2024 6 місяців тому

    Simply superb.

  • @RealistWajahat
    @RealistWajahat Рік тому

    Excellently done

  • @chuchugeleta9650
    @chuchugeleta9650 4 роки тому

    I will back tomorrow to this course.

  • @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.

  • @user-gr3ue9nl3v
    @user-gr3ue9nl3v 10 місяців тому

    Love it!😃

  • @christopherberggren6124
    @christopherberggren6124 10 місяців тому

    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.

  • @sercancabuker2247
    @sercancabuker2247 3 роки тому

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

  • @saurabhsrivastava7424
    @saurabhsrivastava7424 Рік тому

    Nicely explained. Thanks a lot.

  • @artworldbyisaac
    @artworldbyisaac Рік тому

    Well explained!

  • @LeandroSouza-wu5py
    @LeandroSouza-wu5py 2 роки тому +1

    Amazing video!

  • @hamzaamad3102
    @hamzaamad3102 2 роки тому +1

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

  • @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-mp1zb2wc1c
    @user-mp1zb2wc1c 9 місяців тому +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?

  • @esraibhour4330
    @esraibhour4330 Рік тому

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

  • @WamboiSusan
    @WamboiSusan Рік тому

    Great video

  • @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

  • @deadly1317
    @deadly1317 4 роки тому +4

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

  • @26lekent
    @26lekent 4 роки тому +2

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

  • @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!

  • @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?

  • @MustafaAydid
    @MustafaAydid 2 роки тому

    Thank you!

  • @maftunqodirov
    @maftunqodirov 8 місяців тому

    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.

  • @mouhamadibrahim4269
    @mouhamadibrahim4269 10 місяців тому

    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 ?

  • @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

  • @user-ee5vd9hl3e
    @user-ee5vd9hl3e 4 місяці тому +1

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

  • @user-pu9ll7vd5m
    @user-pu9ll7vd5m 2 місяці тому

    Thanks. 😀

  • @zwepaingphyo2451
    @zwepaingphyo2451 Рік тому

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

  • @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.

  • @abhraneildam6255
    @abhraneildam6255 4 роки тому +4

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

  • @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?

  • @aperson1181
    @aperson1181 4 роки тому +3

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

  • @rexstephensumpio8228
    @rexstephensumpio8228 Рік тому

    Very helpful

  • @yashiyashi1700
    @yashiyashi1700 2 роки тому

    bestttt video

  • @Egooist.
    @Egooist. 3 роки тому

    Nice!

  • @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.

  • @aperson1181
    @aperson1181 4 роки тому

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

  • @teostaro9976
    @teostaro9976 Рік тому

    "It would be poetry." 😂 Awesome!

  • @canergin9050
    @canergin9050 2 роки тому +2

    You are amazing

  • @vincenzo4259
    @vincenzo4259 2 роки тому

    Thanks

  • @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?

  • @andjellajean-jacques
    @andjellajean-jacques 9 місяців тому

    Let’s go R !

  • @setarehsohail5422
    @setarehsohail5422 2 роки тому +1

    Thx

  • @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?

  • @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

  • @dingaroo2003
    @dingaroo2003 2 роки тому +1

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

  • @georgejetson9801
    @georgejetson9801 Рік тому +1

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

  • @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'

  • @aperson1181
    @aperson1181 4 роки тому +1

    ALT + - will give you an arrow

  • @SangramBhandari
    @SangramBhandari 4 роки тому

    Hey! I want the dark theme too!

  • @aperson1181
    @aperson1181 4 роки тому

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

  • @6toolbaseball
    @6toolbaseball 4 роки тому

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

  • @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

  • @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.

  • @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?

  • @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.

  • @shifaazam9368
    @shifaazam9368 Рік тому

    great

  • @indiamooreart
    @indiamooreart 2 роки тому

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

  • @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.

  • @johnmandrake8829
    @johnmandrake8829 4 роки тому

    How do I get the dark theme?

  • @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"

  • @ashutoshkaushal2446
    @ashutoshkaushal2446 Рік тому

    i installed the teddyverse and magrittr packages but the pipe function could not be found error is still showing

  • @fahimalamnobel4789
    @fahimalamnobel4789 4 роки тому

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