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.
Bert Gunter
2016-Jan-01 19:18 UTC
[R] save screen printed data frames and ggplots into a file
Still not clear (to me). But perhaps FAQ 7.16. You need to explicitly print or use echo = TRUE when sourcing from a file. 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 Fri, Jan 1, 2016 at 10:25 AM, Ragia Ibrahim <ragia11 at hotmail.com> wrote:> 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. >
Ulrik Stervbo
2016-Jan-02 12:24 UTC
[R] save screen printed data frames and ggplots into a file
No clear to me either but if you want to create dynamic reports you can look at the knitr package. Or gridextra to have a table next to a plot. HTH Ulrik On Fri, 1 Jan 2016 20:20 Bert Gunter <bgunter.4567 at gmail.com> wrote:> Still not clear (to me). > > But perhaps FAQ 7.16. You need to explicitly print or use echo = TRUE > when sourcing from a file. > > 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 Fri, Jan 1, 2016 at 10:25 AM, Ragia Ibrahim <ragia11 at hotmail.com> > wrote: > > 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. > > > > ______________________________________________ > 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]]