About 608,000 results
Open links in new tab
  1. How do I import a CSV file in R? - Stack Overflow

    Nov 7, 2012 · dat = read.csv("spam.csv", header = TRUE) You can also reference this tutorial for more details. Note: make sure the .csv file to read is in your working directory (using getwd()) …

  2. r - How to import multiple .csv files at once? - Stack Overflow

    Suppose we have a folder containing multiple data.csv files, each containing the same number of variables but each from different times. Is there a way in R to import them all simultaneously …

  3. How to get a .csv file into R? - Stack Overflow

    Instead of spending time scouring google, your time would have been better spent reading the documentation that comes with R. Specifically, the 'Variations on read.table' section in R Data …

  4. How do I import a large (6 Gb) .csv file into R efficiently and …

    4 I have a large .csv file which I need to import into R in order to do some data manipulation on it. I'm using the read.csv(file.csv) method, where I assign the result of the method to some …

  5. R Reading in a zip data file without unzipping it - Stack Overflow

    Sep 17, 2012 · It even guessed the right file to read from the archive without me specifying it (it was the only CSV file in the archive, and the biggest file, not sure what went into the heuristics …

  6. r - Only read selected columns - Stack Overflow

    It's duplicate of Ways to read only select columns from a file into R?, Dirk mention about NULL as column class in his answer.

  7. Importing csv file into R - numeric values read as characters

    I have a csv file which I open in excel. I manipulate the columns algebraically to obtain a new column "A". I import the file into R using read.csv() and the entries in column A are stored as …

  8. r - Error in file (file, "rt") : cannot open the connection - Stack ...

    Dec 14, 2014 · I got my R code file from a friend and was not able to run read.csv command but If I copy the same command (read.csv ) to a new R script file, it ran fine. Below command was …

  9. How to open CSV file in R when R says "no such file or directory"?

    Apr 6, 2011 · I have an excel file that I want to open in R. I tried both of these commands after saving the excel file as a csv file or a text file. read.table() or read.csv() I think part of the …

  10. Using R to download zipped data file, extract, and import data

    Jun 16, 2010 · Added solution using library (archive) below - for me this was the fastest option & it also allows reading in a particular csv file within the archive without having to unzip the whole …