Please read the last line to every message to r-help. There is no reproducible code in your post.
Anyways, it works for me: > class(call("round", 1.5)) [1] "call" > as.character(call("round", 1.5)) [1] "round" "1.5" > format(call("round", 1.5)) [1] "round(1.5)" On Thu, Oct 1, 2009 at 7:58 AM, Iago Mosqueira <iago.mosque...@gmail.com> wrote: > Hi, > > I need to get a character vector from an object of class call. But > using as.character() returns something based on the internal structure > of the object, and not, as I would like, some akin to the output of > show() on a call object. > > Any idea on how to obtain the same output returned by show? > > Thanks, > > > Iago Mosqueira > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.