Skip to content
Back to formatted view

Raw Message

Message-ID: <1544104257.652595.1600906384.7288E270@webmail.messagingengine.com>
Date: 2018-12-06T13:50:57Z
From: Albrecht Kauffmann
Subject: Bug (?): reading binary files in Windows 10
In-Reply-To: <CA+w2qYnxD5DHs0Q=k0T=5d8u3EVmHWtFNBtqoz0bb1ZRkODbOA@mail.gmail.com>

Dear Kate,

I cannot find your small script, but I downloaded the file using your command line. It has the size of  142773760 bytes (136.2 MB).

Hth,
Albrecht

-- 
  Albrecht Kauffmann
  alkauffm at fastmail.fm

Am Do, 6. Dez 2018, um 13:45, schrieb Kate Stone:
> Hello r-help,
> 
> Could you help me determine whether this is an R bug or not?
> 
> I've been trying to read this binary file in R:
> 
> download.file("ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/preprocessing_erp/s04.eeg","s04.eeg")
> 
> and I get a different length file (i.e. much longer) in Windows  >= 8
> x64 (build 9200) than in Ubuntu. I've tested it with different R
> versions in Windows and different package versions with the same
> incorrect result. Other colleagues have tested it on the same
> Windows/Ubuntu builds and got the correct length.
> 
> I'm not sure whether this is an R problem or something to do with my
> OS specifically, or even with the file itself. Any ideas?? I've
> attached a small script demonstrating the issue.
> 
> Many thanks,
> Kate
> 
> -- 
> Kate Stone
> PhD candidate
> Vasishth Lab | Department of Linguistics
> Potsdam University, 14467 Potsdam, Germany
> https://auskate.github.io
> ______________________________________________
> R-help at 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.