spencer.graves at structuremonitoring.com
Wed Jun 4 05:26:01 CEST 2014
Hi, Henrik: Thanks. I should probably know that by now ... but it
didn't come to mind just now. Thanks again. Spencer.
On 6/3/2014 8:13 PM, Henrik Bengtsson wrote:
>> cl <- quote(round(10.5))
>  "round(10.5)"
> On Tue, Jun 3, 2014 at 8:07 PM, Spencer Graves
> <spencer.graves at structuremonitoring.com> wrote:
>> How can I get a call object as a character string?
>>> cl <- quote(round(10.5))
>> language round(10.5)
>>  "round" "10.5"
>> How can I get "round(10.5)"?
>> I can get this answer for this toy problem with
>> paste0(paste(as.character(cl), collapse='('), ')'). However, that's not a
>> general solution.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
More information about the R-help