[R] trouble building R on solaris

2010-06-23 Thread Mathew Fox
Dear all, I just changed from linux to a solaris server and I'm having trouble building R from source. I can't use the binaries because I don't have a permission to write to /usr/local. I followed the online instructions regarding the configuration with readline and the GNU version of iconv: ./co

[R] using "substitute" inside a legend

2009-03-31 Thread Mathew Fox
Hello list, I have a linear regression: mylm = lm(y~x-1) I've been reading old mail postings as well as the plotmath demo and I came up with a way to print an equation resulting from a linear regression: model = substitute(list("y"==slope%*%"x", R^2==rsq), list(slope=round(mylm$coefficients[[1]