ReadBin() Function in R

Discussion in 'CT3' started by CorkActuary, Jan 23, 2014.

  1. CorkActuary

    CorkActuary Member

    Hi,

    How do I read in data from a table in WordPad using the ReadBin() function in R... Keep reading about the following:

    x = file("LOCATION", "rb")
    readBin(x, integer(),n= ,size= ,endian = "little")
     
  2. td290

    td290 Member

  3. Calum

    Calum Member

    I presume WordPad is a binary format, so so far so good, but my question is, is it really essential to read from WordPad or could you just copy and paste from WordPad into Excel and save as CSV?
     
  4. Tim.Sullivan

    Tim.Sullivan Member

    There's a user friendly guide here for importing data into R (including from Excel). Doesn't help with the original question in this thread though!
     
  5. CorkActuary

    CorkActuary Member

    Thanks for your responses guys. I'm meeting lecturer there in a while so hopefully will clarify. I have assignment due in the morning... :p
     

Share This Page