[R] How to Read source code of function as string vector or matrix

Michael Weylandt michael.weylandt at gmail.com
Thu Jul 12 17:06:43 CEST 2012


?deparse

And please include context -- relatively few of us use Nabble.

Michael

On Jul 12, 2012, at 4:16 AM, purushothaman <purushothaman.b at ge.com> wrote:

> Hi,
> 
> readLines read a file and retrun as vector.
> 
> i need to read particular function in Rfile.
> 
> 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-tp4636270p4636273.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list