Re: [R] Running script with double-click

2010-03-05 Thread Matt Asher
--no-save --no-restore -f %1 If/when you have a different version of R installed, you'll need to adjust the above command. Steve *From: * Matt Asher sta...@quo.org *To:* r-help@r-project.org *Date: *5/Mar/2010 12:45p *Subject: * [R] Running script with double-click Hi, I

[R] Running script with double-click

2010-03-04 Thread Matt Asher
Hi, I need to be able to run an R script by double-clicking the file name in Windows. I've tried associating the .r extension with the different R .exe's in /bin but none seems to work. Some open R then close right away, and Rgui.exe gives the message ARGUMENT /my/file.r __ignored__ before

[R] Problem accessing sub-methods of functions stored in a vector

2010-02-26 Thread Matt Asher
Hi folks, I am having trouble accessing sub-functions when the main function is stored in an array. For example, the following test code works fine: fcns = c(abs, sqrt) fcns[[1]](-2) fcns[[2]](2) However, when I try to access sub-functions declared within list() in a function, this only

Re: [R] Problem accessing sub-methods of functions stored in a vector

2010-02-26 Thread Matt Asher
that can have instances and class vars, without having to use R's backwards (IMO) way of doing OOP. Cheers. On 26.02.2010 16:33, Matt Asher wrote: Hi folks, I am having trouble accessing sub-functions when the main function is stored in an array. For example, the following test code works fine