="kw">dir.create</span>(<span class="st">&quot;../us_election&quot;</span>)</span></code></pre></div>
<p>Step 3. Launch R Studio. Choose File &gt; New project &gt; Browse existing directories &gt; Create project This allows each project has its own workspace.</p>
<p>Step 4. Organize files by putting them in separate subdirectories and naming them in a sensible way.</p>
<ul>
<li>Treat raw data as read only (raw data should be RAW!) and put in the <code>data</code> directory.</li>
</ul>
<div class="sourceCode