Introduction to R, Part I: Interface and Data Structures

MIT RES.1-002 Introduction to R and Geographical Information Systems (GIS), Fall 2023
Instructor: Helena Vallicrosa
View the complete course: ocw.mit.edu/courses/introduct...
KZread Playlist: • MIT RES.1-002 Introduc...
Get in touch with R from scratch using R base. You will learn the basics of R interface, how to interact with the code, data types (numeric, integer, character…) and data structures (matrix, data frame, lists…), finishing with exercises.
0:00 Why R?
1:25 The R Interface
3:01 Assigning Variables
7:08 Logical Questions
8:12 Data Types
10:22 Vectors
19:51 Summary Functions
21:17 Matrices
27:05 Data Frames
30:06 Lists and Exercises
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu
Support OCW at ow.ly/a1If50zVRlQ
We encourage constructive comments and discussion on OCW’s KZread and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at ocw.mit.edu/comments.

Пікірлер: 40

  • @sergismael
    @sergismael25 күн бұрын

    Thank you MIT

  • @omargaber3122

    @omargaber3122

    24 күн бұрын

    You are welcome 🤗

  • @Deathonthesnow
    @Deathonthesnow26 күн бұрын

    THis is great!

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo22 күн бұрын

    ❤❤❤❤ 0:15 ❤❤❤R has many advantages 0:26 0:26 🎉🎉🎉🎉🎉🎉🎉🎉

  • @nnniiikkk7707
    @nnniiikkk770713 күн бұрын

    Very nice video! I was wondering why the function is.integer gives back FALSE even for variables that are integer, I understand that the class of a integer variable is 'numeric' and not specifically 'integer' but I was wondering why is.integer is not as linear as I thought.

  • @djangoworldwide7925

    @djangoworldwide7925

    8 күн бұрын

    You might want to add L (6L) to the number so it's explicitly an integer

  • @Aryan37419
    @Aryan3741921 күн бұрын

    Thank you man

  • @Mastitime-qr4tj
    @Mastitime-qr4tj26 күн бұрын

    India(bihar) ❤❤❤

  • @tusheyy6033
    @tusheyy603326 күн бұрын

    who is Khalid35

  • @mentfib1906

    @mentfib1906

    26 күн бұрын

    He invented R in 1876 after performing the first moon landing

  • @freeeagle6074
    @freeeagle607426 күн бұрын

    An awesome person.

  • @nikunjprajapati4761
    @nikunjprajapati476126 күн бұрын

    Letsssss gooooo

  • @batman_2004

    @batman_2004

    26 күн бұрын

    Where?

  • @nikunjprajapati4761

    @nikunjprajapati4761

    26 күн бұрын

    @@batman_2004to your mom's bedroom

  • @enisten

    @enisten

    26 күн бұрын

    @@nikunjprajapati4761 You're not fit for this channel.

  • @omargaber3122

    @omargaber3122

    24 күн бұрын

    No

  • @ArthurSchoppenweghauer
    @ArthurSchoppenweghauer25 күн бұрын

    Ah yes, the R language. Good enough to do some simulations (as long as they're not too expensive), run some models, wrangle some data, create some graphs, but with all the problems of scripting languages: slow because garbage collected, runtime type checks, the interpreter keeps executing code even after running into an error in your script, weird javascript-style type coercion and really clunky dependency management. Whatever you want to build, will not attain a certain level of quality you would get from a statically typed, compiled language like C, Fortran or Rust.

  • @notme426

    @notme426

    19 күн бұрын

    Yes you have just described the entire purpose of R. Who in their right mind would do any of these things in C?

  • @lightspd714

    @lightspd714

    19 күн бұрын

    @@notme426 I’ve done it for fun. I would not do so for a serious work project though where time is of the essence. In that case Python, R, or Julia (which is very fast due to JIT compilation)

  • @boltthrower142
    @boltthrower14226 күн бұрын

    voce bellissima

  • @vorsybl

    @vorsybl

    26 күн бұрын

    Ngl it is pretty calm and relaxing.

  • @user-mm9ns1wp6v
    @user-mm9ns1wp6v26 күн бұрын

    Khalid35

  • @omargaber3122

    @omargaber3122

    24 күн бұрын

    What is mean Khalid 35?!!

  • @user-cu3of4he2m
    @user-cu3of4he2m26 күн бұрын

    Khalid35 ❤

  • @omargaber3122

    @omargaber3122

    24 күн бұрын

    What is mean Khalid 35?!!

  • @user-cu3of4he2m

    @user-cu3of4he2m

    23 күн бұрын

    @@omargaber3122 😊

  • @ugi612013
    @ugi61201326 күн бұрын

    Be wise. Learn Python.

  • @B_knows_A_R_D-xh5lo

    @B_knows_A_R_D-xh5lo

    22 күн бұрын

    👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿💯

  • @bantyrFish

    @bantyrFish

    19 күн бұрын

    why?

  • @aakashramdam7543

    @aakashramdam7543

    19 күн бұрын

    R be like: "Mujhe kyu thoda, mujhe kyu thoda"😂😂

  • @lightspd714

    @lightspd714

    19 күн бұрын

    ⁠@@bantyrFishPython is the top data science language and is also a general purpose programming language used for numerous tasks. The reality is learn both if you can.

  • @djangoworldwide7925

    @djangoworldwide7925

    8 күн бұрын

    Unfortunately, as an R programmer, I agree. Not because R is not good, but because everyone is using python.

  • @uwealex9168
    @uwealex916826 күн бұрын

    Julia is better ^^

  • @ellieborden6649

    @ellieborden6649

    26 күн бұрын

    How?

  • @ArthurSchoppenweghauer

    @ArthurSchoppenweghauer

    25 күн бұрын

    @@ellieborden6649 JIT compiled instead of interpreted, this is supposed to improve runtime performance after the first run, although there's a compilation cost. Performance benchmarks seem to indicate it can be as fast as C, but I would take all of this with a grain of salt.

  • @narehakobyan5701
    @narehakobyan570126 күн бұрын

    The program screen is so small and background, that all the explanation is useless. The most useless video on OCW so far👎

  • @YuratAbraham

    @YuratAbraham

    25 күн бұрын

    I have a 15-inch laptop and looks fines

  • @facitenonvictimarum174
    @facitenonvictimarum17422 күн бұрын

    Will R make my groceries affordable? -- or stop the genocide in Gaza and Ukraine?

  • @protect_trans_lives
    @protect_trans_lives26 күн бұрын

    Khalid35