<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Readr on Yoke Keong</title><link>https://yokekeong.com/blog/readr/</link><description>Recent content in Readr on Yoke Keong</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 14 Apr 2015 11:00:57 +0000</lastBuildDate><atom:link href="https://yokekeong.com/blog/readr/index.xml" rel="self" type="application/rss+xml"/><item><title>Reading tabular data with readr package</title><link>https://yokekeong.com/reading-tabular-data-with-readr-package/</link><pubDate>Tue, 14 Apr 2015 11:00:57 +0000</pubDate><guid>https://yokekeong.com/reading-tabular-data-with-readr-package/</guid><description>&lt;p&gt;Recently, Hadley Wickham introduced a new package to read tabular data (such as CSV), lines and entire files.&lt;/p&gt;&#10;&lt;p&gt;Advantages include:&lt;/p&gt;&#10;&lt;p&gt;1. Helpful defaults over base R &lt;code&gt;read.csv&lt;/code&gt; such as: Characters are never automatically converted to factors and row names are never set.&lt;/p&gt;&#10;&lt;p&gt;2. &lt;a href="http://blog.revolutionanalytics.com/2015/04/new-packages-for-reading-data-into-r-fast.html"&gt;Faster reads.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;3. When reading large files, a progress bar is displayed.&lt;/p&gt;&#10;&lt;p&gt;4. A very useful &lt;code&gt;problems()&lt;/code&gt; function that allows you to zoom into rows of data that readr has issues loading into for e.g. expected integer for this column but actual data is text.&lt;/p&gt;</description></item></channel></rss>