Re: [R] Trouble with plm in Ubuntu 9

2010-03-10 Thread Jyotirmoy Bhattacharya
with Ecdat 0.1-5 as well. Jyotirmoy Bhattacharya On Thu, Mar 11, 2010 at 4:30 AM, Stephen J. Barr stephenjb...@gmail.comwrote: Hello, Apologies in advance if this is a stupid question. I am running R on Ubuntu 9. R version 2.9.2 (2009-08-24) I am trying to work with plm. I think

[R] dot-dot-dot as an actual argument

2010-02-19 Thread Jyotirmoy Bhattacharya
) f.barchart - function(...) {     barchart(...) } x - data.frame(a = c(1,1,2,2), b = c(1,2,3,4), d = c(1,2,2,1)) print(f.barchart(a ~ b, data = x, groups = d)) This gives the error: Error in eval(expr, envir, enclos) : ..3 used in an incorrect context, no ... to look in Jyotirmoy Bhattacharya

[R] unexpected results with higher-order functions and lapply

2010-02-14 Thread Jyotirmoy Bhattacharya
by genr2 is exactly the same function that was being returned by genr1. Why should evaluating k make a difference? I am using R 2.9.2 on Ubuntu Linux. Jyotirmoy Bhattacharya [[alternative HTML version deleted]] __ R-help@r-project.org mailing