In this R video tutorial, you will learn step by step how to import CSV data file or TXT data file into R from Excel or other spreadsheets using different functions and arguments of R. For example, you will learn to use "read.table" and "read.delim" functions and "file.choose", "header" and "sep" arguments. All these and more will help you import your data into R very easily. For example, if you don't specify that your data is comma separated, R ends up reading it all as one variable so using (sep=",") will help avoid this issue. Make sure to Download the datasets for practice: statslectures.com/r-scripts-datasets and if you Like to support us, you can donate here bit.ly/2CWxnP2 or share our videos with others!
@Jimmy_utsav6 жыл бұрын
Ok thank u👍
@akashdeepdas693 жыл бұрын
When I input the data class always shows object not found pls help me
@vamsi247919 жыл бұрын
Trust me sir. After trying various various online tutorials and e-books, I am writing this review. These videos are the most amazing videos on R one could ever discover and it is almost impossible for anyone to not praise you for this awesome help you are doing to people who cannot afford to take courses. You will always be blessed for this help you are doing to thousands of people. I will make sure that all my friends in my college will watch these videos and get benefited. Thanks a ton again sir. Keep up the good work going. You are truly loved by all of us here who are on your page. Vamsi Krishna.
@marinstatlectures9 жыл бұрын
Hi +vamsi24791 , thanks, we really appreciate you saying that! it's hearing things like this that help motivate us to keep producing these videos, so thank you for that!
@marinstatlectures11 жыл бұрын
Thanks, glad to know you're finding them useful...we've put a lot of work into them. Thanks for watching ;-)
@alfredkik36755 жыл бұрын
Without having any background knowledge about r, I could analyze my data for MSc thesis really well by following your amazing videos. You high quality tutorials are really helpful, thank you very much.
@marinstatlectures5 жыл бұрын
happy to hear that!
@meganmeunier86984 жыл бұрын
I know this video was posted years ago but I just wanted to say thank you! My professor at uni said that R was much better than excel once you got to grips with the coding language but unfortunately the uni only offers courses on using excel for data analysis. I'm so excited to start using these skills for writing papers and not having to deal with the whole messiness of excel.
@gimbulino6 ай бұрын
Finally handy videos extremely helpful for a guy aged 58 wanting to fill the technological gap and for the first time ever seriously considering investin time and energy in R and progressevely make the transition from Excel
@rabinkc8312 жыл бұрын
This is the first excel datasheet I ever read in R. After 7 years with R, I thought I would visit Marinstats....It was a great start. Thanks.
@karag4487 Жыл бұрын
How good did you get in R?
@fincharus56593 жыл бұрын
Thank you a bunch been screaming at the PC for hours only to find the header= TRUE would fix all my class issues.
@borisjankovic806710 жыл бұрын
Wow, high quality lectures, very thouroughly designed, covering everything, easily understood by beginners + free?! You have a new subscriber, keep making these!
@naox141110 жыл бұрын
all the things крипто-анархисты said plusTHANK YOUUU. WAS HELPFUL. keep doing this videos of R so i can learn more and MOORE
@marinstatlectures10 жыл бұрын
Thanks крипто-анархисты and Lissette Rodriguez , we appreciate you saying that! and yes, our goal is to provide the best tutorials available online, and free! this summer we are hoping to create a series of videos teaching general statistical concepts, so keep your eyes out for those! thanks for the support!
@1917cutlass10 жыл бұрын
Hello good sir! I would like to personally thank you on the behalf of graduate students everywhere, who are being introduced to R for the very first time. You are a life saver. Cheers sir!
@marinstatlectures10 жыл бұрын
Thanks 1917cutlass , we really appreciate hearing you say that! We've put a lot of work into producing these, and happy to hear that they are having such an impact!
@TheMadKaz9 жыл бұрын
Thank you for this!!! Spent 2 hours googling and getting irritated at all the patronising "help" blogs and the help sites full of computer jargon but finally cracked it.
@marinstatlectures9 жыл бұрын
happy to help TheMadKaz
@lukasiohan12898 жыл бұрын
Thanks for sharing your knowledge with us!!!! The World needs more people like you. Greetings from Brazil.
@marinstatlectures8 жыл бұрын
thanks +Lukas Iohan , we appreciate that!
@naseerbhat82674 жыл бұрын
Thank you so much. For someone like me with zero programming/coding background, you gave me an eureka moment.
@LL-hj8yh9 жыл бұрын
I've tried so hard finding why I couldn't input my csv data, since I just started R Studio. Thank you very much!!! Especially the first half part already solved my problem! Thanks!
@marinstatlectures9 жыл бұрын
Hi Jianzhe Liu , glad to hear your problem is solved!
@adrianapetrova1964 жыл бұрын
You make it so easy. Thanks, that's the second time I watch your videos. The first time I saw it all, after that I couldn't find anyone that explains like you do, I left it and I forgot it all. Now I'm back and you have even more videos :D
@treescully11 жыл бұрын
totally forgot how to do some of these simple things very quick and helpful video, thank you!
@marinstatlectures11 жыл бұрын
You're very welcome treescully , thanks for watching!
@sanjeebkumar853910 жыл бұрын
Hey Marin, You Rock.. You made easy to learn some thing diff from books..Kudos for your effort.. You are a grt faculty/Teacher..
@marinstatlectures10 жыл бұрын
Thanks sanjeeb kumar ! Our goal was to provide the best resource for an intro to R on KZbin! We plan on making general stats educational videos as well, once we have the time, so keep your eyes out for those when we get to making them. thanks for your support!
@299redd8 жыл бұрын
Dude I want to thank you so much. You are helping me learn so much that my uni lecturers miss out
@marinstatlectures8 жыл бұрын
great to hear +299redd , and you're welcome!
@samr5985 жыл бұрын
Hi Marin, Most straight forward and easy approach Your lectures and teaching style have left me speechless. Thank you very much..!!
@marinstatlectures5 жыл бұрын
great to hear, thanks!
@xavierharo54259 жыл бұрын
This is just Excellent. After some traumatic experiences trying to learn to program, you made me have a bit of hope. You got a new subscriber!
@marinstatlectures9 жыл бұрын
glad to hear you're finding them helpful Xavier Haro !
@ShahidIqbal-sq7bf6 жыл бұрын
for someone like me you are an angel i struggled so much with it.
@gabrielbarros67898 жыл бұрын
Best tutorial ever, you certainly have a teaching soul... congrats. Wish you all the best.
@marinstatlectures8 жыл бұрын
thanks +Gabriel Barros , appreciate that!
@pkhuntiable9 жыл бұрын
oh my god !!! these are best collection of R tutorials !!!
@marinstatlectures9 жыл бұрын
thanks +puja khunti , e appreciate that!
@Zhingkham7 жыл бұрын
Thanks....by far it is the best ..simple and effective....others kept on talking about getwd and setwd...which i found quite difficult...so it really helped...thank you marin
@vishnu88993 жыл бұрын
Hey Mike,huge fan of your videos .Just for FYI the data sets you have attached has 725 obs.of 6 variables.(probably duplication of data)This is trivial information with no impact whatsoever on the steps to retrieve an excel file. First time viewers may be wondering about the large nature of the data set. Cheers
@marinstatlectures3 жыл бұрын
Thanks. Glad to hear you’re enjoying them :)
@alexg41215 жыл бұрын
one of the best tutorials I found on the subject. Thank you very much.
@marinstatlectures5 жыл бұрын
thanks. and you're welcome :)
@madelynnowak-roddy51219 жыл бұрын
you are literally a grade saver. I'm so happy I found your channel. Thank you very very much :)
@marinstatlectures9 жыл бұрын
Madelina Nowak-Roddy you're welcome, glad you've found our videos helpful!
@ilangovanetambidore64314 жыл бұрын
Congratulations to MarinStatsLectures Your presentation is very clear. The explanations are direct, very simple to use Thanks a lot From Paris Thursday 4 June 2020 15h26
@ramjielangovan68176 жыл бұрын
most straight forward and easy approach thank you so much
@kushalmiglani26918 жыл бұрын
Best channel for R tutorials
@marinstatlectures8 жыл бұрын
thanks +Kushal Miglani , we appreciate that!
@nstar02038 жыл бұрын
Awesome and very useful. I subscribed to your channel! The command you introduced to open a data file directly into R was great! Thank you!
@marinstatlectures8 жыл бұрын
you're welcome +Nd_1115773
@olsjonbaxhija672010 жыл бұрын
I love these! Thank you for making them freely available. You got yourself a new subscriber.
@marinstatlectures10 жыл бұрын
You're welcome Olsjon Baxhija !
@husseinfadin33544 жыл бұрын
love his channel so much, you helped me a lot, I was having a hard time using statistic with R, not a lot of courses about it,keep up the good work.
@aratoud57569 жыл бұрын
best R tutorials on KZbin...
@smrazaabidi14957 жыл бұрын
Mike, You are awesome. Thanks buddy for such a succinct demonstration. Really plausible.
@gigiem25805 жыл бұрын
THIS. IS. SO. HELPFUL.
@parthahs10 жыл бұрын
Thanks for explaining in the simplest way.I am looking for other videos for processing data. Best Regards Partha
@marinstatlectures10 жыл бұрын
You're welcome Hassan Parthasarathy !
@kguadl9 жыл бұрын
Thanks a million for making R tutorials without JARGON!!!! Yay!!
@marinstatlectures9 жыл бұрын
you're welcome +Kelly Lyons ! and i agree with you sentiment...while jargon is important in a discipline, it often only means something to one who already understands the concept...and gets in the way of learning for those who don't yet know the concept!
@kumarsvc10 жыл бұрын
Nice illustration, thanks Marin for keeping it very simple.
@marinstatlectures10 жыл бұрын
You're welcome vs123 !
@Jaiston4 жыл бұрын
Thanks a lot for making such an amazing video. It was very easy. God bless you.
@wisdomandpeace266810 жыл бұрын
Great instructions for a R Programming newbie.
@marinstatlectures10 жыл бұрын
Thanks Wisdom and Peace !
@TOMH922710 жыл бұрын
great video, I spend hours on importing basic matrices. This video explains it in 5 minutes
@marinstatlectures10 жыл бұрын
Thanks Tom Hermans , glad to hear you're finding our videos useful! Thanks for watching!
@hanatekletekle71213 жыл бұрын
God bless you for simplifying this.
@knowledgeisthepowerofhuman89666 жыл бұрын
god bless you as you spread the knowledge for needy people god will enhance your courage and do more in depth of r
@ganjedalieva45283 жыл бұрын
Thank you so much! Your tutorial helped me a lot. Once again THANK YOU!
@ibee2448 жыл бұрын
you are a life saver! thank you for these videos, you cover so many commands and make it so simple and easy to follow. thank you thank you.
@marinstatlectures8 жыл бұрын
You're welcome +I Bee !
@TJ-gp6to10 жыл бұрын
Excellent! Thank you for all your great tutorials. I'm new to this and you keep it simple enough for beginners to understand. Much appreciated.
@marinstatlectures10 жыл бұрын
You're welcome ***** , glad you find them useful!
@mukailarafiu27184 жыл бұрын
May Allah bless you in abundance, you are a HERO for saving my life.
@nicolasbalmaceda91558 жыл бұрын
very helpful! the best explained tutorials i've seen yet on R in youtube.
@marinstatlectures8 жыл бұрын
Thanks +Nicolas Balmaceda we appreciate that!
@mididoddi7 жыл бұрын
Great job with the videos Mike! There are only few things in this world for which you can say "Can't make it better".
@fanish1010 жыл бұрын
Thank you so much!! Great tutorial. I have been struggling for hours
@marinstatlectures10 жыл бұрын
You're welcome Isha Sookharee , glad you found it helpful!
@user-tl4jl7bg3i7 жыл бұрын
Thank you thank you! Your a life saver! Was struggling so much with my stats assignment but now I finally understand it!
@Dyokoto10 жыл бұрын
Thank you very much. It is very helpful. This is what I have been looking for since most of my data are in Excel sheets.
@marinstatlectures10 жыл бұрын
Thanks Dyokoto , glad to hear it has been helpful!
@swatithakkar72219 жыл бұрын
thanks a lot Mr. Marin , sir didnt get about comma(,)...actully i am a beginner in R.
@kishorejaganccb8 жыл бұрын
+Swati Thakkar csv is coma separated values. whatever we hav it in excel sheet are nothing bt csv s.. saved in the extension .csv . so if we want to import those values in csv file to R as data frames we need to specify the separator in csv file which is nothing but ","
@mikorees58536 жыл бұрын
Thanks Mike. Your video really makes my life simple!
@marinstatlectures6 жыл бұрын
good to hear :)
@庞广来9 жыл бұрын
very straightforward and helpful. Thank you
@marinstatlectures9 жыл бұрын
Thank you +庞广来 !
@wenfangliu24219 жыл бұрын
You made fabulous lectures. Thanks a lot.
@marinstatlectures9 жыл бұрын
you're welcome +Wenfang Liu !
@mpgrewal009 жыл бұрын
Very good work Marin.. thanks for this wonderful series.
@marinstatlectures9 жыл бұрын
you're welcome +mpgrewal00 !
@bhattaraimanish495710 жыл бұрын
Great Tutorials..found really informative to get grounds in R to solve some optimization problems
@marinstatlectures10 жыл бұрын
Thanks Bhattarai Manish , happy to hear you found them useful!
@Preppster836 жыл бұрын
You rock. Thank you for making this straightforward.
@rochuka9 жыл бұрын
wonderful experience through your tuitorials
@marinstatlectures9 жыл бұрын
Thanks +rodgers closec !
@shahzaibkhoso22404 жыл бұрын
I like the way you are teaching
@sudhaashri24296 жыл бұрын
i learn import excel file to r so easily thank u sir
@marinstatlectures6 жыл бұрын
you're welcome
@alexanderwoods561010 жыл бұрын
Hey this video was amazingly helpful!!!!! You made R much less intimidating! Thank you!!!!!
@marinstatlectures10 жыл бұрын
You're welcome Alexander Woods , glad you found it useful!
@matthewott787810 жыл бұрын
Very, very helpful - thank you MarinStatsLectures!
@marinstatlectures10 жыл бұрын
You're welcome Matthew Ott , glad you found them helpful!
@anitamcdowell97024 жыл бұрын
Very helpful! Thank you, Mike and Ladan.
@ohnyx601510 жыл бұрын
Thank you for sharing stuff of such quality for free . God bless!
@marinstatlectures10 жыл бұрын
You're welcome Oh! Nyx
@naox141110 жыл бұрын
All the things крипто-анархисты said plusTHANK YOUUU. WAS HELPFUL. keep doing this videos of R so i can learn more and MOORE
@simonshrestha10 жыл бұрын
the first time I came across file.choose() and it is very helpful,
@gwizamaryse93636 жыл бұрын
Thank you, very easy to understand.
@griscellimarianne97697 жыл бұрын
Thanks!! Great explanation!
@shainishadevi19074 жыл бұрын
Amazing channel! Really useful!
@porchheng1320 Жыл бұрын
this is very helpful to me, thank you very much sir.
@milenaoliveira26265 жыл бұрын
Wow!!!!! Amazing help. God bless you!
@marinstatlectures9 жыл бұрын
Hi ***** , you have your youtube settings set so that i can not reply to your comment, so i hope you see this message here. the reason that your data appears as one column is that you have not specified how variables are separated correctly. (e.g.) if the data is separated using commas: 5,15,female,smoke,... and you don't tell R that it is comma separated, using *sep=","*, the R ends up reading it all in as one variable...as it does not know what separates each of the variables/columns. so yo need to check how your data is separated, and make sure to specify that correctly. the problem with the rows, is most likely not a problem. the data viewer in RStudio only shows at most 1000 rows, so it is likely that all of the rows have been read in, but that RStudio only shows 1000 of them. you can type *dim(data)*, replacing data with the name you've given your data, so see the # of rows/columns in it, or look in the top-right corner of RStudio in the workspace, and it will show the name of the data, along with the number of observations and number of variables.
@swathiganji25428 жыл бұрын
one of the best tutorials I have ever watched..Thank you very much.. Just wanted to check if you told any decision tree videos using R...
@marinstatlectures8 жыл бұрын
thanks +swathi ganji , we appreciate that! we haven't prepared anything for decision trees yet.
@juniorjunior16664 жыл бұрын
Thanks for sharing it. That is a very informative video
@Dr_RishiGanesan8 жыл бұрын
Amazing work Marin.. Loving it :)
@marinstatlectures8 жыл бұрын
thanks +Saptharishi L G , we appreciate you saying that!
@lamiyamammadova81797 жыл бұрын
Thanks a lot! You explained everything so easily!
@MichaelSmith-zm5qi6 жыл бұрын
Thank you! These videos are awesome!
@marinstatlectures6 жыл бұрын
you're welcome :)
@meganmccarthy37319 жыл бұрын
THANK YOU. You are my savior.
@marinstatlectures9 жыл бұрын
you're welcome +Megan McCarthy !
@JoysiUSSR11 жыл бұрын
thanks for your videos (I use it for self-study). Especially for subtitles (my level of English basic only)!
@marinstatlectures11 жыл бұрын
You're very welcome Marat Sadykov! We've tried to make them accessible to as many people as possible, so its very encouraging to hear your comment, thanks!
@RAVIKUMAR-me3th4 жыл бұрын
you are good mentor love to learn from you
@s0obinxp11 жыл бұрын
Very helpful video for my stats class. Thank you!! Subscribed :)
@marinstatlectures11 жыл бұрын
You're welcome, glad you're finding them useful!
@ako14898 жыл бұрын
very useful) and very good sound! thanks
@Saqlain78617 жыл бұрын
very good lectures, thank you. and beautiful desktop background picture :)
@anukulburanapratheprat74833 жыл бұрын
Really helpful. Thank you very much.
@abrahammusembi67627 жыл бұрын
Good one too. wish you can also do a full combined tutorial for R. kindly
@SolidSnake_957 жыл бұрын
Sir, your lectures are awesome and i am stunned by the amount of effort you are putting it in.I am for electronics and communication engineering and thinking of making my career into data analytics and i founded these videos very helpful..Thank you so much sir..!! And what tips would you like to give regarding to make career in analytics and what should i do more in respect to this field..??Your help will be so much appreciated..!!
@marinstatlectures7 жыл бұрын
it really depends on what area you want to go into. as a general statement, the more programming (and programming languages) you know, the better. learning something like "Python" is a good next step....that would definitely improve your marketability.
@JackTGreat10 жыл бұрын
Excellent Lecture Series, thank you!
@marinstatlectures10 жыл бұрын
Thanks JackTGreat !
@BolasDaGrk5 жыл бұрын
Marin, you are awesome!
@marinstatlectures5 жыл бұрын
thanks :)
@tinhoan35567 жыл бұрын
very good, great, awesome, excellent Video!
@junhotan20966 жыл бұрын
amazing person doing stunning thing, what a man
@camardi12344 жыл бұрын
Helped so much!!! thanks bro
@swatimandavawalla12656 жыл бұрын
Thank u so much Wonderful I can learn r software Small such vedio help to learn faster Thank u
@hkiranabc10 жыл бұрын
Hey this video and you rocks. Thank you for providing such a valuable information. will be great full to you
@marinstatlectures10 жыл бұрын
Thanks Kiran H ! We've put a lot of work into them, and appreciate hearing this!
@zacharysegal82127 жыл бұрын
I found this very helpful, thanks for posting this.