[R] Sweave and the prompt

From: Christophe Genolini <cgenolin_at_u-paris10.fr>
Date: Fri, 07 Mar 2008 00:01:44 +0100


Hi the list

I would also like to remove the prompt, in order to let the reader cut-and-paste from pdf to R. So I set the prompt to " " with

options(prompt=" ",continue=" ")

But it add an extrat space at the start of each line. I also try some code options(prompt="\a",continue="\a")
After a big figth in my office (my college did not like my new prompt :-) ), I gave up since it does not let the user cut-and-paste either...

Is there any possibility to completly remove the prompt ?

Thanks

Christophe



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Mar 2008 - 23:05:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Mar 2008 - 01:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive