Does what? You said you already have a script. **If** you want to program it as a function, then I suggest that you do some homework and go through an R tutorial, e.g. the "Intro to R" that ships with R or one of the many available on the web.
If that is not what you mean, then clarify. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Dec 31, 2015 at 4:46 PM, Ragia Ibrahim <ragi...@hotmail.com> wrote: > Dear group > I have a script that prints data frames and plot using ggplot 2 while running, > how can I do this > thanks in advance > Ragia > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.