title: How to remove variables in large dataset i Rstudio?
body: <p>I'm trying to permanently remove some of the variables in the dataframe 'd' individually, as they are no longer useful. </p>
  
  <p>New to Rstudio and coding. Using Rstudio, version 0.99.491 on Windows. I am using a secure server, so downloading packages are not an option. 
  I have a very large dataset 'd' containing 122 variables of ~450.000 rows.</p>
  
  <p>I'm using a Danish version of the program, so the error messages have been translated by me and might be incorrect. </p>
  
  <p>I have tried:</p>
  
  <p>Option 1:</p>
  
  <pre><code>&gt; rm (d$variable121)
  Error in rm(d$variable121):... must contain name or character strings
  </code></pre>
  
  <p>Option 2:</p>
  
  <pre><code>&gt; rm('d$variable121')
  Warning meaasage: 
  in rm('d$variable121'): object 'd$variable121' not found
  </code></pre>
  
  <p>Option 3:</p>
  
  <pre><code>&gt; rm (list=c('d$variable121', 'd$variable122'))
  Warning messages: 
  1: in  rm (list=c('d$variable121', 'd$variable122')) object 'variable 121' not found. 
  2: in  rm (list=c('d$variable121', 'd$variable122')) object 'variable 122' not found.
  </code></pre>
  
  <p>I'm able to remove other dataframes, but not any variable in the 'd' dataframe. </p>
  
  <p>Does anyone know how to do this?</p>