[R] as.character limits length of result for formula

2011-06-01 Thread Terrence Ireland
If you want a character representation of a long formula (or a formula with long names), you can use: as.character(my.formula) However restriction on length of an as.character result returns only the beginning of a long formula, and without comment. In most cases, the following expres

[R] function to display histogram fails to do so when histogram is not the last expression in the function

2010-02-17 Thread Terrence Ireland
TestHistogram_A is a function that plots a histogram, then returns 3. For me it fails to display the plot, at least in the order given below. TestHistogram_B is a function that plots a histogram, then exits. The only difference between the 2 functions is that B does not return 3. It d