Author Topic: R tutorial: How to import data into R  (Read 123 times)

Offline s.arman

  • Sr. Member
  • ****
  • Posts: 260
  • Test
    • View Profile
R tutorial: How to import data into R
« on: March 21, 2019, 08:49:46 PM »
Before you can analyze and visualize data, you have to get that data into R. There are various ways to do this, depending on how your data is formatted and where it’s located.

Usually, the function you use to import data depends on the data’s file format. In base R, for example, you can import a CSV file with read.csv(). Hadley Wickham created a package called readxl that, as you might expect, has a function to read in Excel files. There’s another package, googlesheets, for pulling in data from Google spreadsheets.

[ Get Sharon Machlis’s R tips in our how-to video series. | Read the InfoWorld tutorials: Learn to crunch big data with R. • How to reshape data in R. • R data manipulation tricks at your fingertips • Beginner’s guide to R. | Stay up to date on analytics and big data with the InfoWorld Big Data Report newsletter. ]
But if you don’t want to remember all that, there’s rio.

The magic of rio
“The aim of rio is to make data file I/O [import/output] in R as easy as possible by implementing three simple functions in Swiss-army knife style,” according to the project’s GitHub page. Those functions are import(), export(), and convert().

Source: infoworld

Offline Tapushe Rabaya Toma

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • University Webpage
Re: R tutorial: How to import data into R
« Reply #1 on: March 25, 2019, 04:35:32 PM »
Thank for Sharing Sir....  :)

Offline s.arman

  • Sr. Member
  • ****
  • Posts: 260
  • Test
    • View Profile
Re: R tutorial: How to import data into R
« Reply #2 on: April 16, 2019, 08:04:37 PM »
if you want we can work with R

Offline khalid

  • Jr. Member
  • **
  • Posts: 84
  • Test
    • View Profile
Re: R tutorial: How to import data into R
« Reply #3 on: April 20, 2019, 10:36:50 AM »
Informative

Offline Abdus Sattar

  • Sr. Member
  • ****
  • Posts: 457
  • Only the brave teach.
    • View Profile
    • https://sites.google.com/diu.edu.bd/abdussattar/
Re: R tutorial: How to import data into R
« Reply #4 on: April 20, 2019, 01:05:31 PM »
Informative. Thank for Sharing
Abdus Sattar
Assistant Professor
Department of CSE
Daffodil International University(DIU)
Mobile: 01818392800
Email: abdus.cse@diu.edu.bd
Personal Site: https://sites.google.com/diu.edu.bd/abdussattar/
Google Scholar: https://scholar.google.com/citations?user=DL9nSW4AAAAJ&hl=en