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.
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
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?
No words to thank you! I hope, you can keep making videos for beginners.
this is incredibly useful. The quality of this video is amazing, your editing makes all the explanations more easily understandable.
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!
The best R-programming videos in UA-cam. I have learned a lot, thanks!
Wow, thanks!
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!
This whole channel is so helpful. Thank you!
"it would be neat, it would be lovely, it would be poetry!!"
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!
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.
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.
Thank You so much!!!
I was learning by Coursera but but had no idea how to use practically..So luckily found your channel....Kudoos!!
Thank you very much. it was great and useful. I hope to see such useful videos by you of MATLAB programming as well.
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!
Thank you so much for these videos. Very clear and easy to understand!
Thanks!
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! 👍
your explanation is very clear & simple, so that I can understand it completely, so thank you so much
You are most welcome!
Thank you so much... I’m new to R, this video was helpful!
Glad it helped, 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 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!
These videos are fantastic!!
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!
Thank you very much. Hope you keep making great videos like this one.
You are welcome. Yes, definitely more to come!
Thanks. "You have just taken your first step into larger world".
Your tutorial is easy to follow👍
Excellent class mister! Thank you !
You are most welcome!
Great video, exactly what I need, thank you!
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?
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.
Just amazing and very helpful, many thanks.
Glad it was helpful!
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. :)
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!
You are the best. Your teaching sticks fast. Thanks
Wow, thanks! Cheers
Simply superb.
Excellently done
I will back tomorrow to this course.
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.
Love it!😃
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.
OMG!!!!!!!!! You saved my day . Thank you
Glad it helped, thanks!
Nicely explained. Thanks a lot.
Glad it was helpful! Thanks!
Well explained!
Amazing video!
Thanks!
hey buddy, I hope I learn R very soon. I am watching all of your vids 1 by 1.
WOW - thanks!!!
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!
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?
What useful video, thank you so much ,I have a question ,what's the commands to install all.avaliable packages?
Great video
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
You should throw a link to the csv file in the video description, so we can follow along :)
not sure if I love or hate the way this guy says "data"
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
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?
Thank you!
You're welcome!
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.
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 ?
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
Thanks for the video - how do i find the friends data set in the first place?
Thanks. 😀
Very easy to follow. And it would be more convenient if you provide dataset download link..
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.
Could you please share the 'packages' files which you use?
Hello What about if we have several .csv files and want to import and create overlapped/overlaid lines with different colours in one plot?
Would you please upload your original csv dataset, so we can follow ?
Very helpful
Glad to hear that, Rex! Much appreciated.
bestttt video
Nice!
Thank you!
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.
How to save the new work area / environment, including imported datasets & pre-fetched library packages ?
"It would be poetry." 😂 Awesome!
Thank you for the feedback. Glad you enjoyed it!
You are amazing
Thank you!
Thanks
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?
Let’s go R !
Thx
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?
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
Where can we locate the data files used in your videos?
Are there files we can follow along with and practice with?
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'
ALT + - will give you an arrow
Hey! I want the dark theme too!
Would you please teach up how to make a Shiny app and Dockers?
I've seen both library(tidyverse) and library("tidyverse") used..not sure if there is an official "correct" syntax here.
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
Command which is located in 10.42 min on video, is not working in my Latest R studio. can anyone help me plz.
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 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.
great
Thank you for the feedback.
what if I got an error message while installing tidy verse on my Mac M1?
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.
How do I get the dark theme?
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"
i installed the teddyverse and magrittr packages but the pipe function could not be found error is still showing
How can i save my rstudio data set into my pc??