Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Excel data to R

  • 12-06-2013 10:57PM
    #1
    Registered Users, Registered Users 2 Posts: 2,540 ✭✭✭


    Hi guys,

    I am having problems opening an excel file saved as CSV to R.

    I am getting errors which says that the file is not on the directory where I saved it.

    I am new to R. So I have no clue as to what the error means.

    Mods I am not sure if this query is meant to be on the development forum o maths forum.If you can bridge it I will really appreciate it thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 4,586 ✭✭✭sock puppet


    Check that the file path is correct. Otherwise you can change the directory in R up the top to where you have the csv file saved. So instead of writing read.csv("C:\.......\myfile.csv") you can just write read.csv("myfile.csv"). It's handy as well for outputting files as everything's in one place.


  • Registered Users, Registered Users 2 Posts: 2,540 ✭✭✭freeze4real


    Thanks I got it to work.


Advertisement
Advertisement