On Fri, Oct 2, 2009 at 9:02 AM, Gábor Csárdi wrote:
> Rainer,
>
> if you are willing to patch the R source, then a solution might be the
> R connection patch, see
> http://wiki.r-project.org/rwiki/doku.php?id=developers:r_connections_api
> It is a bit outdated, but with a little work I could use
Rainer,
if you are willing to patch the R source, then a solution might be the
R connection patch, see
http://wiki.r-project.org/rwiki/doku.php?id=developers:r_connections_api
It is a bit outdated, but with a little work I could use it for R
2.9.2 and works fine.
Best,
Gabor
On Fri, Oct 2, 2009
On Thu, Oct 1, 2009 at 7:26 PM, Martin Renner <
martin.ren...@stonebow.otago.ac.nz> wrote:
> try pdftk. Not quite on the fly but should do the trick. (I saw this on
> this list a little while ago)
>
pdftk compresses the pdf internally - it is still a pdf, can be opened as a
pdf, and is not an ext
try pdftk. Not quite on the fly but should do the trick. (I saw this
on this list a little while ago)
pdfComp <- function (pdfname){
if (0){
x <- tempfile()
system (paste ("mv", pdfname, x))
system (paste ("pdftk", x, "output", pdfname, "compress"))
unlink (x)
}
}
pdf ("te
ms.
>
> Thanks
> Daniele
>
> -Original Message-
> From: Ista Zahn [mailto:istaz...@gmail.com]
> Sent: 01 October 2009 17:11
> To: Daniele Amberti
> Cc: r-help@r-project.org; Rainer M Krug
> Subject: Re: [R] Compress (gzip) a pdf device - [ ] Message is from an
> u
Zahn [mailto:istaz...@gmail.com]
Sent: 01 October 2009 17:11
To: Daniele Amberti
Cc: r-help@r-project.org; Rainer M Krug
Subject: Re: [R] Compress (gzip) a pdf device - [ ] Message is from an unknown
sender
I guess I don't understand what your're trying to do. gzip-ing a file
from within R is ea
ension in my working directory.
>
> Also I don't have any news on how to gzip the pdf afterward (without using an
> external executable).
>
> Daniele
>
>
> From: Rainer M Krug [mailto:r.m.k...@gmail.com]
> Sent: 30 September 2009 10:26
> To: Daniele Amberti
>
(without using an
external executable).
Daniele
From: Rainer M Krug [mailto:r.m.k...@gmail.com]
Sent: 30 September 2009 10:26
To: Daniele Amberti
Cc: r-help@r-project.org
Subject: Re: [R] Compress (gzip) a pdf device - [ ] Message is from an unknown
sender
2009/9/30 Daniele Amberti
mailto:dan
2009/9/30 Daniele Amberti
> I have not found an easy way to compress a file on filesystem.
> Especially I'd like to compress a pdf from pdf() function/device. Is it
> possible to compress It on the flight?
> I'd like to do something like:
> pdf(gzipconnection())
> dev.off()
>
>
I guess this boils
I have not found an easy way to compress a file on filesystem.
Especially I'd like to compress a pdf from pdf() function/device. Is it
possible to compress It on the flight?
I'd like to do something like:
pdf(gzipconnection())
dev.off()
If It is not possible, how can I create a gzip with the pdf?
10 matches
Mail list logo