Re: [R] Forcing "virtual" digits

2007-12-28 Thread jim holtman
?sprintf x <- 33 plot(0, main=sprintf("Value = %.1f", x)) On Dec 28, 2007 5:13 PM, Thomas Schwander <[EMAIL PROTECTED]> wrote: > Hi there, > > > > I'm using XP with R 2.6.1 > > > > I've got the following question: Is there a way to force "virtual" digits? > > > > I mean: In the external csv-file,

[R] Forcing "virtual" digits

2007-12-28 Thread Thomas Schwander
Hi there, I'm using XP with R 2.6.1 I've got the following question: Is there a way to force "virtual" digits? I mean: In the external csv-file, I read in some numbers, e.g. "33" which is written into a variable. I want to add this variable into a plot with an additional digit: "33.