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
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?
T
2 matches
Mail list logo