[R] read_csv not recognized
Eric Berger
er|cjberger @end|ng |rom gm@||@com
Mon Mar 8 22:23:45 CET 2021
Hi Carlos,
That is strange. The function read_csv is in the readr package.
You could try
library(readr)
readr::read_csv(etc)
Let us know what happens.
Eric
On Mon, Mar 8, 2021 at 3:57 PM Hasan Diwan <hasan.diwan using gmail.com> wrote:
> function (file, col_names = TRUE, col_types = NULL, locale =
> default_locale(),
> na = c("", "NA"), quoted_na = TRUE, quote = "\"", comment = "",
> trim_ws = TRUE, skip = 0, n_max = Inf, guess_max = min(1000,
> n_max), progress = show_progress(), skip_empty_rows = TRUE)
> {
> tokenizer <- tokenizer_csv(na = na, quoted_na = quoted_na,
> quote = quote, comment = comment, trim_ws = trim_ws,
> skip_empty_rows = skip_empty_rows)
> read_delimited(file, tokenizer, col_names = col_names, col_types =
> col_types,
> locale = locale, skip = skip, skip_empty_rows = skip_empty_rows,
> comment = comment, n_max = n_max, guess_max = guess_max,
> progress = progress)
> }
>
> Is the source from my copy of tidyverse. Not too involved to copy/paste
> into one's .Rprofile or type into the console session. -- H
>
> On Mon, 8 Mar 2021 at 12:53, Carlos Gonzalez <caghpm using gmail.com> wrote:
>
> > Hi everybody,
> >
> > I've load tidyverse:
> >
> > library(tidyverse)
> >
> > and then try to use the function read_csv() but it didn't recognize it.
> >
> > Thanks!
> >
> > --
> > Saludos / Regards
> >
> > Carlos A. Gonzalez
> > Mobile +598 94 234 653
> > caghpm using gmail.com
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help using 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.
> >
>
>
> --
> OpenPGP: https://hasan.d8u.us/openpgp.asc
> If you wish to request my time, please do so using
> *bit.ly/hd1AppointmentRequest
> <http://bit.ly/hd1AppointmentRequest>*.
> Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
> <http://bit.ly/hd1AppointmentRequest>*.
>
> <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
> >Sent
> from my mobile device
> Envoye de mon portable
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using 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.
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list