[R] compose a name in function

Rafael Bertola bertola at fastmail.fm
Mon Jun 2 13:43:50 CEST 2003


I write a function to plot some graphs and a gave for it one result of
lm() (reg) and a character (name). In  win.metafile("name-%02d.wmf",
pointsize = 14) i want compose de name of file with the string i pass to
the function. How i can make this?

plota.res.grava <- function(reg,name){

    win.metafile("name-%02d.wmf", pointsize = 14)
...
}

Thanks
R. Bertola
-- 
  
  bertola at fastmail.fm

-- 
http://www.fastmail.fm - And now for something completely different





More information about the R-help mailing list