[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] read list of binary files and explore them
From:       Boris Steipe <boris.steipe () utoronto ! ca>
Date:       2017-04-29 15:51:50
Message-ID: 615B7668-8852-49D5-8A43-AC1FD8452873 () utoronto ! ca
[Download RAW message or body]

Given that, you can be certain that your file contains more than one or two numbers, \
thus your way of reading it must be wrong.

B.





> On Apr 29, 2017, at 11:34 AM, Ragia . <ragia11@hotmail.com> wrote:
> 
> 
> files size is 7682 kb
> 
> sorry for multiple emails
> 
> Ragia
> 
> 
> 
> 
> ________________________________
> From: Bert Gunter <bgunter.4567@gmail.com>
> Sent: Saturday, April 29, 2017 4:45 PM
> To: Ragia .; R-help
> Subject: Re: [R] read list of binary files and explore them
> 
> 1. Unless your comment is OT or personal, always reply to the list.
> 
> 2. What does your OS say about file size?
> 
> 3. Beyond this, I cannot help.
> 
> -- Bert
> 
> 
> 
> Bert Gunter
> 
> "The trouble with having an open mind is that people keep coming along and sticking \
>                 things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
> 
> On Sat, Apr 29, 2017 at 6:38 AM, Ragia . \
> <ragia11@hotmail.com<mailto:ragia11@hotmail.com>> wrote: 
> 
> lots  of thanks for answering, I guess I asked the question in wont way...
> 
> I did that, but some times I got one single reading( number) from the file..other \
> times two numbers, is there a way to be sure that I am reading it correctly? what I \
> know is not more than its float content . 
> 
> Ribrahim
> 
> 
> 
> 
> ________________________________
> From: Bert Gunter <bgunter.4567@gmail.com<mailto:bgunter.4567@gmail.com>>
> Sent: Saturday, April 29, 2017 6:31 AM
> To: Ragia .
> Cc: r-help@r-project.org<mailto:r-help@r-project.org>
> Subject: Re: [R] read list of binary files and explore them
> 
> 
> ?readBin  (a search on "read binary files R" or similar would have found this).
> 
> and please spend some time with the R import/export manual + tutorials
> to learn how to manipulate data in R. This list expects you to make an
> effort to do your own work before posting. See the posting guide below
> for details.
> 
> Cheers,
> Bert
> 
> 
> 
> 
> Bert Gunter
> 
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
> 
> 
> On Fri, Apr 28, 2017 at 9:13 PM, Ragia . \
> <ragia11@hotmail.com<mailto:ragia11@hotmail.com>> wrote:
> > 
> > Dear group,
> > 
> > I have  list of  4-byte float type files, the files are named f00, f01, f02 till \
> > f99.... 
> > 
> > kindly how can I read and explore them in R, merge the readings in a table or \
> > data frame 
> > thanks in advance,
> > 
> > 
> > Ragia A. Ibrahim
> > 
> > 
> > 
> > [[alternative HTML version deleted]]
> > 
> > ______________________________________________
> > R-help@r-project.org<mailto:R-help@r-project.org> mailing list -- To UNSUBSCRIBE \
> > and more, see https://stat.ethz.ch/mailman/listinfo/r-help
> 
> thz.ch/mailman/listinfo/r-help>
> stat.ethz.ch<http://stat.ethz.ch>
> The main R mailing list, for announcements about the development of R and the \
> availability of new code, questions and answers about problems and solutions using \
> R ... 
> 
> 
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 	[[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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic