Re: [R] recompile R using ActiveTcl

2007-06-02 Thread Peter Dalgaard
James Foadi wrote: > Dear all, > > While running some code requiring the "tcltk" package I have realised that my > version of R was compiled with the Tcl/Tk libraries included in Fedora 6. It > would be for me better to use the ActiveTcl libraries (which I have > under /usr/local), and I'm aware

Re: [R] Problems compiling RMySQL

2007-06-02 Thread David James
Hi, The error is coming from the FIND command (and in upper case, hmm). I'd suggest making sure you are using the right find. HTH -- David On 6/2/07, Paulino Perez Rodriguez <[EMAIL PROTECTED]> wrote: > Hello, I am trying to compile/Install RMySQL_0.6-0 in > R-2.4.1/2.5.0 under Windows XP MCE,

Re: [R] Finding density curve peak

2007-06-02 Thread Robert A LaBudde
At 07:34 PM 6/2/2007, Davendra wrote: >I have a dataset where I get a density curve of a continuous variable with >two peaks. >How can I get the peaks? >Any simple solutions? Plot the curve, and the use identify() and the mouse to click on the peaks. ==

Re: [R] Re : I need some help please!

2007-06-02 Thread John Kane
--- Bernard Colin <[EMAIL PROTECTED]> wrote: > > To whom it may concern, > > I want to plot two or more graphics in the same > window by the means of the > "plot" command. To do that, I have tried the > "add=TRUE" option, but this last > one does not work! Do you have an hint for me > please? ?

Re: [R] canoncial correlation

2007-06-02 Thread Gabor Grothendieck
See ?biplot.princomp On 6/2/07, Soare Marcian-Alin <[EMAIL PROTECTED]> wrote: > hello, > > Does nobody know what the problem could be? : > > 2007/5/26, Soare Marcian-Alin <[EMAIL PROTECTED]>: > > > > Hello, > > > > I have a problem with the function concar: > > > > data set: > > http://www.st

[R] Problems compiling RMySQL

2007-06-02 Thread Paulino Perez Rodriguez
Hello, I am trying to compile/Install RMySQL_0.6-0 in R-2.4.1/2.5.0 under Windows XP MCE, I am using MySQL 5.0.41. I have followed the instructions in the file INSTALL.win, but I get some errors... C:\Program Files\R\R-2.4.1>Rcmd build --binary RMySQL --docs=normal * checking for file 'RMySQL/

Re: [R] Re : I need some help please!

2007-06-02 Thread mister_bluesman
Try the par(mfrow=c(x,y)) command which sets up x rows and y columns of subplots: -- View this message in context: http://www.nabble.com/Re-%3A-I-need-some-help-please%21-tf3858641.html#a10932455 Sent from the R help mailing list archive at Nabble.com. _

[R] Finding density curve peak

2007-06-02 Thread Davendra Sohal
Hi all, I have a dataset where I get a density curve of a continuous variable with two peaks. How can I get the peaks? Any simple solutions? Many thanks. -D. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https:/

[R] ODP: Updating R version

2007-06-02 Thread Bojanowski, M.J. \(Michal\)
Is R not loading the packages at all (like they were never installed), or perhaps it is complaining that they were build on the older version of R? You have to be more specific here about what happens etc. For now try running update.packages and see if it fixes the problem. I would also suggest

Re: [R] Updating R version

2007-06-02 Thread Charles C. Berry
try RSiteSearch("update packages") and RSiteSearch("update packages") and you will find threads like these: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/41295.html http://finzi.psych.upenn.edu/R/Rhelp02a/archive/8051.html And following the posting guide [

Re: [R] Harrell's C

2007-06-02 Thread Charles C. Berry
Frank, I am (happily) using Design on Windows XP, R-2.5.0. I do get some warnings like this: use of storage.mode(x) <- "single" is deprecated: use mode<- instead but functionally all seems fine. > sessionInfo() R version 2.5.0 (2007-04-23) i386-pc-mingw32 locale: LC_COLLATE=English

Re: [R] canoncial correlation

2007-06-02 Thread Soare Marcian-Alin
hello, Does nobody know what the problem could be? : 2007/5/26, Soare Marcian-Alin <[EMAIL PROTECTED]>: > > Hello, > > I have a problem with the function concar: > > data set: > http://www.statistik.tuwien.ac.at/public/filz/students/multi/ss07/world2.R > > > source("world2.R") > > world[,8]

[R] Re : I need some help please!

2007-06-02 Thread Bernard Colin
To whom it may concern, I want to plot two or more graphics in the same window by the means of the "plot" command. To do that, I have tried the "add=TRUE" option, but this last one does not work! Do you have an hint for me please? Thank you very much for your attention. Bernard Colin Departeme

Re: [R] Harrell's C

2007-06-02 Thread Frank E Harrell Jr
Wachtel, Mitchell wrote: > R will not let me load Design or Hmisc anymore. I need to calculate Harrell's > C for some survival analyses. Can anyone provide an R formula for Harrell's C? > With kindest regards. > Mitchell Wachtel, MD You provided very little information. We have had no reports of

[R] Updating R version

2007-06-02 Thread Raghu Naik
A quick question. I am trying to understand how I could move the installed packages in my R 2.3 version to the newly installed R 2.5 version, without having to install all the packages again. I copied the files under the old library subdirectory to the new library subdirectory. But still the newer

Re: [R] Calculating column percentages of a table

2007-06-02 Thread Chuck Cleland
Rehceb Rotkiv wrote: > Hello, > > I know, this is a real newbie question, but I can't find anything on this in > the manuals! I know that I get calculate the column totals of a table with > `apply(mytable, 2, sum)'. Now I want each column total to be 100% and > calculate the percentage of each fie

[R] Calculating column percentages of a table

2007-06-02 Thread Rehceb Rotkiv
Hello, I know, this is a real newbie question, but I can't find anything on this in the manuals! I know that I get calculate the column totals of a table with `apply(mytable, 2, sum)'. Now I want each column total to be 100% and calculate the percentage of each field of the column. How would I do

[R] How to use density function to find h_{k}

2007-06-02 Thread Patrick Wang
Hi, All: How can I use the density function to find the minimum of the bandwidth make the density function one mode, 2 mode, 3 mode etc. It will be impossible to try all possible bandwidths to then plot the pdf to see how many modes it has. Is there an automatic way to do this Like for loop 1000

Re: [R] mahalanobis

2007-06-02 Thread Michael Friendly
Yianni You probably would have gotten more helpful replies if you indicated the substantiative problem you were trying to solve. From your description, it seems like you want to calculate leverage of predictors, (X1, X2) in the lm( y ~ X1+X2). My crystal ball says you may be an SPSS user, for wh

[R] Harrell's C

2007-06-02 Thread Wachtel, Mitchell
R will not let me load Design or Hmisc anymore. I need to calculate Harrell's C for some survival analyses. Can anyone provide an R formula for Harrell's C? With kindest regards. Mitchell Wachtel, MD __ R-help@stat.math.ethz.ch mailing list https://stat

Re: [R] Problem with reading a file.xls

2007-06-02 Thread mister_bluesman
may be because you need use C:\\programfiles\\R 2.4.0 friend wrote: > > Hi friends, > I have a file.xls entitled "Dali" which is composed of two columns: the > first is entitled "imp" and the second is entitled:"exp". I putted The > file "Dali" in the following way:C:/programfiles/R 2.4.0. I

[R] Problem with reading a file.xls

2007-06-02 Thread hassen62
Hi friends, I have a file.xls entitled "Dali" which is composed of two columns: the first is entitled "imp" and the second is entitled:"exp". I putted The file "Dali" in the following way:C:/programfiles/R 2.4.0. I can't read this file from R console. What can I do? thanks. [[alternati

Re: [R] Problem with the command "StrucTS" that fits a basic structural model for time series

2007-06-02 Thread Gabor Grothendieck
Your frequency is 1. Suppose it were 3 : > (fit <- StructTS(ts(x, freq = 3),type = "BSM")) Call: StructTS(x = ts(x, freq = 3), type = "BSM") Variances: levelslope seas epsilon 3.0225 0. 0.1617 18.0978 On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi everybody,

[R] Problem with the command "StrucTS" that fits a basic structural model for time series

2007-06-02 Thread hassen62
Hi everybody, I'am very interested with the basic structural model of time series. So I used the command "StructTS" but I failed to obtain a desirable output, in fact when I write in R Console the following lines: > x=(1,2,3,4,5,2,25,14,12,13,11,6,9,24,12,13,14,12,12,14,11,12,14,15,20,21,22,23,21

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread Gabor Grothendieck
Check out ?sunflowerplot On 6/2/07, mister_bluesman <[EMAIL PROTECTED]> wrote: > > Hi there. > > I have the following graph: > > http://www.nabble.com/file/p10928148/map.jpg > > However, some datapoints occur at the same place as other datapoints and are > so layered on top of each other. I would

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread mister_bluesman
Philipp Pagel-2 wrote: > > > If that is not an option you could possibly detect points with almost > identical coordintes yourself and then change the color of the > respective plotting symbol. > That's a good idea. But my the coordinates are calculated through use of the cmscale multidimensi

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread Philipp Pagel
> I would like to know if there is any > possible way in which I could view those datapoints that are layered on top > of each other You could use jitter() to add a little noise to the data. Of course that will slightly change the position of each point. If that is not an option you could possib

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread mister_bluesman
Uwe Ligges wrote: > > Of course, you can also rotate the data, but then you will have to > decide which way makes sense - and you have to add some randomness as > well, or two points will be rotated to the same new coordinates unless > there is another variable that will cause a difference.

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread Uwe Ligges
mister_bluesman wrote: > Hi there. > > I have the following graph: > > http://www.nabble.com/file/p10928148/map.jpg > > However, some datapoints occur at the same place as other datapoints and are > so layered on top of each other. I would like to know if there is any > possible way in which

Re: [R] object not found inside function

2007-06-02 Thread Uwe Ligges
Maria Montez wrote: > Hi! > > When running the following code I get the message: Error in eval(expr, > envir, enclos) : object "A" not found > > fm <- function(p,ydata, env = parent.frame()) { > #fit model y ~ (b0+b1x1+...+bpxp)*exp(g2plus*z2plus) where bi and g2plus > are parameters > > #cr

[R] Datapoints underneath datapoints Problem

2007-06-02 Thread mister_bluesman
Hi there. I have the following graph: http://www.nabble.com/file/p10928148/map.jpg However, some datapoints occur at the same place as other datapoints and are so layered on top of each other. I would like to know if there is any possible way in which I could view those datapoints that are lay

Re: [R] What is the maximum size of a matrix?

2007-06-02 Thread Doran, Harold
Thanks for the clarification, Marc. Also, I should correct my error below. I wrote excel's limit is 16^2. But, it is 2^16 -1 -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Fri 6/1/2007 6:23 PM To: Doran, Harold Cc: Guanrao Chen; r-help@stat.math.ethz.ch Subject: R

Re: [R] setClass with a slot of RODBC

2007-06-02 Thread David James
Hi, A couple of thoughts: (1) The channel RODBC is an S3 object, thus there's no proper S4 class associated with it. From ?setOldClass: Description: Register an old-style (a.k.a. `S3') class as a formally defined class. The 'Classes' argument is the character vector used as the

Re: [R] spatial simulation

2007-06-02 Thread Roger Bivand
On Fri, 1 Jun 2007, Kitty Lee wrote: > Dear R-users, > > I'm trying to do some spatial simulation. I have two covariates, Z and > C. I want to examine their relationship under different spatial > distribution. > > I have no problem simulating completely spatial random process but I'm > totally s

Re: [R] spatial simulation

2007-06-02 Thread Ted Harding
On 02-Jun-07 01:06:48, Kitty Lee wrote: > Dear R-users, > > I'm trying to do some spatial simulation. I have two covariates, > Z and C. I want to examine their relationship under different > spatial distribution. > > I have no problem simulating completely spatial random process > but I'm totall