[R] Include externally generated pdf in output (without Sweave)

baptiste auguie baptiste.auguie at googlemail.com
Sun Oct 3 15:09:49 CEST 2010


Hi,

Check the grImport package (I think it has a vignette, perhaps on Paul
Murrell's homepage.)

HTH,

baptiste



On 3 October 2010 14:52, Tal Galili <tal.galili at gmail.com> wrote:
> Hello Dieter,
>
> Looking at this thread (from 2005)
> http://tolstoy.newcastle.edu.au/R/help/05/10/14320.html
> It seems you can't read a pdf file to R (at least then, I hope there was an
> update since).
>
> BUT
>
> You could potentially read an image file (like, for example, tiff) using
> something like
> read.picture {SoPhy}
> And then write that into the PDF you are creating in R.
>
> The best thing is if there was some function to read a vector file into R
> (and not only the pixel).  Maybe such a function exits, you should check.
>
> Either way, great question.
> Tal
>
>
>
>
>
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: Tal.Galili at gmail.com |  972-52-7275845
> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
> ----------------------------------------------------------------------------------------------
>
>
>
>
> On Sun, Oct 3, 2010 at 12:04 PM, Dieter Menne
> <dieter.menne at menne-biomed.de>wrote:
>
>> Dear useRs,
>>
>> I generated a simple image-based report using the sequence:
>>
>> pdf(....)
>> plot(.....)
>> textplot( for short texts, from gplots)
>> dev.off()
>>
>> Is there an easy way to include an single pdf-page from an external file
>> (not R generated).
>>
>> Note: For final reports, I know how to use Sweave, but I am looking for a
>> quick solution with less overhead. Something like textplot() for pdf.
>>
>>
>> Dieter
>>
>> ______________________________________________
>> 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.
>>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list