title: Partially suppress labels in R
body: <p>I am working with the R programming language. I am trying to plot &quot;Decision Trees&quot; using the &quot;rpart.plot&quot; library as shown below:</p>
  <pre><code>#load libraries
      library(rpart)
      library(rpart.plot)
  
  #load data
      data(iris)
  
  #fit rpart model (i.e. decision tree)
      r = rpart(Species ~., data=iris)
  
  #plot model
      rpart.plot(r)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/MOfOh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MOfOh.png" alt="enter image description here" /></a></p>
  <p>I have noticed that sometimes the labels in this picture will say &quot;iris$Petal.Length&quot; and sometimes they will just say &quot;Petal.Length&quot;.</p>
  <p><strong>Question:</strong> Is there a way to &quot;suppress&quot; these labels and always show the labels without the name of the dataset and the &quot;$&quot; symbol? I.e. Is it always possible to show the labels as only &quot;Petal.Length&quot; ?  (So that they always look like the image I have posted)</p>
  <p>Thanks</p>