Re: [R] Probelms installing package RMySQL (Dominic Senn)

2005-10-24 Thread Prof Brian Ripley
On Sun, 23 Oct 2005, Jeff Ryan wrote: Make sure you have your environment variable LDFLAGS set to -L/usr/ lib, otherwise I believe the linker doesn't look there. That is on the system default ld path on all known systems, including Solaris 8. You can check where R looks in the Makeconf

Re: [R] GAM and AIC: How can I do??? please

2005-10-24 Thread Martin Maechler
ronggui == ronggui [EMAIL PROTECTED] on Mon, 24 Oct 2005 10:09:30 +0800 writes: ronggui === 2005-10-24 09:55:32 ronggui úÚ´ÅдÀº=== Hello, I'm a Korean researcher who have been started to learn the R package. I want to make gam model and AIC value of

[R] Strange update behavior of gregmisc

2005-10-24 Thread Thomas Schönhoff
Hello, I notice an odd behavior of gregmisc package when using update.packages() via R --no-save (as root). Every time I launch update.packages() gregmisc is repeatedly selected for upgrade. Current available version of gregmisc is 2.08 according to 'installed.packages()'. Despite I obviousely

[R] [R-pkgs] new package bundle on CRAN: BACCO

2005-10-24 Thread Robin Hankin
Dear List please find on CRAN a new R bundle, BACCO, for Bayesian analysis of random functions, comprising two packages: emulator and calibrator. Package calibrator implements: “Bayesian calibration of computer models”, M. C. Kennedy and A. O'Hagan 2001. Journal of the Royal Statistical

[R] Is 64-bit linux compatible version of 'R' available?

2005-10-24 Thread uttam . phulwale
Hi, Is there any 64-bit compatible version of 'R' available? Thanks Regards, Uttam Phulwale Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [[alternative HTML version deleted]] __

Re: [R] Male and female symbols?

2005-10-24 Thread Barry Rowlingson
(Ted Harding) wrote: For example -- though I'm not seriously saying I need this -- in a population study of faxes and rabbits surveyed over several years, one might wish to plot the Rabbit population using tiny rabbits as points, and foxes' heads for the Fox population. I cant help

Re: [R] Is 64-bit linux compatible version of 'R' available?

2005-10-24 Thread Γιάννης Δημάκος
On Δευ, Οκτώβριος 24, 2005 11:48, [EMAIL PROTECTED] wrote: Hi, Is there any 64-bit compatible version of 'R' available? There is of course the possibility that you can build your own version of R by obtaining the source and compiling and optimizing for your own 64-bit processor. IKD --

Re: [R] Errors occured

2005-10-24 Thread Roger Bivand
On Sun, 23 Oct 2005, Leaf Sun wrote: Hi all, Has anybody have the experience in the errors: Error in data.frame(..., check.names=FALSE): arguments imply differing number of rows: 343,15 This is the error occured in the middle of the program. I don't think the data frame has any

[R] tk problem with R 2.2.0 on wine/linux

2005-10-24 Thread Hin-Tak Leung
Actually I am trying to run sciview-R and encounted some problems with tk, and I thought I'll check the basic library(tcltk) functionallity, just to be sure. Anybody seen that '[tcl] bad window path name .1.' message before? Prof. Philippe Grosjean: yes, I have managed to load most of sciview-R

Re: [R] tk problem with R 2.2.0 on wine/linux

2005-10-24 Thread Philippe Grosjean
Hello, This is interresting. I think you did the big part of the job if SciViews-R is starting. tcltk is used independently from the rest of SciViews-R, for some dialog boxes and for R Commander. I think you should try now to run tcltk on the plain RGui.exe under wine. I guess it will

[R] locfit: simultaneous confidence band

2005-10-24 Thread Michael Gälger
I'm using the package 'locfit' for nonparametric regression. This package contains the function 'scb' to compute simultaneous confidence bands. The variance of the data is unknown. Up to now I compute a fit with 'locfit'. Afterwards an estimate of the residual variance is computed by the function

Re: [R] tk problem with R 2.2.0 on wine/linux

2005-10-24 Thread Hin-Tak Leung
Philippe Grosjean wrote: Hello, This is interresting. I think you did the big part of the job if SciViews-R is starting. tcltk is used independently from the rest of SciViews-R, for some dialog boxes and for R Commander. I think you should try now to run tcltk on the plain RGui.exe under

Re: [R] Male and female symbols?

2005-10-24 Thread Ted Harding
On 24-Oct-05 Barry Rowlingson wrote: (Ted Harding) wrote: For example -- though I'm not seriously saying I need this -- in a population study of faxes and rabbits surveyed over several years, one might wish to plot the Rabbit population using tiny rabbits as points, and foxes' heads for the

Re: [R] Is 64-bit linux compatible version of 'R' available?

2005-10-24 Thread Prof Brian Ripley
On Mon, 24 Oct 2005 [EMAIL PROTECTED] wrote: Hi, Is there any 64-bit compatible version of 'R' available? Yes. See the R-admin manual for how to make one. There are even 64-bit RPMs available. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics,

[R] Pb with function taxo2phylog (package ade4)

2005-10-24 Thread Christophe Girod
Hello I'm using the package ade4 to obtain classification from a .txt file. I use the following commands: cronquist - read.table(cronquist.txt, h = T, row.names = 8) cronquist - as.taxo(cronquist[7:1]) cro.phy - taxo2phylog(cronquist) in which cronquist.txt is a file with a classification of

Re: [R] Pb with function taxo2phylog (package ade4)

2005-10-24 Thread Stéphane Dray
Christophe, please send emails related to this package to the ade4 list : http://pbil.univ-lyon1.fr/ADE-4/adelist.html Merci. Christophe Girod wrote: Hello I'm using the package ade4 to obtain classification from a .txt file. I use the following commands: cronquist -

[R] query on xtable(Sweave)

2005-10-24 Thread ManuelPerera-Chang
Dear all, I am exporting to latex a dataframe via xtable(Sweave). My dataframe includes 4 rows and 4 columns. The first two rows containing real values(e.g. a laboratory parameter's mean value), and the two rows at the bottom containing only integers (number of cases). using

[R] Spearman's Rho Help!

2005-10-24 Thread Suresh Kumar Karanam
Hi, I have a dataset with four categories of data, the number of samples are not the same in each category. I want to find the Spearaman's Rho. Let me give an example.

Re: [R] testing non-linear component in mgcv:gam

2005-10-24 Thread Simon Wood
In this case the models being compared are really identical, and the P-value is meaningless numerical noise. If your main focus is hypothesis testing and you really need near exact p-values, then do this sort of testing using unpenalized models. i.e. don't have mgcv::gam estimate the EDF of the

Re: [R] testing non-linear component in mgcv:gam

2005-10-24 Thread Simon Wood
Looks like a bug in mgcv::summary.gam when the model is strictly parametric... I'll take a look and fix it. thanks, Simon In my original message I mentioned a gam fit that turns out to be a linear fit. By curiosity I analysed it with a linear predictor only with mgcv package, and then as a

Re: [R] Spearman's Rho Help!

2005-10-24 Thread Frank E Harrell Jr
Suresh Kumar Karanam wrote: Hi, I have a dataset with four categories of data, the number of samples are not the same in each category. I want to find the Spearaman's Rho. Let me give an example.

[R] aggregating using several functions

2005-10-24 Thread Christoph Scherber
Dear R users, I would like to aggregate a data frame using several functions at once (e.g., mean plus standard error). How can I make this work using aggregate()? The help file says scalar functions are needed; can anyone help? Below is the code for my meanse function which I´d like to use

[R] R Reference Card (especially useful for Newbies)

2005-10-24 Thread Berton Gunter
Newbies (and others!) may find useful the R Reference Card made available by Tom Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf or through the Contributed link on CRAN (where some other reference cards are also linked). It categorizes and organizes a bunch of R's basic, most used

Re: [R] reading data from a pdf

2005-10-24 Thread Jean Eid
Hi, In my experience pdftotext did not do a very good job at this because it screws up the formatting of tables. This of course depends on what program the pdf document was originally constructed with. What I found most appealing is the use of cut and paste into xemacs or emacs and use M-x

[R] Compilation package error

2005-10-24 Thread Poizot Emmanuel
Dear all, I tried to install gstat package and add the following compilation error : * Installing *source* package 'gstat' ... creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc

Re: [R] finite mixture model (2-component gaussian): plotting component gaussian components?

2005-10-24 Thread Karen.Green
Dear R Community, I was finally able to figure out how to plot the components of the finite mixture model. Because it was not obvious, I am including the script here -- in case anyone in the future also needs to do this. Karen --- Karen M. Green, Ph.D. Research Investigator Drug Design Group

[R] Implicit nonlinear equation

2005-10-24 Thread Florent Bresson
I can't find a commande to solve an implicit nonlinear equation. Does it exist please ? __ R-help@stat.math.ethz.ch 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] SOM object manupulation

2005-10-24 Thread Nayeem Quayum
I am trying to use SOM package to cluster some gene expression data. I got stuck with 2 questions and can't not find any documents to resolve these matters. I would really appreciate if anybody can shed some sort of light. Q1. I clustered the data using SOM function and plotted it using plot

Re: [R] Any way to add to data frame saved as .rData file?

2005-10-24 Thread Ken Termiso
thx everyone for your help...for simplicity, i elected to stay with a text file and transpose it so that each new row of data is really a column...in this transposed file, the header is really the row labels. the first cell has the name of the row labels (RowID in this case)... here's code

[R] Problems with pf() with certain noncentral values/degrees of freedom combinations

2005-10-24 Thread Ken Kelley
Hello all. It seems that the pf() function when used with noncentral parameters can behave badly at times. I've included some examples below, but what is happening is that with some combinations of df and ncp parameters, regardless of how large the quantile gets, the same probability value is

Re: [R] Compilation package error

2005-10-24 Thread Prof Brian Ripley
This is a compiler error, not an R package error. Please ask on a suitable (Debian?) compiler list. As a possible hint, when such things happen on Solaris it indicates a mis-installed gcc, missing the gnu binutils it depends on. On Mon, 24 Oct 2005, Poizot Emmanuel wrote: Dear all, I

Re: [R] question about technieque do with large computation

2005-10-24 Thread Uwe Ligges
ronggui wrote: The green book tells:The basic technique is classic :keep it simple .A long ,complicated expression or function is less fravorable than a relatively small computations that combines calls to a few other functions to perform its tasks. But I don't get the point totally.Can

Re: [R] Strange update behavior of gregmisc

2005-10-24 Thread Uwe Ligges
Googling for gregmisc update points us, e.g., to http://tolstoy.newcastle.edu.au/~rking/R/devel/05/06/1140.html Uwe Ligges Thomas Schönhoff wrote: Hello, I notice an odd behavior of gregmisc package when using update.packages() via R --no-save (as root). Every time I launch

Re: [R] Compilation package error

2005-10-24 Thread Miguel A. Arranz
Please, tell us more about the packages and libraries installed. I did compile and installed gstat on a machine running sid64 (unstable) with no problems. The only thing is that I did not compile with the -mieee-with-inexact switch. Hope this helps. On Monday 24 October 2005 17:07, Poizot

[R] How to create a new data.frame with all possible observations

2005-10-24 Thread Kevin Wright
I would like to use something like expand.grid to get a data.frame with all possible combinations of model terms from a formula. For example: R dat=data.frame(y=rnorm(8), + trt=rep(c(A,B),4), + state=c(rep(c('IA','NE'),each=4)), + county=c('P','P','S','S','J','J','N','N')) R dat=dat[-1,] R dat y

[R] Out of memory

2005-10-24 Thread Elizabeth Lawson
Hi, I am using gamm and I run out of memory and R crashes. I have tried to change the amount of memory in R using memory.limit as so far the largest it has allowed memory.limit(size=3072) still ahs this problem. If I try to use max I get the following error

Re: [R] Out of memory

2005-10-24 Thread Duncan Murdoch
On 10/24/2005 2:27 PM, Elizabeth Lawson wrote: Hi, I am using gamm and I run out of memory and R crashes. I have tried to change the amount of memory in R using memory.limit as so far the largest it has allowed memory.limit(size=3072) still ahs this problem. If I try to use max I

[R] Error in step() (or stepAIC) for Cox model

2005-10-24 Thread Li, Jia
Hello all, I am trying to use stepwise procedure to select covariates in Cox model and use bootstrap to repeat stepwise selection, then record how many times variables are chosen by step() in bootstrap replications. When I use step() (or stepAIC) to do model selection, I got errors. Here is

Re: [R] Strange update behavior of gregmisc

2005-10-24 Thread Thomas Schönhoff
Hello, 2005/10/24, Uwe Ligges [EMAIL PROTECTED]: Googling for gregmisc update points us, e.g., to http://tolstoy.newcastle.edu.au/~rking/R/devel/05/06/1140.html Thanks, I totally missed that. Thomas __ R-help@stat.math.ethz.ch mailing list

[R] lme and lmer syntax

2005-10-24 Thread Ronaldo Reis-Jr.
Hi, I have this: lme(y~x1+x2,random=~1|x1/x2) How to make this random effect using lmer? I try this: lmer(y~x1+x2+(1|x1/x2) But it dont work. Any idea? Thanks Ronaldo -- System halted! -- | // | \\ [***] | ( õ õ ) [Ronaldo Reis Júnior

Re: [R] Error in step() (or stepAIC) for Cox model

2005-10-24 Thread Prof Brian Ripley
On Mon, 24 Oct 2005, Li, Jia wrote: Hello all, I am trying to use stepwise procedure to select covariates in Cox model and use bootstrap to repeat stepwise selection, then record how many times variables are chosen by step() in bootstrap replications. When I use step() (or stepAIC) to do

Re: [R] lme and lmer syntax

2005-10-24 Thread Doran, Harold
Ronaldo See the article on lmer pasted below for syntax. It is the only current source documenting the code. In lmer(), the nesting structure for the ranmdom effects is handled in a slightly different way. If your observations are nested as you note, then you can use lmer(y~x1 + x2 +(1|x1) +

[R] Basic: setting resolution and size of an R graphic

2005-10-24 Thread Dr. med. Peter Robinson
Dear List, I am sorry if this perhaps a too basic question, but I have not found an answer in Google or in the R help system. I am trying to use R to do a very simple analysis of some data (RT-PCR and Western analysis) with a T-test and to plot the results as a histogram with error bars. (I have

[R] error messages in matrix multiplication

2005-10-24 Thread Bob Green
Hello, I am hoping for some advice on using R - my experience with statistical programs has been limited to SPSS. I have been using a textual analysis program and wanted to add some rigour to making a choice between two models of self-reported cannabis effects. To do this, I need to compare

Re: [R] Basic: setting resolution and size of an R graphic

2005-10-24 Thread Marc Schwartz (via MN)
On Mon, 2005-10-24 at 22:32 +0200, Dr. med. Peter Robinson wrote: Dear List, I am sorry if this perhaps a too basic question, but I have not found an answer in Google or in the R help system. I am trying to use R to do a very simple analysis of some data (RT-PCR and Western analysis) with a

Re: [R] Male and female symbols?

2005-10-24 Thread Greg Snow
If you have image files of your plotting symbols (fox and rabbits) then one approach is to follow the example in the post at: http://tolstoy.newcastle.edu.au/~rking/R/help/05/08/10890.html hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL

[R] stepAIC formula upper limit guidelines

2005-10-24 Thread Tate Avery
Hello, I am attempting to refine an lm()-generated model using the stepAIC function. My model has approximately 20 inputs and I am trying to determine the best upper limit scope for using those inputs. My lower limit is y ~ 1 and my original upper limit was y ~ x1 + x2 + ... + x20. This is

[R] selecting every nth item in the data

2005-10-24 Thread Stephen Choularton
I want to make a glm and then use predict. I have a fairly small sample (4000 cases) and I want to train on 90% and test on 10% but I want to do it in slices so I test on every 10th case and train on the others. Is there some simple way to get these elements? Stephen -- 21/10/2005

Re: [R] selecting every nth item in the data

2005-10-24 Thread Petr Pikal
On 25 Oct 2005 at 13:48, Stephen Choularton wrote: From: Stephen Choularton [EMAIL PROTECTED] To: R Help r-help@stat.math.ethz.ch Date sent: Tue, 25 Oct 2005 13:48:42 +1000 Subject:[R] selecting every nth item in the data I

[R] Examples of classwt, strata, and sampsize in randomForest?

2005-10-24 Thread David L. Van Brunt, Ph.D.
Just browsing the documentation, and searching the list came up short... I have some unbalance data and was wondering if, in a 0 v 1 classification forest, if these options might yield better predictions when the proportion of one class is low (less than 10% in a sample of 2,000 observations).