Re: [R] About converting files in R
Can you tell us where you got the file from and perhaps even send a link to the file? I know of at least 11 types of files that use `.bin` as an extension which are all different types of data with different binary formats. On Tue, Oct 25, 2016 at 5:40 PM, Bob Rudiswrote: > 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 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.
Re: [R] About converting files in R
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 Rudiswrote: > > 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 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.
Re: [R] About converting files in R
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 liwrote: > 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.
[R] About converting files in R
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.