Ragia Ibrahim
2016-Jan-01 00:46 UTC
[R] save screen printed data frames and ggplots into a file
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
Bert Gunter
2016-Jan-01 01:19 UTC
[R] save screen printed data frames and ggplots into a file
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 <ragia11 at 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 at 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.
Jim Lemon
2016-Jan-01 01:36 UTC
[R] save screen printed data frames and ggplots into a file
Hi Ragia, I may be missing your point, but try the "htmlize" function in the prettyR package. This creates an HTML file containing both the text output and images from an R script. Jim On Fri, Jan 1, 2016 at 11:46 AM, Ragia Ibrahim <ragia11 at 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 at 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.[[alternative HTML version deleted]]
Ragia Ibrahim
2016-Jan-01 18:25 UTC
[R] save screen printed data frames and ggplots into a file
yes, the script prints that on the scree, when I used pd file to do the job only ggplots appears on it ! hope this clarifies, thanks . Ragia ----------------------------------------> Date: Thu, 31 Dec 2015 17:19:35 -0800 > Subject: Re: [R] save screen printed data frames and ggplots into a file > From: bgunter.4567 at gmail.com > To: ragia11 at hotmail.com > CC: r-help at r-project.org > > 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 <ragia11 at 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 at 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.