Re: [R] Read in data from Microsoft SQL

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004 [EMAIL PROTECTED] wrote: Hi, the DSN should be exactly the same as name of the (probably system) DSN stated in Windows ODBC settings. Just keep in mind, that DSN in general often holds information about the Default Database, and that switching database os stating

[R] Loadhistory problems

2004-11-02 Thread Robert Brown FM CEFAS
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the

Re: [R] Loadhistory problems

2004-11-02 Thread asemeria
Probably you have an R version = 1.9.1, then to make use of loadhistory you have to load the 'utils' library (type library(utils) on your .Rprofile). Best A.S. Alessandro Semeria Models and Simulations Laboratory Montecatini Environmental Research Center (Edison

Re: [R] Loadhistory problems

2004-11-02 Thread Prof Brian Ripley
Please read the posting guide, and tell us what platform you are using, R version and so on. On Tue, 2 Nov 2004, Robert Brown FM CEFAS wrote: History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a

Re: [R] Loadhistory problems

2004-11-02 Thread Uwe Ligges
Robert Brown FM CEFAS wrote: History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that

Re: [R] Loadhistory problems

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004 [EMAIL PROTECTED] wrote: [In reply to R.G.Brown, original post not included] Probably you have an R version = 1.9.1, then to make use of loadhistory you have to load the 'utils' library (type library(utils) on your .Rprofile). But only to make use of loadhistory() in

Re: [R] make apply() return a list

2004-11-02 Thread Arne Henningsen
Hi, thank you very much Sundar, Patrick, Tony, Mahub and Gabor for your helpful answers! All your examples work great. They are all more straightforeward than my example and much faster than the for-loop. These are the average elapsed times (in seconds) returned by system.time()[3] (applied

[R] genou

2004-11-02 Thread Ludovic Tambour
Hello, I am a new user of R software. I have not found documentation about genou function (optimisation using genetic algorithms). I need know if genou uses normalized values or not. Please, somebody has a response for me ? Ludo __ [EMAIL PROTECTED]

[R] integer

2004-11-02 Thread Ludovic Tambour
Hello, I need to use R to determine parameters which are integers. How I can do this, please ? Ludo __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] genou

2004-11-02 Thread Uwe Ligges
Ludovic Tambour wrote: Hello, I am a new user of R software. I have not found documentation about genou function (optimisation using genetic algorithms). I need know if genou uses normalized values or not. Please, somebody has a response for me ? Ludo [I do not know the answer to your question,

Re: [R] integer

2004-11-02 Thread Uwe Ligges
Ludovic Tambour wrote: Hello, I need to use R to determine parameters which are integers. How I can do this, please ? What so you mean with parameters? In which context? To check whether a numeric vector x contains only integers, you can try all.equal(as.integer(x), x) Uwe Ligges Ludo

Re: [R] Loadhistory problems

2004-11-02 Thread asemeria
Sorry, some times, as today, I read e-mails on a very poor web-Lotus Notes interface with a browser on a linux box, and the bad formatting text mislead me about r.g.brown's O.S. A.S. Alessandro Semeria Models and Simulations Laboratory Montecatini Environmental

[R] New email address for jdooley

2004-11-02 Thread James Dooley
Either you sent email to me, or someone spammed it on your behalf. Just want to let you know - this email address is no longer valid. All email sent to it is just deleted. thanks, -james __ [EMAIL PROTECTED] mailing list

[R] warning message

2004-11-02 Thread sgrabasa
Hi, I am using the glmmPQL package, and when I run the program I got the following warning messages: 1: non-integer #successes in a binomial glm! in: eval(expr, envir, enclos) 2: Singular precision matrix in level -1, block 5 What do thy mean? Thanks

Re: [R] warning message

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004 [EMAIL PROTECTED] wrote: I am using the glmmPQL package, I can find no such package: is this the glmmPQL function in the MASS package? and when I run the program I got the following warning messages: 1: non-integer #successes in a binomial glm! in: eval(expr, envir,

[R] [R-pkgs] updated package waveslim 1.4

2004-11-02 Thread Brandon . J . Whitcher
waveslim 1.4 has recently been uploaded to CRAN and is fully compatible with Rv2.0. Besides ensuring usability with the most recent version of R, two additional flavors of wavelet methodology have been added to the package: (1) Hilbert wavelet pairs and (2) the dual-tree complex wavelet

Re: [R] integer

2004-11-02 Thread Göran Broström
On Tue, Nov 02, 2004 at 11:36:27AM +0100, Uwe Ligges wrote: Ludovic Tambour wrote: Hello, I need to use R to determine parameters which are integers. How I can do this, please ? What so you mean with parameters? In which context? To check whether a numeric vector x contains only

[R] Matrix decomposition: orthogonal complement

2004-11-02 Thread Florin G. Maican
Hello, How I can compute in R the orthogonal complement of one matrix? If A (n x m ) matrix of full column rank (nm), its orthogonal complement is denoted by A_ . A_ is n X (n-m) matrix of full column rank and such that A'A_=0. I need to compute A_. How I can compute A_ in R? Best

[R] p-value for nonparamentric multiple comparison testing

2004-11-02 Thread Antonio Olinto
Dear R users, I wrote a function to perform a nonparametric multiple comparison test. The function below solves the example 11.10 (pg. 228) from Zar’s Biostatistical Analysis (3rd ed.). Nevertheless I couldn’t find a function to get the p-value associated to Q, so I still have to consult Table

Re: [R] overlapping plots

2004-11-02 Thread Carlisle Thacker
Andy, If I had the three plots on three separate sheets of paper, I could cut out plot 2 and paste it over plot one so that the data and axes on both plots can be seen. Then I could cut out plot 3 and past it over plots 1 and 2 so that data and axes on all three plots can be seen. For my

Re: [R] Matrix decomposition: orthogonal complement

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, Florin G. Maican wrote: How I can compute in R the orthogonal complement of one matrix? If A (n x m ) matrix of full column rank (nm), its orthogonal complement is denoted by A_ . A_ is n X (n-m) matrix of full column rank and such that A'A_=0. It is far from

[R] n-th power of a matrix

2004-11-02 Thread jing tang
Hello all, To calculate the power of a matrix, I used the command mtx.exp(X, n), but there is an error saying Error: couldn't find function mtx.exp. How can I deal with this problem? Jing __ [EMAIL PROTECTED] mailing list

Re: [R] Matrix decomposition: orthogonal complement

2004-11-02 Thread Simon Wood
How I can compute in R the orthogonal complement of one matrix? use the qr decomposition. For example: A-matrix(rnorm(40),10,4) B - t(qr.Q(qr(A),complete=TRUE)[,5:10]) B%*%A best, Simon If A (n x m ) matrix of full column rank (nm), its orthogonal complement is denoted by A_ . A_

Re: [R] make apply() return a list

2004-11-02 Thread Gabor Grothendieck
Arne Henningsen ahenningsen at email.uni-kiel.de writes: : : Hi, : : thank you very much Sundar, Patrick, Tony, Mahub and Gabor for your helpful : answers! All your examples work great. They are all more straightforeward : than my example and much faster than the for-loop. : These are the

Re: [R] integer

2004-11-02 Thread Uwe Ligges
Göran Broström wrote: On Tue, Nov 02, 2004 at 11:36:27AM +0100, Uwe Ligges wrote: Ludovic Tambour wrote: Hello, I need to use R to determine parameters which are integers. How I can do this, please ? What so you mean with parameters? In which context? To check whether a numeric vector x contains

RE: [R] n-th power of a matrix

2004-11-02 Thread Andy Bunn
Load the library first: library(Malmig) ?mtx.exp HTH, Andy __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Using East-european characters in R

2004-11-02 Thread Ale iberna
Does anybody know how to produce a East-European character - c with a v-shaped hat in R (in text or plot)? I do know how to get , - s,z, with a v-shaped hat, but not this one. Thanks in advance for any suggestions, Ales Ziberna P.S.: I am using Windows XP and R version 1.9.1 (details

Re: [R] n-th power of a matrix

2004-11-02 Thread Martin Maechler
jing == jing tang [EMAIL PROTECTED] on Tue, 02 Nov 2004 15:11:32 +0100 writes: jing Hello all, jing To calculate the power of a matrix, I used the command jing mtx.exp(X, n), but there is an error saying Error: jing couldn't find function mtx.exp. How can I deal jing

[R] A GLM for a parameter of the error distribution.

2004-11-02 Thread Carruthers, Thomas R
Dear Sir/Madam, I am an experienced programmer that has had little exposure to R so please forgive me if I am inaccurate in places. I have an objective with which I can not find a solution. I would like to fit a GLM to binomial data that includes r number of success from n trials. The GLM

Re: [R] integer

2004-11-02 Thread Ludovic Tambour
Sorry, the formulation of my question is bad. I hope that you have not lost your time. The problem is not a problem of integer identification. The problem is : I have a numerical function y = f(x1,x2,x3) where x1...x3 are integers. I would like to determine x1,x2,x3 so that y has a minimal

Re: [R] make apply() return a list

2004-11-02 Thread Arne Henningsen
On Tuesday 02 November 2004 15:29, Gabor Grothendieck wrote: Arne Henningsen ahenningsen at email.uni-kiel.de writes: : Hi, : : thank you very much Sundar, Patrick, Tony, Mahub and Gabor for your : helpful answers! All your examples work great. They are all more : straightforeward than my

[R] StepAIC with coxph

2004-11-02 Thread Neil Leonard
Hi, I'm having a bit of trouble with using StepAIC with a coxph model. Can anybody tell me if there is anything wrong with what I am doing here (I've removed a few of the variables for the purpose of this email, I had about 20 before): start-

[R] problem to solve a matrix

2004-11-02 Thread Eve Mathieu
Dear R group, I have to solve a hessian matrix 40*40, called M, in order to obtain the standart deviations of estimators. When I use the function solve(M), I have the following error message: Error in solve.default(M) : Lapack routine dgesv: system is exactly singular Do you know an

[R] how to call function in ../src/main

2004-11-02 Thread Wu, Kotien (NIH/NCI)
Hi, This is Kotien Wu from NIH/NCI. We want to use R function for our web: http://cgap.nci.nih.gov It works for functions in R/R-1.9.1/src/nmath/standalone very well. We have function GetPvalueForT.c which has #define MATHLIB_STANDALONE 1 #include Rmath.h double GetPvalueForT ( double t,

Re: [R] make apply() return a list

2004-11-02 Thread Gabor Grothendieck
Arne Henningsen ahenningsen at email.uni-kiel.de writes: : : On Tuesday 02 November 2004 15:29, Gabor Grothendieck wrote: : Arne Henningsen ahenningsen at email.uni-kiel.de writes: : : Hi, : : : : thank you very much Sundar, Patrick, Tony, Mahub and Gabor for your : : helpful answers! All

Re: [R] using R in .NET apps

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, Siddique, Amer wrote: looking for some thoughts on incorporating R functionality to create histograms of data stored in an informix db. im gonna write the app in .Net and will use a managed provider to access the data. what R libs might I have to package in the

Re: [R] problem to solve a matrix

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, Eve Mathieu wrote: Dear R group, I have to solve a hessian matrix 40*40, called M, in order to obtain the standart deviations of estimators. When I use the function solve(M), I have the following error message: Error in solve.default(M) : Lapack routine dgesv:

[R] R data editor

2004-11-02 Thread Tobias Lindenberg
Hi, I have installed R2.0.0 on my mac with the new gui. Almost everything works fine now. Except when I run RCommander and want to edit a dataset with the data editor. Normally when you click on the variablename on top of a row a small dialog box should open where you can change the name and the

Re: [R] plot time series / dates (basic)

2004-11-02 Thread bogdan romocea
Thank you for the suggestions. I managed to fix everything except the first part. dat - date[(j-1)*points+1):(j*points)] causes a syntax error. If I do dat - vector() I end up with numbers (which is fine by me - just like SAS dates). However, after checking a couple of sources I

Re: [R] integer

2004-11-02 Thread Patrick Burns
Yes, it is possible -- there are two steps: 1) Create a suitable function. This is likely to look something like: f.wrapper - function(pars) { ipars - round(pars) f(ipars[1], ipars[2], ipars[3]) } 2) Find a suitable optimizer. A genetic algorithm, as you alluded to earlier, is a likely

RE: [R] using R in .NET apps

2004-11-02 Thread Siddique, Amer
I am writing a windows XP app which utilizes the .NET framework. my language is VB.NET. the Visual basic (VB) compiler will translate VB source code into microsoft intermediate language (MSIL), thus producing native code on XP. if I have a multi-tier app with a lower layer datastore (IBM Informix

Re: [R] integer

2004-11-02 Thread Gabor Grothendieck
Ludovic Tambour ludovic.tambour at cirad.fr : The problem is : : I have a numerical function y = f(x1,x2,x3) where x1...x3 are integers. I : would like to determine x1,x2,x3 so that y has a minimal value. I know : that : R can determine a minimal value when x1,x2,x3 are real. Is-it possible to

RE: [R] using R in .NET apps

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, Siddique, Amer wrote: I am writing a windows XP app which utilizes the .NET framework. my language is VB.NET. the Visual basic (VB) compiler will translate VB source code into microsoft intermediate language (MSIL), thus producing native code on XP. if I have a

Re: [R] plot time series / dates (basic)

2004-11-02 Thread Gabor Grothendieck
Thank you for the suggestions. I managed to fix everything except the : first part. : dat - date[(j-1)*points+1):(j*points)] : causes a syntax error. If I do You have unbalanced parentheses. : dat - vector() : I end up with numbers (which is fine by me - just like SAS dates). :

Re: [R] integer

2004-11-02 Thread Spencer Graves
I just went to www.r-project.org - search - R site search - integer programming. This brought 99 hits, the 23rd of which referred to function lp in package lpSolve. This may solve the problem if f in linear. Otherwise, if f is defined and reasonably well behaved for non integer

Re: [R] Feature selection

2004-11-02 Thread Rajdeep Das
Hi Edgar, Thanks. dprep module works fine. However, I have one question. How does SFFS or SFS function know the class definition in the data? Function call doesn't require to specify the column that identifies the class type (as shown inthe example). Can you eleborate on this? Thanks. Rajdeep

[R] Problems with Durbin Watson and Partial Residual Plots

2004-11-02 Thread Cal Tate
I am trying to evaluate a model by using the commands durbin.watson and cr.plot. However, I keep getting errors that I can't figure out. A description follows. Does anyone have a hint as to what may be wrong? 1)The Durbin Watson Test. In running the command I kept getting the message

[R] A little more on R, mdbtools and Access databases

2004-11-02 Thread David Whiting
Hi again, I have played a little more with mdbtools and R. I downloaded the latest version of mdbtools from sourceforge (version 0.6pre1). Quickly scanning the mailing list suggests that ODBC seems to work with PHP but I have not been able to get it to work with R. I can make a connection to the

RE: [R] Problems with Durbin Watson and Partial Residual Plots

2004-11-02 Thread John Fox
Dear Cal, The functions that you mention are in the car package. The problems that you've encountered seem very odd to me. For example, if you take a look at durbin.watson.lm(), you'll see that the code producing the errors is quite straight-forward; it just extracts residuals from the model and

[R] install.packages, bundles, pmatch, and Rprofile...

2004-11-02 Thread Andy Bunn
Hi, Somebody asked me to make sure that all the machines running the in our lab (XP and Linux, both running 2.0) have R installed and that A) All the packages are installed and B) kept up-to-date. Obediently, I began to modify a shared Rprofile so that once a week it checks for new packages and

RE: [R] R data editor

2004-11-02 Thread John Fox
Dear Tobi, I don't have a Mac, so I can't check the source of the problem. I assume from your message that the data editor works fine outside of the Rcmdr. Although it would be nice to get to the root of the problem, you can also rename variables via the Data - Manage variables in active data set

[R] lda

2004-11-02 Thread T. Murlidharan Nair
Hi !! I am trying to analyze some of my data using linear discriminant analysis. I worked out the following example code in Venables and Ripley It does not seem to be happy with it. library(MASS) library(stats) data(iris3) ir-rbind(iris3[,,1],iris3[,,2],iris3[,,3])

Re: [R] install.packages, bundles, pmatch, and Rprofile...

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, Andy Bunn wrote: Hi, Somebody asked me to make sure that all the machines running the in our lab (XP and Linux, both running 2.0) have R installed and that A) All the packages are installed and B) kept up-to-date. Obediently, I began to modify a shared Rprofile so

Re: [R] lda

2004-11-02 Thread Prof Brian Ripley
On Tue, 2 Nov 2004, T. Murlidharan Nair wrote: Hi !! I am trying to analyze some of my data using linear discriminant analysis. I worked out the following example code in Venables and Ripley It does not seem to be happy with it. What is `it'? If you mean R, which version, and which

[R] Color schemes that work for people with color-deficient vision

2004-11-02 Thread Scott Waichler
A recent article in the earth science literature cited below and available at http://geography.uoregon.edu/datagraphics/EOS/ points out that rainbow color schemes and mixtures of green and yellow can be troublesome for people with color-deficient vision. The authors propose alternative schemes

Re: [R] lda

2004-11-02 Thread Sundar Dorai-Raj
T. Murlidharan Nair wrote: Hi !! I am trying to analyze some of my data using linear discriminant analysis. I worked out the following example code in Venables and Ripley It does not seem to be happy with it. library(MASS) library(stats) data(iris3)

[R] R/S-plus Course***In San Francisco Washington, DC*** December- 2004

2004-11-02 Thread elvis
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our December-2004 2-day R/S-plus courses in San Francisco Washington, DC San Francisco -- December 16th-17th Washington, DC --- December 16th-17th

[R] Starting with R

2004-11-02 Thread Anne G
I am studying R and within the first 3 lines of demo(graphics) I get completely stuck. could you 1. give me the answer so I can move on 2. tell me how I might find the answer. On my mac OSX, the first command is equivalent to get(quartz)() now get(quartz) would be a regular function format but

RE: [R] Problems with Durbin Watson and Partial Residual Plots

2004-11-02 Thread John Fox
Dear Cal, Both functions work fine for me (Windows XP Pro, R 2.0.0 patched, car 1.0-13, though the versions probably aren't significant here): mod - lm(Sales ~ Time, data=Data) library(car) durbin.watson(mod) lag Autocorrelation D-W Statistic p-value 1 0.3232896 1.249564

[R] PCA

2004-11-02 Thread T. Murlidharan Nair
When using the biplot how do I supress the column names from appearing in the plot. I am only interested in the plot with the arrows. When I use xlabs =NULL nothing gets plotted. Thanks ../Murli __ [EMAIL PROTECTED] mailing list

Re: [R] Starting with R

2004-11-02 Thread Peter Dalgaard
Anne G [EMAIL PROTECTED] writes: I am studying R and within the first 3 lines of demo(graphics) I get completely stuck. could you 1. give me the answer so I can move on 2. tell me how I might find the answer. Well, y'know, sometimes obstacles are more easily handled by walking around them

[R] Confident intervals in multinom

2004-11-02 Thread Pierre-Henry Miquel
Dear R help list, i'm using multinom (nnet), the results given to me is the coefficients and std errors. Is there a way to obtain directly (or in an export to latex) the odd-ratio (exp(B)) and it's confident intervals. thanks very much for your help Pierre-Henry Miquel Université de Lille 2

Re: [R] Starting with R

2004-11-02 Thread Paul Bivand
in R, the source code for functions can be displayed by typing the function name without the brackets. Therefore , demo produces the source code and demo() runs the function - which in this case provides a list of available demos. The source for the graphics demo is a R source file named

[R] time dependency of Cox regression

2004-11-02 Thread array chip
Hi, How can I specify a Cox proportional hazards model with a covariate which i believe its strength on survival changes/diminishes with time? The value of the covariate was only recorded once at the beginning of the study for each individual (e.g. at the diagnosis of the disease), so I do not

Re: [R] PCA

2004-11-02 Thread Sundar Dorai-Raj
T. Murlidharan Nair wrote: When using the biplot how do I supress the column names from appearing in the plot. I am only interested in the plot with the arrows. When I use xlabs =NULL nothing gets plotted. Thanks ../Murli How about: pc - princomp(USArrests) biplot(pc, xlabs = rep(,

Re: [R] Color schemes that work for people with color-deficient vision

2004-11-02 Thread Duncan Murdoch
On Tue, 02 Nov 2004 13:04:48 -0800, Scott Waichler [EMAIL PROTECTED] wrote: A recent article in the earth science literature cited below and available at http://geography.uoregon.edu/datagraphics/EOS/ points out that rainbow color schemes and mixtures of green and yellow can be troublesome for

Re: [R] overlapping plots

2004-11-02 Thread Jim Lemon
Carlisle Thacker wrote: Andy, If I had the three plots on three separate sheets of paper, I could cut out plot 2 and paste it over plot one so that the data and axes on both plots can be seen. Then I could cut out plot 3 and past it over plots 1 and 2 so that data and axes on all three

Re: [R] time dependency of Cox regression

2004-11-02 Thread Frank E Harrell Jr
array chip wrote: Hi, How can I specify a Cox proportional hazards model with a covariate which i believe its strength on survival changes/diminishes with time? The value of the covariate was only recorded once at the beginning of the study for each individual (e.g. at the diagnosis of the

[R] Servidor SMTP Abimaq

2004-11-02 Thread SMTP_Abimaq2
Sua mensagem foi bloqueada por conter um ou mais anexos não permitidos pela Politica de Segurança da ABIMAQ. Atualize seu Anti Virus. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] File(s): application_diaeq1.pif Matching filename: *.pif __ [EMAIL