Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
Hi Duncan, That fixed it. Many thanks indeed, I now know what to do if it happens again, Philip -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 16 July 2010 16:00 To: Philip Whittall Cc: r-help@r-project.org Subject: Re: [R] Packages built before R

Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
Philip -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 16 July 2010 15:45 To: Philip Whittall Cc: r-help@r-project.org Subject: Re: [R] Packages built before R 2.10.0 On 16/07/2010 10:41 AM, Philip Whittall wrote: > Hi Duncan, > > Many thanks for the re

Re: [R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
d from the console pull down menu. I have probably missed something obvious, Thanks, Philip -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 16 July 2010 15:24 To: Philip Whittall Cc: r-help@r-project.org Subject: Re: [R] Packages built before R 2.10.0

[R] Packages built before R 2.10.0

2010-07-16 Thread Philip Whittall
Dear list, I am running R2.11.1 on 32 bit windows. I am receiving messages as follows ... > require(car) Loading required package: car Error: package 'car' was built before R 2.10.0: please re-install it The package kohonen was another example. This failure appears to be fatal and not only affec

[R] Ensembles in cforest

2010-03-16 Thread Philip Whittall
Dear List, I'm trying to find a way to extract the individual conditional inference trees from cforest ( a modelling function in the party package) in a manner analogous to getTree in randomForest and I'm struggling. I can see that the information is held within the ensemble list, but haven't bee

[R] Environments

2009-04-02 Thread Philip Whittall
Dear List, No doubt I am going around this the wrong way, and hopefully one of you will be able to tell me how to go about it the right way. I want to change the names of an object inside a function and have it stay changed in the global environment. I can only effect the change inside the functio

[R] Using Rscript

2009-01-30 Thread Philip Whittall
Dear List, Hopefully someone will point me to a piece of documentation that I have overlooked. I am running Rscript successfully to read and execute an R program, but have failed to find the correct syntax to route the output to a file using the Rscript command that invokes the job. I tried Rscrip

Re: [R] Extracting the name of an object into a character string and vice versa

2008-12-12 Thread Philip Whittall
I am still struggling to map a character string to an object name and vice versa in R. I thought the as.name() function might work, but observe the following behaviour ... > attach(warpbreaks) > levels(tension) [1] "L" "M" "H" > levels(as.name("tension")) NULL > objectname<-as.name("tension") >

[R] Extracting the name of an object into a character string

2008-12-11 Thread Philip Whittall
Dear List, I am writing a function in R with the facility to store models for later use in scoring. It would be very useful if I could include in the name of the file stored the name of the model object being stored, this name being chosen by the user in the function call. A simple function to sto

[R] Coercing a list of variables in a function call

2008-12-01 Thread Philip Whittall
This is hopefully a trivial problem for list subscribers, but I am very new to writing R functions. I wish to call an R function written by myself from another program to fit a model. I need to tell it which of the independent variables are factors. I need to do this in a generic way, so that when

[R] Queries about step() and stepAIC()

2008-11-06 Thread Philip Whittall
I have been learning how to use these functions and would like to know the following as I have so far been unable to find the answers in the documentation. 1) What stopping rules are used ? 2) Can the stopping rules be changed? 3) Can the results of each step be stored as objects in R and if so