Re: [R-sig-phylo] read.FASTA accept connection

2017-01-04 Thread Emmanuel Paradis
This is great! This can also read other types of connection. I made a few modifications so that the function can read remote files through HTTPS or FTPS and this fixes the crash when reading empty files (or compressed files without specifying a connection). For this fix, it is needed to

Re: [R-sig-phylo] read.FASTA accept connection

2017-01-03 Thread Rj Ewing
Emmanuel, Thanks, I've attached a patch containing the changes. I'm not very familiar with R, so maybe there is a better way to do it. Let me know if you want me to make any changes. Thanks, RJ On Tue, Jan 3, 2017 at 12:53 AM, Emmanuel Paradis wrote: > Hi, > > You

Re: [R-sig-phylo] read.FASTA accept connection

2017-01-03 Thread Emmanuel Paradis
Hi, You can send your contribution directly to me. See this post for a recent discussion on how to contribute to ape: http://www.mail-archive.com/r-sig-phylo@r-project.org/msg04580.htmlra Sure your contribution will be useful. I've just found out that read.FASTA crashes R if the FASTA file

[R-sig-phylo] read.FASTA accept connection

2017-01-02 Thread Rj Ewing
Is there a way to contribute to the project? I would like to add the ability for read.FASTA to accept a connection or a file. I have a zip file that I would rather not unzip before passing into read.FASTA. I can obtain a connection using unz("file.zip", "myFasta.fasta"), however read.FASTA does