[R] save ordinary numerical calculations as pdf

Rainer M Krug r.m.krug at gmail.com
Wed Mar 30 15:46:44 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/03/11 15:42, Rainer M Krug wrote:
> On 30/03/11 11:51, Maas James Dr (MED) wrote:
>> I'd like to save some calculation outputs as a pdf, to incorporate with others in a document.  I've tried
> 
>> pdf("filename")
>> name_of_object_to_output
>> dev.off()
> 
>> but it doesn't seem to work, appears that this pdf function is for graphics?
> 
>> Is there a way to output numerical objects to pdf?
> 
> Yes - there is an equivalent to the sink() which pute the results in a
> pdf, but I can not remember the name of the function.
> 
> I know it does not help much, but at least I can tell you that there is
> such a function.

textplot in the gplots package:

This function displays text output in a graphics window.  It is
     the equivalent of 'print' except that the output is displayed as a
     plot.

Thanks google and Greg Snow
(http://www.mail-archive.com/r-help@r-project.org/msg02187.html)

Rainer


> 
> Cheers,
> 
> Rainer
> 
> 
>> Thanks
> 
>> J
> 
>> Dr. Jim Maas
>> University of East Anglia
> 
>> ______________________________________________
>> 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.
> 
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TNEQACgkQoYgNqgF2egp2qwCfbVJfyetIkxyzqcRuTASrDSxt
qtUAnjJVuCYzjozwOfhCqYcZzz3ZBJow
=9/4z
-----END PGP SIGNATURE-----



More information about the R-help mailing list