[R] Help w/an old R program I've rediscovered and want to make work

2011-10-22 Thread pce369
I found an old R program I wrote som eyears back and I'd like to make work in 2.11.1 (or a more recent version), but am having two problems: 1. I can't seem to access the datafile it requires. I'm not sure where the default place that R looks to for files references within it is, or what exactly

Re: [R] Help w/an old R program I've rediscovered and want to make work

2011-10-22 Thread Barry Rowlingson
On Sat, Oct 22, 2011 at 8:41 PM, pce369 pce...@hotmail.com wrote: I found an old R program I wrote som eyears back and I'd like to make work in 2.11.1 (or a more recent version), but am having two problems: 1. I can't seem to access the datafile it requires. I'm not sure where the default

Re: [R] Help w/an old R program I've rediscovered and want to make work

2011-10-22 Thread pce369
Hi Barry, and thanks very, very much for your comments. OK, I think I've resolved the issue of where the file is, as the program runs...and then dies. The error message I am getting now is: Error in tapply(MCP, MCPsplitlist, MCPfunction) : arguments must have same length No idea what this

Re: [R] Help w/an old R program I've rediscovered and want to make work

2011-10-22 Thread Rolf Turner
On 23/10/11 09:56, pce369 wrote: Hi Barry, and thanks very, very much for your comments. OK, I think I've resolved the issue of where the file is, as the program runs...and then dies. The error message I am getting now is: Error in tapply(MCP, MCPsplitlist, MCPfunction) : arguments must have