Search code examples
rprintingtinn-r

Printing formatted R code


I would like to adjust the print margins in tinn-R so the code stays on each line. I am trying to print some code but it wraps on to the next line and becomes less easy to read. I have found the wrap text option but this simply chops off the end of the line. I use Rstudio but the print options are limited and my colleague suggested tinn-R which is better as it prints code formatted with colour.

I will happily take suggestions of other IDEs with good printing options.

Thanks

David


Solution

  • David,

    The best option is decrease font size (the default shortcut is Ctrl+Shift+Down) of the editor (or Rterm) to get the document fits within the print page.

    In time, the Tinn-R project has its own discussion list: https://groups.google.com/forum/?fromgroups#!forum/tinn-r

    All the best,

    J.C.Faria