Skip to content
Prev 31311 / 398513 Next

how to present a table in powerpoint?

This is less an R issue and more a fixed width font versus variable
width font issue.

The default font in PP is usually a variable width font, such as
Arial.  It makes for easier and more natural reading. As a result, an
'I' take up less width than a "W" and therefore the text cannot line
up properly from one line to another.

R's console uses a fixed width font by default so that columns of
characters (including spaces) can align vertically and give you the
nicely aligned columns of numbers, etc.

You will need to change the font in PP to a fixed width font like
Courier (or Courier New, which is the scalable TrueType Font version)
to be able to have your columns align vertically, as they do in R's
console.  Highlight the text you paste into PP and change the font to
Courier New and to a size that fits your slide appropriately.

If this is something that you do frequently, you can create a slide
template in PP that has Courier New as the default font, specifically
for use in this situation.

HTH,

Marc Schwartz