RE: [R] determinant via Lapack

2004-04-24 Thread Liaw, Andy
This is not an R question, is it? You'd do better by consulting the Lapack manual. Googling around turns up http://www.ma.utexas.edu/documentation/lapack/node134.html, which I think is enough for you. Andy > From: Kosuke Imai > > Hi, > What Lapack routine(s) should I use to calculate the >

[R] RE: [Rd] a simple suggestion for the next version of R windows

2004-04-24 Thread Tao Shi
Hi, Andy: Thanks! I think it also depends on people's working hobby. What you suggested is a good way around it. But I'm still thinking since the R window already has the big blue R logo to identify itself, the word "R console" is really redundant and could be replaced by something more info

[R] a simple suggestion for the next version of R windows

2004-04-24 Thread Tao Shi
Is it possible to replace the word "R Console" on the title bar (is it what it's called? It's the blue area above menu bar) with the name of the work space file you're using or loaded, so people who are runing multple R sessions at same time can identify them immediately. I'm using 1.9.0 in SDI

dd [Was: Re: [R] Selection of cities sample]

2004-04-24 Thread Matej Cepl
On Friday 23 of April 2004 04:37, Matej Cepl wrote: > I have a question, how to most properly select set of cities > which would be as similar as possible in some particular > variables with the City of Boston (which I use as my base > line). Hi, how to weigh variables used in daisy function?

Re: [R] Error with 1.9.0 - Invalid HOMEDRIVE

2004-04-24 Thread Duncan Murdoch
On Tue, 20 Apr 2004 11:41:26 -0400, "Joann Williamson" <[EMAIL PROTECTED]> wrote: > "Fatal Error: Invalid HOMEDRIVE". I've now put two fixes in place for this. In r-patched (that will probably become 1.9.1), I've just put in a workaround so that R will start even when Windows isn't supplying HOM

Re: [R] Changing Gui preferences

2004-04-24 Thread Murray Jorgensen
Hi Henrik, thanks for this. My error had been in not accepting the location "C:\" suggested by R for Rconsole. It seems that my R_USER was indeed C: so I was rejecting the correct place for Rconsole: > Sys.getenv("R_USER") R_USER "C:" Cheers, Murray\ Henrik Bengtsson wrote: Hi, a quick reply

[R] determinant via Lapack

2004-04-24 Thread Kosuke Imai
Hi, What Lapack routine(s) should I use to calculate the determinant of a symmetric matrix of real numbers? I would appreciate any guidance on this issue. Thanks, Kosuke - Kosuke Imai Office: Corwin Hall 041 Assistant Professo

[R] Colour coding and point types in a plot

2004-04-24 Thread Mihai Nica
R 1.8.1, Windows 2000. I am trying to find the "legend" for color coding and point types in a plot, which probably are standard for everybody but myself. Thanks for the tip! Mihai Nica Jackson State University "No good deed will ever remain unpunished" [[alternative HTML version deleted

Re: [R] Moving window regressions - how can I improve this code?

2004-04-24 Thread Douglas Bates
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > Douglas Bates produced an extremely useful post so I hesitate to > add more but here goes anyways. > > 1. The bug I referred to in my previous post is still in the code. > The last data point in women never gets used. I think this > goes beyon

Re: [R] Modalwert

2004-04-24 Thread Jonathan Baron
On 04/24/04 19:03, Sonja Dornieden wrote: >Hai - >kann mir jemand sagen, wie ich den Modalwert in R berechne?! IRgendwie finde >ich den Befehl nicht Veilleicht which.max() -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~b

[R] Modalwert

2004-04-24 Thread Sonja Dornieden
Hai - kann mir jemand sagen, wie ich den Modalwert in R berechne?! IRgendwie finde ich den Befehl nicht greetz und herzlichen Dank Sonja __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

Re: [R] Moving window regressions - how can I improve this code?

2004-04-24 Thread Gabor Grothendieck
Douglas Bates produced an extremely useful post so I hesitate to add more but here goes anyways. 1. The bug I referred to in my previous post is still in the code. The last data point in women never gets used. I think this goes beyond just making a simple error but gets to the point of how t

Re: [R] Moving window regressions - how can I improve this code?

2004-04-24 Thread Douglas Bates
Ajay Shah <[EMAIL PROTECTED]> writes: > I wrote a function which does "moving window" regressions. E.g. if > there are 100 observations and the window width is 50, then I first > run the regression for observations 1..50, then for 2..51, and so on. > > I am extremely pleased with R in my experien

Re: [R] Changing Gui preferences

2004-04-24 Thread Prof Brian Ripley
This *is* in the rw-FAQ. This answer is correct on Win 98, but not on WinXP (when the latter is not broken by a hotfix patch). On Sat, 24 Apr 2004, Bernardo Rangel Tura wrote: > At 06:05 24/04/2004, you wrote: > > >I'm not sure how to find 'HOME' but I presume that it is the path that appears

Re: [R] Changing Gui preferences

2004-04-24 Thread Bernardo Rangel Tura
At 06:05 24/04/2004, you wrote: >I'm not sure how to find 'HOME' but I presume that it is the path that appears in the >'Change directory' box when you open this through the gui. In which case for me >'HOME' is > >C:\apps\R\rw1090 > >Now I have 3 versions of Rconsole near here. They are in > >C:

Re: [R] Data import, going from 8 to 550 columns

2004-04-24 Thread Prof Brian Ripley
You cannot use read.table() to read multi-line records as here. Why? It is not a table? You can use scan() to do this. On Sat, 24 Apr 2004, CG Pettersson wrote: > Hello all! > > I need to import a NIR dataset into R. It should be quite trivial, but > I > can´t make it work. (No problems with

RE: [R] Changing Gui preferences

2004-04-24 Thread Henrik Bengtsson
Hi, a quick reply to help troubleshoot. The below (is "minimal" and) works on both R v1.8.1 and R v1.9.0 on WinXP Pro: >From http://www.maths.lth.se/help/R/Rgui/: "By default all plot windows (The "Figure 2" etc windows) opened in Rgui are placed within the Rgui frame. Some people prefer this oth

[R] Data import, going from 8 to 550 columns

2004-04-24 Thread CG Pettersson
Hello all! I need to import a NIR dataset into R. It should be quite trivial, but I can´t make it work. (No problems with the text in the beginning, as # is recognised by read.table as the comment sign.) The thing I can´t get around is the that ends every line after column eight as the line in

[R] anova(my.lme.model, type="marginal") in Pinheiro and Bates

2004-04-24 Thread Federico Calboli
Dear All, I was recently discussing the use of anova(my.lme.model, type="marginal") with a colleague. I would like to find where the subject is discussed in Pinheiro and Bates 2000. I like the book because it is clear and accessible even for people with limited formal training in Math and Stats

Re: [R] tutorial for lme

2004-04-24 Thread Federico Calboli
> In particular, I have some difficulties to understand how specifications > for random effects and variance structures > could be specified. > I had similar problems myself... until a reply from Douglas Bates to one of my posts, wich clarified me how to specify the random effects. You should be a

Re: [R] Changing Gui preferences

2004-04-24 Thread Murray Jorgensen
Prof Brian Ripley wrote: On Sat, 24 Apr 2004, Murray Jorgensen wrote: I want to modify my Gui preferences to get rid of the MDI toolbar and status bar. [ Under Windows XP and R 1.8.1 and 1.9.0.] When I uncheck the boxes and click "apply" I am told to save the preferences and the changes will

Re: [R] time zones in POSIXt

2004-04-24 Thread Gabor Grothendieck
Prof Brian Ripley stats.ox.ac.uk> writes: : > However when I replace POSIXct by POSIXlt it breaks (this looks like a : > bug to me): : > : > > as.POSIXlt("2000-05-10 10:15:00", tz="PST8PDT") - : > as.POSIXlt("2000-05-10 10:15:00", tz="GMT") : > Time difference of 0 secs : : No, it's not a bug

Re: [R] Changing Gui preferences

2004-04-24 Thread Prof Brian Ripley
On Sat, 24 Apr 2004, Murray Jorgensen wrote: > I want to modify my Gui preferences to get rid of the MDI toolbar and > status bar. [ Under Windows XP and R 1.8.1 and 1.9.0.] > > When I uncheck the boxes and click "apply" I am told to save the > preferences and the changes will take effect when