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.
Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library
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!
Wow Agostinho - what a nice thing to say, thanks!!
where is the hard drive? I can't find that interface to copy my data
Beginner friendly, straight to point, neat and clear explanation. Thank you so so much 😁
Thanks for the feedback, Talia. Much appreciated. I'm glad that you found it helpful!
No words to thank you! I hope, you can keep making videos for beginners.
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?
THIS IS EXACTLY WHAT I WAS LOOKING FOR! PERFECT CHANNEL! 😁😁😁😁 Ty
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.
Glad it helped! Thank you!
this is incredibly useful. The quality of this video is amazing, your editing makes all the explanations more easily understandable.
The best R-programming videos in RUclips. I have learned a lot, thanks!
Wow, thanks!
This whole channel is so helpful. Thank you!
Your intro always gets me hyped to start learning about R! :)
I'm glad!
Thanks for your video! awesome! very useful! looking much forward to your next video!
Thanks Ziqi - more videos coming soon. Thanks for the feedback.
Great Video, thank you for making it so easy.
I love your tutorial, it is not only informative but very captivated.
Thanks for the video
Thank you for the great feedback! Glad you liked it!
Thanks. "You have just taken your first step into larger world".
Thank you very much. it was great and useful. I hope to see such useful videos by you of MATLAB programming as well.
"it would be neat, it would be lovely, it would be poetry!!"
Thank you so much for these videos. Very clear and easy to understand!
Thanks!
thank you for this very clear tutorial on R programming. Excellent, please continue to share more video on R programming.
Will do! Thank you for the amazing feedback! 🙂
So amazing! You do not know how much you help me!
Thanks for the feedback, Xiaoqi . Much appreciated. I'm glad that you found it helpful!
These videos are fantastic!!
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.
You are so welcome! Thank you for the feedback.
Thank You so much!!!
I was learning by Coursera but but had no idea how to use practically..So luckily found your channel....Kudoos!!
Your tutorial is easy to follow👍
Thank you so much... I’m new to R, this video was helpful!
Glad it helped, thanks!
not sure if I love or hate the way this guy says "data"
Thank you very much. Hope you keep making great videos like this one.
You are welcome. Yes, definitely more to come!
Excellently done
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!
BTW, I made a .cvs data list and followed your steps, it worked!
Great to hear! Thank you for your lovely feedback, Jean!
your explanation is very clear & simple, so that I can understand it completely, so thank you so much
You are most welcome!
Excellent class mister! Thank you !
You are most welcome!
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.
Thank you for the feedback!
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!!
Glad it helped. Thank you, Nada! 👍
Just amazing and very helpful, many thanks.
Glad it was helpful!
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?
Simply superb.
I will back tomorrow to this course.
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 =)
Thanks Darrell - I appreciate the feedback. :)
Great video, exactly what I need, thank you!
Glad it was helpful!
thank you so much for the videos. These are very useful, I hope the next one.
Thanks Juan - I'll be creating more videos soon. I'm glad you like them.
You are the best. Your teaching sticks fast. Thanks
Wow, thanks! Cheers
THANK YOU FOR THE EASIEST WAY HOW TO START :)
Thanks for the feedback Lenka (much appreciated). More videos coming soon. Please send suggestions and requests.
Well explained!
Loved your videos sir. Thank you for free information you provide for us. It assisted me a lot
I'm thrilled that my video helped you or provided you with useful information. Cheers! Keep exploring and learning!
Nicely explained. Thanks a lot.
Glad it was helpful! Thanks!
Great video
Love it!😃
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?
OMG!!!!!!!!! You saved my day . Thank you
Glad it helped, thanks!
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?
Amazing video!
Thanks!
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.
What useful video, thank you so much ,I have a question ,what's the commands to install all.avaliable packages?
Thanks for the video - how do i find the friends data set in the first place?
Could you please share the 'packages' files which you use?
You should throw a link to the csv file in the video description, so we can follow along :)
Would you please upload your original csv dataset, so we can follow ?
hey buddy, I hope I learn R very soon. I am watching all of your vids 1 by 1.
WOW - thanks!!!
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!
Grt
How to save the new work area / environment, including imported datasets & pre-fetched library packages ?
Hello What about if we have several .csv files and want to import and create overlapped/overlaid lines with different colours in one plot?
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
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?
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!
Thanks. 😀
Thank you!
You're welcome!
Very helpful
Glad to hear that, Rex! Much appreciated.
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?
It is my question as well. Can you please reply it?
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 🙂
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.
"It would be poetry." 😂 Awesome!
Thank you for the feedback. Glad you enjoyed it!
You are amazing
Thank you!
bestttt video
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 ?
Very easy to follow. And it would be more convenient if you provide dataset download link..
Where can we locate the data files used in your videos?
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.
Let’s go R !
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
Would you please teach up how to make a Shiny app and Dockers?
Are there files we can follow along with and practice with?
Thanks
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
> 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'
Nice!
Thank you!
I've seen both library(tidyverse) and library("tidyverse") used..not sure if there is an official "correct" syntax here.
How do I get the dark theme?
Thx
where can we download this friends.csv to practise?
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 ))
@@Pumkintale Sigh... Guess I’ll be making up friends.
Yep its is simple one. Just create it directly in R: e.g. first make the vectors: Name
How can i save my rstudio data set into my pc??
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.
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.
Hey! I want the dark theme too!
Command which is located in 10.42 min on video, is not working in my Latest R studio. can anyone help me plz.
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
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
I guess it's just appearance problem, you can go to Preference-> Appearance -> Editor theme to change.
ALT + - will give you an arrow
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
It shows the same error in CSV file too. Did you find a solution?
I cant seem to get packages installed properly, also when im writing the code, its not coming up with the options like yours does
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.
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.
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.
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"
is the data set available?
what if I got an error message while installing tidy verse on my Mac M1?
Is there an R program for chromebook users?