Site icon R-bloggers

New Packages for Reading Data into R

[This article was first published on fishR » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Hadley Wicham has announced two new package for reading external data into R that will likely be of great interest to fisheries scientists.

If you use dplyr with the output of either of these packages, then only the first 10 rows will be printed when you type the name of a data.frame.  I find this behavior to be annoying for most of my applications.  You can work-around this by increasing the number of lines that will be printed with options(dplyr.print_max = 1e9) or you can wrap the data.frame in as.data.frame() (for example, use df <- as.data.frame(df)).  The value of the dplyr function far outweighs this annoyance and the need to use this work-around.


Filed under: Fisheries Science, R Tagged: Data Manipulation, dplyr, Excel, R

To leave a comment for the author, please follow the link and comment on their blog: fishR » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.