• We are pleased to announce that the winner of our Feedback Prize Draw for the Winter 2024-25 session and winning £150 of gift vouchers is Zhao Liang Tay. Congratulations to Zhao Liang. If you fancy winning £150 worth of gift vouchers (from a major UK store) for the Summer 2025 exam sitting for just a few minutes of your time throughout the session, please see our website at https://www.acted.co.uk/further-info.html?pat=feedback#feedback-prize for more information on how you can make sure your name is included in the draw at the end of the session.
  • Please be advised that the SP1, SP5 and SP7 X1 deadline is the 14th July and not the 17th June as first stated. Please accept out apologies for any confusion caused.

ReadBin() Function in R

C

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")
 
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?
 
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!
 
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
 
Back
Top