Wednesday, 15 April 2015

r - How to embed/display code in texmaker? -



r - How to embed/display code in texmaker? -

i new texmaker. have difficulty in displaying codes , results got r in texmaker document.

for illustration have results:

> sessioninfo() r version 3.0.2 (2013-09-25) platform: x86_64-w64-mingw32/x64 (64-bit)

how display in texmaker looks 1 seeing? (indented, grayness background, looks code r).

what need have?

thanks!

would listings bundle (which supports r) accomplish want?: http://en.wikibooks.org/wiki/latex/source_code_listings

in latex can utilize verb(atim) environment fixed-width, not interpreted text:

/begin{verb} > r code goes here... /end{verb}

?

r texmaker

No comments:

Post a Comment