title: saving as pdf from Rstudio
body: <p>so I want add some charm to my plots by changing the fonts. But my RStudio always crashes as I try to save as a pdf. So lets take this data:</p>
  
  <pre><code>plot(1:10,1:10,type="n")
  windowsFonts(
    A=windowsFont("Arial Black"),
    B=windowsFont("Bookman Old Style"),
    C=windowsFont("Comic Sans MS"),
    D=windowsFont("Symbol")
  )
  text(3,3,"Hello World Default")
  text(4,4,family="A","Hello World from Arial Black")
  text(5,5,family="B","Hello World from Bookman Old Style")
  text(6,6,family="C","Hello World from Comic Sans MS")
  text(7,7,family="D", "Hello World from Symbol") 
  </code></pre>
  
  <p>Then using the <code>Export</code>>><code>Save as pdf</code> function, the image with the different fonts will not save. Also using the  <code>pdf("SampleGraph.pdf",width=7,height=5)</code>
  Does not work. Doesnt anyone know of a way around this issue, or is it my computer got out of the wrong side of bed today?</p>