title: R: Select ALL values in subset / select function
body: <p>I am trying to create an interactive function where multiple values can be selected from a list, passed to a function which selects on the basis of information supplied. Using </p>
  
  <pre><code>subset(..., select(..., subset(...))) 
  </code></pre>
  
  <p>works very well for election of specific values, and simply putting a '#' in front of one of the selection rows allows me to extract all values. The pre-function version of the code is below</p>
  
  <p>I want to supply the parameters in the form </p>
  
  <pre><code>Service = c("SMS", "Data", ...), Country = c("Cyprus", "Egypt") 
  </code></pre>
  
  <p>for each of the selections, and I want to be able to select all values for those parameters where no selection is made. This would be easy in SQL, with </p>
  
  <pre><code>SELECT *
  </code></pre>
  
  <p>but I can't find any equivalent term in the R Select() function.</p>
  
  <pre><code># Selection
  dashselect &lt;- subset(DashboardSource, select=c(Date, Currency,Direction,Partner,
                                                     Agreement, Country, Service,     Amount..USD.,
                                             Minutes, Mb, SMS, DbSMonth, DbSYear),
                   subset=c(
                             (Direction == "Outbound"  ) &amp;
  #                               (Country=="Portugal" | Country=="Egypt") &amp;
                             (Service =="SMS" | Service == "Data") &amp;
  #                               (Date &gt;= "2013/1/1" &amp; Date &lt;= "2015/01/01" ) &amp;
  #                               (Partner =="") &amp;
  #                               (Agreement == "")  
  #                               (Minutes &gt; "")
                             (Mb &gt;1000) &amp;
  #                               (Amount..USD. &gt; "") 
                            (SMS &gt;= 0)
                            )
                  )
  </code></pre>
  
  <p>Any suggestions please?</p>