Lily, Bob's suggestion is the best. You can also look at readBin(). Enter ?readBin at the R prompt.
Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Oct 25, 2016, at 4:40 PM, Bob Rudis <b...@rud.is> wrote: > > I'm afraid we'll need more information that that since the answer from > many folks on the list to such a generic question is going to be a > generic "yes". > > What's the source of the binary files? If you know the type, there may > even be an R package for it already. > > On Tue, Oct 25, 2016 at 5:28 PM, lily li <chocol...@gmail.com> wrote: >> Hi R users, >> >> Do any of you have any experience about converting binary files to ascii or >> txt files in R? Thanks a lot for your help. >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. CONFIDENTIALITY NOTICE: This e-mail and any files and/or...{{dropped:10}} ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.