Re: [Bioc-devel] Windows-only issue with downloading a Rdata file and loading it with R

2016-06-19 Thread Leonardo Collado Torres
Thanks Martin! Using mode='wb' solved the issue. On Sat, Jun 18, 2016 at 10:41 AM, Martin Morgan wrote: > On 06/18/2016 12:58 AM, Leonardo Collado Torres wrote: >> >> Hi, >> >> I get the same error while hosting the data somewhere else or when using >> RawGit's url. That is: >> >>> library('downl

Re: [Bioc-devel] Windows-only issue with downloading a Rdata file and loading it with R

2016-06-18 Thread Martin Morgan
On 06/18/2016 12:58 AM, Leonardo Collado Torres wrote: Hi, I get the same error while hosting the data somewhere else or when using RawGit's url. That is: library('downloader') download(' http://www.biostat.jhsph.edu/~lcollado/recount/metadata_clean_sra.Rdata', destfile = 'test2.Rdata') load

Re: [Bioc-devel] Windows-only issue with downloading a Rdata file and loading it with R

2016-06-17 Thread Leonardo Collado Torres
Hi, I get the same error while hosting the data somewhere else or when using RawGit's url. That is: > library('downloader') > download(' http://www.biostat.jhsph.edu/~lcollado/recount/metadata_clean_sra.Rdata', destfile = 'test2.Rdata') > load('tes2t.Rdata') Error: ReadItem: unknown type 50, perh

Re: [Bioc-devel] Windows-only issue with downloading a Rdata file and loading it with R

2016-06-17 Thread Gabe Becker
I wonder if raw only means "raw after line return munging"? can you attach the file that gets downloaded via email? (off list is fine) On Fri, Jun 17, 2016 at 1:44 PM, Leonardo Collado Torres wrote: > Hi, > > I'm trying to figure out what is going wrong with an error that pops > up on Windows o

[Bioc-devel] Windows-only issue with downloading a Rdata file and loading it with R

2016-06-17 Thread Leonardo Collado Torres
Hi, I'm trying to figure out what is going wrong with an error that pops up on Windows only. It's currently the only error for a package that I recently submitted to Bioc. The function is fairly simple: it downloads a Rdata file from the web and loads it. If I try to download and load the file wi