How to import data from Excel files to R | R Programming

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 33

  • @erickmetalsand9026
    @erickmetalsand9026 3 роки тому +15

    Man, thanks for your help!, I'm beginning with this and I found it helpful, I hope you can continue making videos cause you explain clear, ✌️

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

      Thank you! Glad we could help :)

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

      Hey now have you learned R language completely?

  • @geraldolson7364
    @geraldolson7364 3 роки тому +3

    Thanks again. Very clear and helpful.

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

    Thank you G. I was really stuck in the Google analytics certification

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

    Thank u for this
    Managed to find away to accurately load xlsb files in r?

  • @luziiluizth.8742
    @luziiluizth.8742 2 роки тому +1

    Awesome 👍👍
    Thanks for sharing this with us ❤️

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

    You're the best. Thank yoy mate

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

    Thanks man, it helps alot

  • @christopherberggren6124
    @christopherberggren6124 Рік тому +2

    Newbie here - have been attempting to import spreadsheets into R Studio using the read.csv function (I right-click to get the file path, copy and paste, convert the single back-slash to a double, and STILL getting error message. I've tried different methods too, like making sure to install and load tidyverse and here, then starting the read.csv function with a DF

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

    Thank you, great video

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

    Hey I'm an ecologist and doing stuff with species abundance etc. As such, my first column is a list of taxonomic names and my sampling sites are the header. How do I get R to read my first column as a "header"?

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

      Hi! If you look at the documentation for the read.csv function (www.rdocumentation.org/packages/xlsx/versions/0.6.5/topics/read.xlsx), you can see there is a "header" variable: "a logical value indicating whether the first row corresponding to the first element of the rowIndex vector contains the names of the variables.". Meaning you just have to set it to True to keep your header. Hope that helps! Best, Lilly

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

    Thanks Bro man👍

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

    Thank you so much

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

    omg thank you alot

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

    what if I have multiple sheets? It says I can't save excel file as csv with multiple sheets

  • @isabellekemajou-brown923
    @isabellekemajou-brown923 2 роки тому +1

    Very informative video, thank you. I have a question if one may help. I am trying the command read.cvs and tried every step I see in your video but I keep getting error message "Error in read.cvs("path/filename.csv", :
    could not find function "read.cvs""
    I tried both on windows and on mac and I am still having the same error message.

    • @abstract-thoughts
      @abstract-thoughts 2 роки тому +1

      You have it written as cvs and csv in this reply... make sure its always csv

    • @isabellekemajou-brown923
      @isabellekemajou-brown923 2 роки тому

      @@abstract-thoughts Yes it works now. Thanks Chris!

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

    Please share on how to import Bam files in R

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

    whenever I try to copy and paste the path file into read_excel, i get an "error: `path` does not exist". Does anyone know why this happens??

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

    What if column A has 5 observations and column B has 6 observations? How do we import in this situation?

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

      Hi Hugo! The number of observations per column should not create problems when importing the data. You will probably have one "NA" in the row where there is no observation in column A. Hope that helps! Best, DDS

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

      @@ProgrammingDDS Thanks for the feedback!
      Regards.

  • @ehAI8
    @ehAI8 9 місяців тому

    🎯 Key Takeaways for quick navigation:
    00:00 📊 *Introduction to uploading Excel data into R*
    00:15 📑 *Using Open Spreadsheet for universal accessibility*
    00:28 🧹 *Importance of cleaning up the spreadsheet before uploading*
    00:55 💾 *Saving the file in a simple text format, preferably CSV*
    01:25 ⚠️ *Reminder about losing functionalities when saving in CSV format*
    02:09 🔄 *Switching between CSV and XLSX formats for different purposes*
    02:39 🖥️ *Opening the saved CSV in R- **02:52** 🗂️ Understanding the CSV format in RStudio*
    03:05 📁 *Locating and specifying the file path in R*
    03:33 🔙 *Handling backslashes in file paths for Windows in R*
    04:13 📊 *Reading and displaying the data from CSV in R*
    04:29 🔄 *Converting the CSV data into a data frame in R*
    04:54 🛠️ *Adjusting CSV reading options like header and separators in R*
    05:50 🧬 *Understanding the 'strings as factors' parameter in R*
    06:17 📈 *Behavior of strings in different versions of R*
    Made with HARPA AI

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

    what abour real world data things are not setup on the same way

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

    "/" works on Windows also. "\\" not necessary. 😄

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

    Your file properties has export into R why is that

  • @Anonymous-md8jp
    @Anonymous-md8jp 9 місяців тому

    Dream from wish...