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. 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 …

  7. 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.

  8. csv - How to access to specify file in subfolder without change …

    Jun 23, 2014 · In R, I want to access to some file in subfolder. But I don't want to change working directory then move back. It lost time and long. For exmaple, I working on /home/phuong …

  9. Skip specific rows using read.csv in R - Stack Overflow

    Aug 24, 2016 · I wish to skip the 1st and 3rd rows of my csv file when importing the file into a data frame in R. In the original file my headers are on line 2. Using the skip argument in read.csv I …

  10. 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 …