title: Loop in Rstudio
body: <p>I want to know how to make a loop in R.
  I show a very simple example of a code below,</p>
  <pre><code>Test_A &lt;- Test %&gt;% mutate (A = 1)
  Test_B &lt;- Test %&gt;% mutate (B = 1)
  Test_C &lt;- Test %&gt;% mutate (C = 1)
  Test_D &lt;- Test %&gt;% mutate (D = 1)
  </code></pre>
  <p>I want to make a loop for this code and make it more simple because this code is too repetitive.
  Do anyone have suggestion for me?</p>