Hello, after the line cat("%",as.character(as.name(match.call())), "\n%\n", file=fi, append=T) R complains about Error in as.name(x) : character argument required Is it sufficient to delete as.name()? After doing that, R complains Error: comparison is possible only for vector types Don't know which function call. Can you give me a hint how to debug it? There seems to be a lot of patameter type incompatibilities :-( Thanks, -- =====================================================================Hubert Palme Bergische Universitaet-Gesamthochschule Wuppertal Computing Center D-42097 Wuppertal Email: palme@uni-wuppertal.de (Germany) http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
palme@uni-wuppertal.de (Hubert Palme) writes:> > Hello, > > after the line > > cat("%",as.character(as.name(match.call())), "\n%\n", file=fi, append=T) > > R complains about > > Error in as.name(x) : character argument requiredHmm. The Splus help page says: as.name coerces x to an object of mode "name". This is useful when x is of mode "character". The whole construction seems to be doing the same as deparse(match.call()), which works in *both* languages. I don't think we want to become compatible in this case. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._