[R] How to Read source code of function as string vector or matrix
purushothaman
purushothaman.b at ge.com
Thu Jul 12 11:00:02 CEST 2012
Hi,
I need to read source code of function as a string vector or matrix.
if i am using get method it return as closure type.
example
readcsv<-function(filepath)
{
output<-read.csv(filepath)
}
how to get as string vector like this
test[1]=readcsv<-function(filepath)
test[2]={
test[3]=output<-read.csv(filepath)
test[4]=}
Thanks
B.Purushothaman
--
View this message in context: http://r.789695.n4.nabble.com/How-to-Read-source-code-of-function-as-string-vector-or-matrix-tp4636270.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list