Ruben - Why not simply save(x, file="new.file.name") ?
See help("save"), help("files"). The file name must be quoted, and it must be passed as a named argument to save(). - tom blackwell - u michigan medical school - ann arbor - On Fri, 19 Sep 2003 [EMAIL PROTECTED] wrote: > HI, i'm trying to save a data frame with the next script: > x<-c(1,2,3)#suposse here the data frame > a<-tkgetSaveFile() > a<-tkgetSaveFile() > save(x,file=as.character(a)) > > but i obtain the next warning message: > Warning messages: > 1: the condition has length > 1 and only the first element will be used in: > if (file == "") stop("`file' must be non-empty string") > 2: only first element of `description' argument used > > and nothing file is saved, ¿What is the error? Thanks Ruben ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help