Re: [R] Is it good practice to have a package depend on Rtools(for unziping of .7z and.rar files)? Crab legal?

2018-03-29 Thread Lucas Ferreira Mation
e keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Thu, Mar 29, 2018 at 6:56 AM, Lucas Ferreira Mation > <lucasmat...@gmail.com> wrote: > > I created this package, > > > >

[R] Is it good practice to have a package depend on Rtools(for unziping of .7z and.rar files)? Crab legal?

2018-03-29 Thread Lucas Ferreira Mation
I created this package, https://github.com/lucasmation/microdadosBrasil which we are preparing for Cran submission. The package facilitates downloading and reading most of the microdatasets (household surveys, Census, etc). For each dataset it: (a) downloads the data from the data providers

Re: [R] How to pre-process fwf or csv files to remove unexpected characters in R?

2016-11-06 Thread Lucas Ferreira Mation
zed and C++ based 2016-11-06 14:16 GMT-02:00 David Winsemius <dwinsem...@comcast.net>: > >> On Nov 6, 2016, at 5:36 AM, Lucas Ferreira Mation <lucasmat...@gmail.com> >> wrote: >> >> I have some large .txt files about ~100GB containing a dataset in fixe

[R] How to pre-process fwf or csv files to remove unexpected characters in R?

2016-11-06 Thread Lucas Ferreira Mation
I have some large .txt files about ~100GB containing a dataset in fixed width file. This contains some errors: - character characters in column that are supposed to be numeric, - invalid characters - rows with too many characters, possibly due to invalid characters or some missing end of line