title: Changing one word in character string to bold face using textplot()
body: <p>I'm using <code>textplot()</code> from the <code>gplots</code> package to write definitions that are then displayed next to other plots using <code>par(mfrow=c(3,2))</code>.  </p>
  
  <p>I want to change a single word in the character string to bold face (Usually the word being defined). Is there a metacharacter that will let me do this inside of the " "? Or another solution for picking out words and giving them bold attributes without assigning that to the whole string?</p>
  
  <p>It's similar to this question, but I wasn't able to use the same technique in textplot():
  <a href="https://stackoverflow.com/questions/10408542/text-r-function-how-to-change-the-font-of-a-single-word/10408821#10408821">text() R-function - how to change the font of a single word?</a></p>
  
  <pre><code>text(0.5,0.5, expression(paste(bold("bold")," not bold")))
  </code></pre>
  
  <p>Here's my code without a bolded term.  Pretend "Definition" is desired to be bold face:</p>
  
  <pre><code>blurb&lt;-strwrap("Definition: This is my text blurb",
                  width=60)
  textplot(blurb, halign="left", valign="top", cex = 1,  family="serif")
  </code></pre>
  
  <p>I've been playing with breaking the string apart and searching for a function that will assign bold face to the "Definition" portion, font=2, and then pasting the string back together, but I'm stumped. I can't find a function to use:</p>
  
  <pre><code>blurb1&lt;-"Definition"             ##How to change to bold face?? 
  blurb2&lt;-"This is my text blurb"
  
  blurb&lt;-paste0(blurb1,blurb2)
  </code></pre>
  
  <p>EDIT: The predominant barrier to using other solutions is that for my page layout, text() isn't entirely viable. I'm hoping to find a solution to editing the string either inside of textplot() or in a way that can be passed to textplot(). </p>
  
  <p>I'm creating something of a "Report Card" that will plot user data and provide a paragraph of explanation beside the plot.  Different values would trigger a different textplot().  I like textplot() because it's easily placed with par(mfrow=c(4,2)), carving out a seperate space without overlapping other plots.  I just can't seem to work text() in without a lot of play in the positioning.  </p>