<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Sparklyr on r-econometrics</title>
		<link>https://www.r-econometrics.com/tags/sparklyr/</link>
		<description>Recent content in Sparklyr on r-econometrics</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sat, 05 Sep 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.r-econometrics.com/tags/sparklyr/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Introduction to sparklyr</title>
				<link>https://www.r-econometrics.com/rbasics/sparklyrintro/</link>
				<pubDate>Sat, 05 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://www.r-econometrics.com/rbasics/sparklyrintro/</guid>
				<description>&lt;p&gt;The cleaning and transformation of data belong to the most time consuming parts of any economic analysis. As long as a data set fits into the memory of your computer, packages like &lt;code&gt;dplyr&lt;/code&gt; or &lt;code&gt;data.table&lt;/code&gt; are all you need to get this job done. But once it does not, R alone reaches its limits, because it holds all its objects in memory. This is where &lt;a href=&#34;https://spark.apache.org/&#34; target=&#34;_blank&#34;&gt;Apache Spark&lt;/a&gt; comes into play. Spark is a computing engine, which distributes both the data and the calculations over the machines of a cluster – or over the cores of a single computer. The &lt;code&gt;sparklyr&lt;/code&gt; package is the interface between R and Spark.&lt;a href=&#34;#fn1&#34; class=&#34;footnote-ref&#34; id=&#34;fnref1&#34;&gt;&lt;sup&gt;1&lt;/sup&gt;&lt;/a&gt; Its most attractive feature for R users is that it translates the well-known verbs of &lt;code&gt;dplyr&lt;/code&gt; into Spark SQL. This means that you can keep writing the code you already know and let it run on data which would never fit into your RAM. In the following I use the same example as in my introductions to &lt;a href=&#34;https://www.r-econometrics.com/rbasics/dplyrintro&#34;&gt;&lt;code&gt;dplyr&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://www.r-econometrics.com/rbasics/datatableintro&#34;&gt;&lt;code&gt;data.table&lt;/code&gt;&lt;/a&gt;, so that the three approaches can be compared directly.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
