Skip to content
Prev 334376 / 398506 Next

how can i write the function into a file c:/mytest.R with cat function?

If you need to use cat() (why?) try using deparse() or format() on the function
   cat("mytest <- ", deparse(mytest), sep="\n", file=file)
but dump() is easier
   dump("mytest",file=file)

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com