[R] Manova and specifying the model

2004-05-24 Thread Stefanie von Felten
Hi, I would like to conduct a MANOVA. I know that there 's the manova() funciton and the summary.manova() function to get the appropriate summary of test statistics. I just don't manage to specify my model in the manova() call. How to specify a model with multiple responses and one explanatory

[R] discriminant analysis

2004-05-24 Thread Stefanie von Felten
Hi, I have done different discriminant function analysis of multivariat data. With the CV=True option I was not able to perform the predict() call. What do I have to do? Or is there no possibility at all? You also need the predicted values to produce a plot of the analysis, as far as I know.

Re: [R] Manova and specifying the model

2004-05-24 Thread Prof Brian Ripley
See the examples in ?summary.manova, please. Y - cbind(tear, gloss, opacity) shows how to make a multiple response. On Mon, 24 May 2004, Stefanie von Felten wrote: I would like to conduct a MANOVA. I know that there 's the manova() funciton and the summary.manova() function to get the

Re: [R] discriminant analysis

2004-05-24 Thread Prof Brian Ripley
On Mon, 24 May 2004, Stefanie von Felten wrote: I have done different discriminant function analysis of multivariat Using lda in contributed package MASS, uncredited. data. With the CV=True option I was not able to perform the predict() call. What do I have to do? Or is there no possibility

Re: [R] Cannot call R's ISNAN() from a C code in 1.7 versions.

2004-05-24 Thread Prof Brian Ripley
First, there are no versions 1.7, 1.8 and 1.9. Was your version of R compiled against MSVC++ 6.0? The binary on CRAN was not, and binaries for different versions of R were compiled with different versions of MinGW. The entry point isnan is part of the statically linked runtime on modern MinGW.

[R] bug in cor (..., use= ...)?

2004-05-24 Thread Lorenz . Gygax
Dear R users, I have not found anything on this in the archives. Does anyone know whehther the parameter use= is not functioning in cor or enlighten me what it is supposed to do? My R version is R version 1.8.1, 2003-11-21 on Windows 2000. I am hoping to be able to update to 1.9.1 as soon as it

Re: [R] bug in cor (..., use= ...)?

2004-05-24 Thread Prof Brian Ripley
From the NEWS file for 1.9.0 o The cor() function did not remove missing values in the non-Pearson case. Your example works correctly there. (I am fairly sure this has been discussed on the mailing lists.) On Mon, 24 May 2004 [EMAIL PROTECTED] wrote: Dear R users, I have

[R] Tramo-seats

2004-05-24 Thread v . demartino2
Working - among other things- in the field of (short long term) electricity forecast, we are now using too many too expensive pieces of licensed software: SAS, SPSS, EViews. This sedimentation is due to the fact that my predecessors in the past used different consultant companies to manage

[R] problems with starting R

2004-05-24 Thread Sabine Bader
When I try to start R from my desktop, an information-window pops up: Fatal error: Invalid HOMEDRIVE. I already deleted and reinstalled the program, but the problem lasts. How can I solve this problem? I would be very glad, if you can give me a hint, what´s going wrong. Best regards Sabine Bader

RE: [R] problems with starting R

2004-05-24 Thread Rau, Roland
Hi Sabine, -Original Message- From: Sabine Bader [SMTP:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 2:22 PM To: [EMAIL PROTECTED] Subject: [R] problems with starting R When I try to start R from my desktop, an information-window pops up: Fatal error: Invalid HOMEDRIVE.

Re: [R] problems with starting R

2004-05-24 Thread Wolski
Hi! This problem was discussed on the list. For searching the mail archives you can use eg. http://maths.newcastle.edu.au/~rking/R/ The link to this page can be found at: http://cran.r-project.org/search.html Entering Fatal error: Invalid HOMEDRIVE. Will provide you many answers to your

[R] non-hierarchical non-exclusive clustering of large data sets

2004-05-24 Thread Murk Wuite
Hi, I'm trying to use R to cluster words with related meanings. Does anyone know of a non-hierarchical clustering method in R that produces non-exclusive clusters? With non-exclusive, I mean that words should be allowed to be part of multiple clusters. So my data matrix would look something like:

[R] replacing backslashes with slashes using gsub

2004-05-24 Thread witek
Hi! I am trying to replace backslashes with slashes using gsub (R1.9.0 on XP) gsub(,/,D:\Prog\R\rw1090\library\cluster\libs) [1] D:ProgR\rw1090libraryclusterlibs ? Sincerely Eryk __ [EMAIL PROTECTED] mailing list

[R] Month names

2004-05-24 Thread BXC (Bendix Carstensen)
This is how I get the month names from within R: mon - rep(strptime(01/01/1952, format = %d/%m/%Y), 12) mon$mon - mon$mon + 0:11 mnam - months(mon, abbreviate = F) mnam [1] januarfebruar marts april maj juni juli augustseptember [10] oktober november december

Re: [R] replacing backslashes with slashes using gsub

2004-05-24 Thread Jeff Gentry
gsub(,/,D:\Prog\R\rw1090\library\cluster\libs) [1] D:ProgR\rw1090libraryclusterlibs Probably not the best way, but what about escaping all the backslashes in the original string? gsub(,/,D:\\Prog\\R\\rw1090\\library\\cluster\\libs) __ [EMAIL

Re: [R] (no subject)

2004-05-24 Thread Jeff Gentry
Hello! Please!How do I download R from the internet? http://cran.r-project.org/doc/FAQ/R-FAQ.html#How%20can%20R%20be%20obtained%3f __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] (no subject)

2004-05-24 Thread Uwe Ligges
Whittaker, Carly wrote: Hello! Please!How do I download R from the internet? Several ways, one ist to right click and say something like save to ... in your browser when visiting CRAN at http://cran.r-project.org/ and having browsed to the sources or the binary version that is the right one

[R] Stopping the process after a certain time

2004-05-24 Thread Andrew Robinson
Greetings R-community, I'm running simulations within R that I wrote in C. The simulations require fitting that occasionally fails to finish. I was wondering if there is any kind of tool for process control in R, such that after e.g. 15 minutes I could kill the process, record the state for

Re: [R] Month names

2004-05-24 Thread Roger D. Peng
How about `month.name'? -roger BXC (Bendix Carstensen) wrote: This is how I get the month names from within R: mon - rep(strptime(01/01/1952, format = %d/%m/%Y), 12) mon$mon - mon$mon + 0:11 mnam - months(mon, abbreviate = F) mnam [1] januarfebruar marts april maj juni juli

[R] Metafiiles into Word R 1.9.0

2004-05-24 Thread Jesus Frias
Dear R-helpers, I recently upgraded to R 1.9.0 in my computer at work and at home: 1.-The computer at home has Windows XP and Office XP and it seems to work perfectly and I copy-paste graphics perfectly. 2.-The computer at work has Microsoft Windows 2000 (5.00.2195

Re: [R] Month names

2004-05-24 Thread Martin Maechler
Roger == Roger D Peng [EMAIL PROTECTED] on Mon, 24 May 2004 10:38:09 -0400 writes: Roger How about `month.name'? English only. Note that he got the names in Danish (I think) Martin Roger BXC (Bendix Carstensen) wrote: This is how I get the month names from within R:

[R] RMySQL problem

2004-05-24 Thread Ernesto Jardim
Hi, I'm using R 1.9.0 with RMySQL 0.5-4 and MySQL 3.23.55 on a suse 8.2 box. I have a simulation study and (as usual for newbies in simulation, I guess) I have a lot of data that I want to store in MySQL. I want to write an R script that reads data from RData files and writes it to a MySQL

Re: [R] RPM post-install scripts to update R

2004-05-24 Thread Peter Dalgaard
chris albert [EMAIL PROTECTED] writes: Hi, Paul Johnson asked: While I'm on the RPM subject, can I ask an R RPM packaging question? I want the R RPM to install so that post install then R starts and runs update.packages() as well as

Re: [R] Re: Windows versus Unix packages in CRAN ...

2004-05-24 Thread Thomas Lumley
On Mon, 24 May 2004, Peter Dalgaard wrote: Whereas we cannot reasonably require people to test code on platforms that they haven't got, we can and should require them to adhere to reasonable standards and test procedures (which, mind you, other people have invested a serious amount of time in

Re: [R] Stopping the process after a certain time

2004-05-24 Thread Thomas Lumley
On Mon, 24 May 2004, Andrew Robinson wrote: Greetings R-community, I'm running simulations within R that I wrote in C. The simulations require fitting that occasionally fails to finish. I was wondering if there is any kind of tool for process control in R, such that after e.g. 15 minutes

Re: [R] Month names

2004-05-24 Thread Peter Dalgaard
Martin Maechler [EMAIL PROTECTED] writes: Roger == Roger D Peng [EMAIL PROTECTED] on Mon, 24 May 2004 10:38:09 -0400 writes: Roger How about `month.name'? English only. Note that he got the names in Danish (I think) Martin Yep. Notice, however, that even with Brian's

Re: [R] as.matrix.data.frame() in R 1.9.0 converts to character when it should (?) convert to numeric

2004-05-24 Thread Prof Brian Ripley
I don't think a POSIXt element *is* numeric (that's a basic atomic vector), so the new behaviour seems right to me. The Warning is wrong, though, and will be fixed. On Mon, 24 May 2004, Don MacQueen wrote: Conversion of a data frame to a matrix using as.matrix() when a column of the data

Re: [R] R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names

2004-05-24 Thread Michael A. Miller
Peter == Peter Dalgaard [EMAIL PROTECTED] writes: Gah! I could swear we discussed that particular issue leading up to 1.9.x and had plans for a compatibility option. You might file a bug report at least for the docs, since the example is clearly wrong... Done. I

Re: [R] Stopping the process after a certain time

2004-05-24 Thread Andrew Robinson
Thomas, that's very interesting - thanks! That will be helpful. Andrew On Mon, 24 May 2004, Thomas Lumley wrote: On Mon, 24 May 2004, Andrew Robinson wrote: Greetings R-community, I'm running simulations within R that I wrote in C. The simulations require fitting that occasionally

Re: [R] Month names

2004-05-24 Thread Prof Brian Ripley
As far as I know the original solution uses the current locale, and mine is just a much-simplified version of the same underlying call. On 24 May 2004, Peter Dalgaard wrote: Martin Maechler [EMAIL PROTECTED] writes: Roger == Roger D Peng [EMAIL PROTECTED] on Mon, 24 May 2004

Re: [R] Mac OS X jpg

2004-05-24 Thread Prof Brian Ripley
I think the message is very clear. Try ?BATCH Using 'R CMD BATCH' sets the GUI to 'none', so none of 'x11', 'jpeg' and 'png' are available. and ?jpeg R can be compiled without support for either or both of these devices: this will be reported if you attempt to use them on a

Re: [R] Cannot call R's ISNAN() from a C code in 1.7 versions.

2004-05-24 Thread Prof Brian Ripley
On Mon, 24 May 2004, Paul Y. Peng wrote: Prof Brian Ripley wrote: First, there are no versions 1.7, 1.8 and 1.9. Sorry for my misuse of the version numbers. Was your version of R compiled against MSVC++ 6.0? The binary on CRAN was not, and binaries for different versions of R were

[R] adress the current index

2004-05-24 Thread Mag. Ferri Leberl
How can I adress the current index of a vector? I want to work with time series and therefore give the n-th element of a vector some value dependent on the value of the n-1th element. Thank you in advance. __ [EMAIL PROTECTED] mailing list

[R] what does numeric mean? {was ... as.matrix.data.frame() ...}

2004-05-24 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Mon, 24 May 2004 17:02:21 +0100 (BST) writes: BDR I don't think a POSIXt element *is* numeric (that's a BDR basic atomic vector), well, yes, in some strict sense, but at least is.atomic( ISOdatetime(2003,1,1:3,0,0,0)) [1] TRUE

[R] barplot

2004-05-24 Thread Carlos Guevel
I´ve tried version 1.9.0 barplot with these (and others) example from the help page: tN - table(Ni - rpois(100, lambda=5)) r - barplot(tN, col='gray') I get : ...OLE_Obj... Same example with version 1.8.1 gives the following result: ...OLE_Obj... What is wrong with v.1.9.0? Thanks,

[R] identify() in script

2004-05-24 Thread Diogo FC Patrao
hallo, I want a script of mine to run identify(), and possibly switch to interactive mode at some point. Is it possible? Thanks in advance __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Applications of the Distance from a Point to a Curve

2004-05-24 Thread Dimas Martnez Morera
I would like to know if anyone knows about (real) situations where it is necessary to compute the euclidean distance from a point to a curve (or even the point where it is reached), you may not assume that the point is very close to the curve (unlike the usual fitting problems). I have special

Re: [R] barplot

2004-05-24 Thread Sundar Dorai-Raj
Carlos Guevel wrote: I´ve tried version 1.9.0 barplot with these (and others) example from the help page: tN - table(Ni - rpois(100, lambda=5)) r - barplot(tN, col='gray') I get : ...OLE_Obj... Same example with version 1.8.1 gives the following result: ...OLE_Obj... What is wrong with

Re: [R] Tramo-seats

2004-05-24 Thread Paul Bivand
On Monday 24 May 2004 11:00, [EMAIL PROTECTED] wrote: Working - among other things- in the field of (short long term) electricity forecast, we are now using too many too expensive pieces of licensed software: SAS, SPSS, EViews. This sedimentation is due to the fact that my predecessors in

Re: [R] installing R on Fedora Core 2 test 2

2004-05-24 Thread Ulises Mora Alvarez
Hello: Please give more info, how did you proceed?, when you install/upgrade Fedora what kind on instalation did you made? A few days ago I upgrade my computer from FC-1 to FC-2 (workstation). After that, I install the binaries (from CRAN) and everything went just fine. On Mon, 24 May 2004,

[R] Seasonal ARIMA question - stat package (formerly ts)

2004-05-24 Thread Keith Campbell
To whom it may concern: I am trying to better understand the functionality of 'R' when making arima predictions to avoid any Black Box disadvantages. I'm fitting a seasonal arima model using the following command (having already loaded 'stat' package). arimaSeason -

Re: [R] Metafiiles into Word R 1.9.0

2004-05-24 Thread Jason Turner
2.-The computer at work has Microsoft Windows 2000 (5.00.2195 Service Pack 2) and Word 2000 (9.0.4402 SR-1) I cannot copy-paste windows metafiles into Office applications in my computer at work. The resulting object is empty. Is it genuinely empty, or can you see the graphs in print

Re: [R] installing R on Fedora Core 2 test 2

2004-05-24 Thread Benjamin Yakir
Dear Prof Ripley Thank you very much. Half the night is over but running the patch worked. Benny On Tue, 2004-05-25 at 00:02, Prof Brian Ripley wrote: What was the failure? For the sources, there is a bug in the X11 headers it ships. Please use the R-patched tarball from

[R] Re: identify() in script

2004-05-24 Thread Diogo FC Patrao
On Mon, 2004-05-24 at 19:43, Diogo FC Patrao wrote: On Mon, 2004-05-24 at 17:17, Diogo FC Patrao wrote: hallo, I want a script of mine to run identify(), and possibly switch to interactive mode at some point. Is it possible? Thanks in advance I think I didn`t explained my point

[R] yeardays

2004-05-24 Thread Steve Su
Dear All, Is there a R (Windows) equivalent of yeardays in Splus 6.0 for Windows? I am using XP. ** Steve Su ([EMAIL PROTECTED]) PhD student. School of Accountancy Queensland University of Technology

Re: [R] Re: Windows versus Unix packages in CRAN ...

2004-05-24 Thread Duncan Murdoch
On 24 May 2004 17:18:52 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote: Duncan Murdoch [EMAIL PROTECTED] writes: On Fri, 21 May 2004 15:41:18 +0200, Tamas Papp [EMAIL PROTECTED] wrote: You are probably right in saying that they _could_ have done better, but I would not use should in this

[R] loess

2004-05-24 Thread Rupen Shrestha
Hi, When I was running the function loess(y~x, span=0.0020), I got a warning message k-d tree limited by memory. ncmax= 4231 Does that mean the function has not been computed correctly ? If it has not, is there any way to adjust it so that it will do correctly ? Thanks. Rupen.

[R] Scheire-Ray-Hare extension to Kruskal-Wallis

2004-05-24 Thread Sarah Skikne
Hi, I was wondering if it was possible to do the Scheirer-Ray-Hare extension of the Kruskal-Wallis test using R, or if it was possible to use some other non-parametric test for the following situation: I have continuous data that is grouped by 2 factor variables. I would like a

[R] e1071, R1.9.0, Solaris 2.9, should I be worried?

2004-05-24 Thread Richard A. O'Keefe
In R 1.9.0 running under Solaris 2.9 on a SunBlade 100, with Sun WorkShop 6 update 2 C++ 5.3 2001/05/15 as the C++ compiler, I just did install.packages(e1071) The output includes these lines, which I have wrapped to fit nicely in mail: ** libs cc -I/users/local/lib/R/include -I/usr/local/include