Re: [R] Turning of source echo

2012-08-25 Thread David L Carlson
sity College Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of darnold > Sent: Saturday, August 25, 2012 2:55 PM > To: r-help@r-project.org > Subject: Re: [R] Turning of source echo &g

Re: [R] Turning of source echo

2012-08-25 Thread darnold
Berend, Yes, I did ask this question on RStudio help page. Josh suggested that I try to find some package that pops up a window with the results I want. Anyone know how to do that? Is there a package or a tutorial that will instruct me as to how to do that? Here is my code: BAGA <- c(10,20,20,3

Re: [R] Turning of source echo

2012-08-25 Thread Berend Hasselman
On 25-08-2012, at 17:59, darnold wrote: > Noia, > > Nope. Although sep is helpful for my output, I still get that source echo > that I want to suppress. Here is the code with Noia's suggestion. > > > BAGA <- c(10,20,20,30,30,30,30,40, > 40,40,40,50,50,50,50,50, > 60,60,60,60,

Re: [R] Turning of source echo

2012-08-25 Thread Berend Hasselman
On 25-08-2012, at 21:31, Noia Raindrops wrote: > Sorry, > > How about this? > > > invisible(capture.output(source(...))) > Makes all output invisible. > # or > sink("/dev/null") > source(...) > sink() > Doesn't seem to do what is desired. The line with source still appears. In future woul

Re: [R] Turning of source echo

2012-08-25 Thread Noia Raindrops
Sorry, How about this? invisible(capture.output(source(...))) # or sink("/dev/null") source(...) sink() -- Noia Raindrops noia.raindr...@gmail.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] Turning of source echo

2012-08-25 Thread darnold
Noia, Nope. Although sep is helpful for my output, I still get that source echo that I want to suppress. Here is the code with Noia's suggestion. BAGA <- c(10,20,20,30,30,30,30,40, 40,40,40,50,50,50,50,50, 60,60,60,60,60,70,70,70, 70,80,80,80,90,90,100) BAGB <- c(1

Re: [R] Turning of source echo

2012-08-25 Thread Noia Raindrops
Hi, ?cat Read item sep in argument section. And try: cat("X = ", B, sep = "") -- Noia Raindrops noia.raindr...@gmail.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-

[R] Turning of source echo

2012-08-24 Thread darnold
HI, I have this code: BAGA <- c(10,20,20,30,30,30,30,40, 40,40,40,50,50,50,50,50, 60,60,60,60,60,70,70,70, 70,80,80,80,90,90,100) BAGB <- c(10,10,10,10,10,20,20,20, 20,30,30,30,40,40,50,60, 70,70,80,80,80,90,90,90, 90,100,100,100,100