One way is to 'sink' the output to a text file and then convert the text file to PDF. I am not sure what type of format you are assuming for the output. You might consider 'sweave' for getting the output to LaTex and then converting to PDF.
On 10/4/07, John Lande <[EMAIL PROTECTED]> wrote: > I would like to print on a pdf a table with element coming from a vector. > such as > > >example=c("a", "b") > > >pdf("table.pdf") > >print(example) > >dev.off() > > > > On 10/4/07, jim holtman <[EMAIL PROTECTED]> wrote: > > Can you provide an example of what your data looks like and how you > > might want it plotted. 'text' does 'put' data on your plot. What > > else do you want? > > > > On 10/4/07, John Lande < [EMAIL PROTECTED]> wrote: > > > hi BioC, > > > > > > > > > I need to plot a vector of characters on a pdf device, not as a legend, > but > > > as in image by itself. > > > I tried text but it is only related to locate text in a plot. > > > > > > what do you suggest? > > > > > > > > > > > > > sessionInfo() > > > R version 2.6.0 (2007-10-03) > > > x86_64-unknown-linux-gnu > > > > > > locale: > > > > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C > > > > > > attached base packages: > > > [1] stats graphics grDevices utils datasets methods base > > > > > > loaded via a namespace (and not attached): > > > [1] rcompgen_0.1-15 tools_2.6.0 > > > > > > [[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. > > > > > > > > > -- > > Jim Holtman > > Cincinnati, OH > > +1 513 646 9390 > > > > What is the problem you are trying to solve? > > > > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? ______________________________________________ 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.