Re: [Rd] Aliasing a function

2008-02-24 Thread Tony Plate
Maybe something like this? (though it seems like it might be more straightforward to do this sort of thing by text-processing a source file then source'ing it in R). > f <- function(a, b, c) c(a=a,b=b,c=c) > attr(f, "source") <- NULL > f function (a, b, c) c(a = a, b = b, c = c) > g1 <- f >

Re: [Rd] 'Esc' crashes R in MacOX 10.5.2 (PR#10839)

2008-02-24 Thread Simon Urbanek
On Feb 24, 2008, at 1:58 PM, Uwe Ligges wrote: > > > [EMAIL PROTECTED] wrote: >> Full_Name: Alex Bond >> Version: 2.6.2 >> OS: MacOSX 10.5.2 >> Submission from: (NULL) (142.163.207.86) >> >> >> Pressing 'esc' while typing any (e.g., aov, lm, etc.) command line >> causes the >> program to become

Re: [Rd] Clipping using par(plt=..., xpd=FALSE) inconsistencies

2008-02-24 Thread Paul Murrell
Hi Prof Brian Ripley wrote: > I think you misunderstand what par("plt") is supposed to do. The > documentation says > > 'plt' A vector of the form 'c(x1, x2, y1, y2)' giving the >coordinates of the plot region as fractions of the current >figure region. > > You h

Re: [Rd] 'Esc' crashes R in MacOX 10.5.2 (PR#10839)

2008-02-24 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > Full_Name: Alex Bond > Version: 2.6.2 > OS: MacOSX 10.5.2 > Submission from: (NULL) (142.163.207.86) > > > Pressing 'esc' while typing any (e.g., aov, lm, etc.) command line causes the > program to become non-responsive resulting in "Force Quit" to use the program > a

Re: [Rd] Standard method for S4 object

2008-02-24 Thread Christophe Genolini
For what I understand so far : For set, you can add some verification of object internal coherance. The initialize make verification when you create your object, aSlotName<- can make some verification when you change your slot. For get, you can build some more elabored method than just getting a

[Rd] 'Esc' crashes R in MacOX 10.5.2 (PR#10839)

2008-02-24 Thread abond
Full_Name: Alex Bond Version: 2.6.2 OS: MacOSX 10.5.2 Submission from: (NULL) (142.163.207.86) Pressing 'esc' while typing any (e.g., aov, lm, etc.) command line causes the program to become non-responsive resulting in "Force Quit" to use the program again. __

Re: [Rd] Standard method for S4 object

2008-02-24 Thread Katharine Mullen
I don't know of any '"non official list" of what method a new S4 object should have' - such a list would have to depend on what the object represents. If it represents the output of fitting a model, then methods for 'residuals', 'fitted' and 'coefficients' would probably be nice. Also, out of cu

[Rd] Standard method for S4 object

2008-02-24 Thread Christophe Genolini
Hi the list, I am defining a new class. Shortly, I will submit a package with it. Before, I would like to know if there is a kind of "non official list" of what method a new S4 object should have. More precisely, personally, I use 'print', 'summary' and 'plot' a lot. So for my new class, I defi

Re: [Rd] .net and R

2008-02-24 Thread Michael Lawrence
On Sat, Feb 23, 2008 at 3:18 AM, Yuan Jian <[EMAIL PROTECTED]> wrote: > Hi, > is it possible to call R functions from visual studio .net such as c#? > > There is at least one existing C# program accessing R: http://ncrr.pnl.gov/software/dante.stm They do it using the R(D)COM server, which is un

[Rd] R for Windows FAQ 2.8 suggestion

2008-02-24 Thread Roger Bivand
The current text for: 2.8 What's the best way to upgrade? says: "That's a matter of taste. For most people the best thing to do is to uninstall R (see the previous Q), install the new version, copy any installed packages to the library folder in the new installation, run update.packages() in th