Re: [R] Can R do this ?

From: Gabor Csardi <csardi_at_rmki.kfki.hu>
Date: Tue, 08 Jul 2008 04:15:02 -0500

If this is about more than a handful files, then it is really painful to do it with OpenOffice.org or LyX, I guess.

You can use imagemagick, this is fairly standard on Linux. Then it is something like this, assuming you have bash:

for f in *.png; do convert $f ${f%png}pdf; done for f in *.jpg; do convert $f ${f%jpg}pdf; done

Of course this does not vectorise the files....

Gabor

On Tue, Jul 08, 2008 at 10:05:59AM +0100, Paul Smith wrote:
> On Tue, Jul 8, 2008 at 6:59 AM, Daren Tan <daren76@hotmail.com> wrote:
> >
> > I have a folder full of pngs and jpgs, and would like to consolidate them into a pdf with appropriate title and labels. Can this be done via R ?
>
> I do not know whether R can do that. However, you can accomplish that
> easily with LyX or with OpenOffice.
>
> Paul
>
> ______________________________________________
> R-help_at_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.

-- 
Csardi Gabor <csardi_at_rmki.kfki.hu>    UNIL DGM

______________________________________________
R-help_at_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.
Received on Tue 08 Jul 2008 - 09:18:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jul 2008 - 09:31:02 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive