[R] "Plotting" text?

Kevin Burton rkevinburton at charter.net
Mon Oct 24 14:50:49 CEST 2011


I get the following error trying to install the package:

> install.packages("grid")
--- Please select a CRAN mirror for use in this session ---
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘grid’ is not available (for R version 2.13.2)
>

-----Original Message-----
From: baptiste auguie [mailto:baptiste.auguie at googlemail.com] 
Sent: Saturday, October 22, 2011 12:46 AM
To: rkevinburton at charter.net
Cc: r-help at r-project.org
Subject: Re: [R] "Plotting" text?

Try this,

library(grid)
grid.newpage()
grid.text("text")

HTH,

baptiste

On 22 October 2011 13:26,  <rkevinburton at charter.net> wrote:
>
> I noticed that the text() command adds text to a plot. Is there a way 
> to either make the plot blank or add text to a "blank sheet". I would 
> like to "plot" a page that contains just text, no plot lines, labels, etc.
>
> Suggestions?
>
> Kevin
>
>        [[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