search for: outputstrings

Displaying 2 results from an estimated 2 matches for "outputstrings".

Did you mean: outputstring
2009 Mar 18
1
sprintf("%d", integer(0)) aborts
In R's sprintf() if any of the arguments has length 0 the function aborts. E.g., > sprintf("%d", integer(0)) Error in sprintf("%d", integer(0)) : zero-length argument > sprintf(character(), integer(0)) Error in sprintf(character(), integer(0)) : 'fmt' is not a non-empty character vector This comes up in code like x[nchar(x)==0] <-
2009 Feb 01
2
Using arrays to generate parameters
My external node classifier returns some arrays in the list of parameters. Example output (names have been changed to protect the innocent): $ ./node_classifier a.b.com --- %YAML:1.0 "classes": ["class1", "class2", "class3"] "parameters": "hostname": "a" "name": "a" "domain":