title: R version of inplace=True
body: <p>I'm starting to learn R and I'm having a hard time making changes to the names of values in a factor. I've tried using revalue and recode but am still seeing the original names when I look at the dataframe.</p>
  
  <p>Here's what the DF looks like: </p>
  
  <pre><code>head(freecut)
  
    gender oldness student_loaniness homeland
  1      0      20                 4  Eurasia
  2      1      25                 4   Oceana
  3      1      56                 2 Eastasia
  4      0      65                 6 Eastasia
  5      1      50                 5   Oceana
  6      0      20                 5 Eastasia
  </code></pre>
  
  <p>And here are the coding attempts:</p>
  
  <pre><code>revalue(freecut$homeland, c("Eastasia" = "East_Asia", "Eurasia" = "Asiope",
     "Oceana" = "Nemoville"))
  
  recode(freecut$homeland, Eastasia = "East_Asia", Eurasia = "Asiope", 
     Oceana = "Nemoville")
  </code></pre>
  
  <p>After running the code the DF looks exactly the same. I know that in Python I would have to throw in "inplace = TRUE" to make changes stick--not sure what I need to do here (or what I'm missing).</p>