ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Removing banner from mtxrun output
@ 2010-09-20  8:26 Johan Sandblom
  2010-09-20  8:44 ` luigi scarso
  2010-09-20  9:17 ` Aditya Mahajan
  0 siblings, 2 replies; 11+ messages in thread
From: Johan Sandblom @ 2010-09-20  8:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

Greetings all!

In the modernized version of the R module (attached), which makes it
possible to interact with the statistical programming environment R
(http://www.r-project.org), mtxrun is used to call R on saved buffers
containing snippets of R code. Optionally, the output from R can be
included using \typefile. However, mtxrun includes a banner in the
output file, example below.

MTXrun |
MTXrun | executing: R -q --save --restore
MTXrun |
MTXrun |> sample(1:10)
 [1]  5  3  1  9  2  6 10  8  4  7
> sample(1:10, replace=TRUE)
 [1]  1 10  7  1  7  5  2  2 10  5
>

If the results of the computations are to be included in the text,
this banner is ugly and distracting.

Question: is it possible to instruct mtxrun not to make such a banner?
Or, alternatively, is there an easy way to remove it before the text
is included?

I am using MKIV exclusively.

Regards, Johan

-- 
Johan Sandblom, MD PhD
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

[-- Attachment #2: m-r.tex --]
[-- Type: application/x-tex, Size: 4244 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-09-21 20:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20  8:26 Removing banner from mtxrun output Johan Sandblom
2010-09-20  8:44 ` luigi scarso
2010-09-20  9:23   ` Aditya Mahajan
2010-09-20 20:56   ` Johan Sandblom
2010-09-21 18:44     ` Johan Sandblom
2010-09-21 19:28       ` Peter Münster
2010-09-21 20:18         ` Aditya Mahajan
2010-09-21 20:37           ` Johan Sandblom
2010-09-21 20:45           ` Hans Hagen
2010-09-20  9:17 ` Aditya Mahajan
2010-09-20 20:02   ` Johan Sandblom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).