[Bioc-devel] Different behavior under windows causing build failure and errors

Seth Falcon sfalcon at fhcrc.org
Wed Jan 4 22:17:51 CET 2006


Hi Sean,

On  4 Jan 2006, sdavis2 at mail.nih.gov wrote:
> The function getGEO downloads a file from a url and then parses it.
> With other format files (GDS, GSM, GSE), the command seems to work
> fine.  Does anyone have any ideas what might be up?  I would really
> like to troubleshoot here, but I just can't think of a way to do so,
> as the error is clearly windows-specific.  Have others faced similar
> problems with Windows behaving quite differently, even when the
> package contains only R code?

Yes, Windows often behaves... diferently :-)

One area that has caused many issues in the past is the mode with
which a file is opened.  On Windows there is a difference between
"text" files and "binary" files.  Using open="rb" or open="wb" is
vital on Windows and harmless on unix-like when you are writting or
reading binary data (like a .gz file).

+ seth



More information about the Bioc-devel mailing list