One way that u might have thought of is to create plot in PDF in R and the use pdftools. Additionally one can also think of running R script using R CMD and then using pdftools in a .sh script file if u r in linux. I am not aware of pdftools capability in R.
On 2 April 2011 23:01, Vijayan Padmanabhan <padmanabhan.vija...@gmail.com>wrote: > Dear R Help group > I need to run a command line script from within R session. I am not clear > how i can acheive this. I tried shell and system function, but i am missing > something critical.can someone provide help? > My intention is to create a pdf file of a plot in R and then attach > existing files from my system as attachment into the newly created pdf > file. > Any help would be greatly appreciated.. Here is the command line script i > want to execute from within R. > > > pdftools -S "attachfiles=C:\test1.pdf" -i C:\test2.pdf -o C:\test4.pdf > > Regards > Vijayan Padmanabhan > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > -- Amar Kumar Nandan Karnataka, India, 560100 http://aknandan.co.nr [[alternative HTML version deleted]] ______________________________________________ R-help@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.