RE: [R] Protocol for answering basic questions

2004-12-04 Thread Ross Clement
I'm a recent subscriber to the list. I was very impressed by the quality of people subscribing to the list, including the authors of all the books on R thateither I own or are present in my local uni library. However, I was astonished by the volume of messages. I have set up a folder for R

Re: [R] Label data points in scatterplot matrices

2004-12-04 Thread Uwe Ligges
Tom Mulholland wrote: This does job, but it reveals that I don't really understand panels. What I would like to know is how do you get the same result but without the warnings. This is essentially taken from the ?pairs help. data(USJudgeRatings) # There are 43 observations in this data.frame z

Re: [R] How to wrap or split labels on plot

2004-12-04 Thread Uwe Ligges
Marc Schwartz wrote: On Fri, 2004-12-03 at 15:00 -0500, Heather J. Branton wrote: Dear R gurus, I want to wrap labels that are too long for a plot. I have looked at strsplit(), substr(), nchar(), and strwrap(). I think it's some combination but I'm having difficulty trying to figure out the

Re: [R] Odd underflow(?) error

2004-12-04 Thread Martin Maechler
TL == Thomas Lumley [EMAIL PROTECTED] on Fri, 3 Dec 2004 15:22:07 -0800 (PST) writes: TL On Fri, 3 Dec 2004, William Faulk wrote: I'm still trying to install R on my Irix machine. Now I have a new problem that crops up during the checks. I've found the root cause, and it's

Re: [R] How about a mascot for R?

2004-12-04 Thread Martin Maechler
DScottNZ == David Scott [EMAIL PROTECTED] on Fri, 3 Dec 2004 15:04:52 +1300 (NZDT) writes: DScottNZ As to an animal mascot, I think a New Zealand DScottNZ mascot is a must, well, thinking that must is bit strong, I agree that I have had the same idea (NZ

[R] Excel *.xls files, RODBC

2004-12-04 Thread Rolf Turner
I gather from reading the back-issues of r-help that it should be possible (modulo a number of caveats) to read an excel (yuck!) file into R using RODBC. I have obtained and installed ODBC and the RODBC package, but cannot for the life of me figure out how to go about it. Can anyone give me a

Re: [R] A possible way to reduce basic questions

2004-12-04 Thread Anne
What about starting a database? I know it is a lot of work but one of the difficulties one encounter with R is taht i can be diffcult to know where to look for answers...I do agree that a basic list will tend to be a write only list! (and I take the opportunity here tp thank all of you for your

RE: [R] Getting R to emit an image file as a pipe or Base64 stream: Mac OSX 10.3 - R 2.0.1

2004-12-04 Thread Thuan-Jin Kee
That's right, Thanks for your replies. The reason why I started X11.app first is because Mac OS 10.3.5 doesn't launch X on startup, and instead uses its own Aqua/Quartz gui to render most windows until you specifically ask for X. The issue we're looking at is how to get R to emit the file as

Re: [R] How about a mascot for R?

2004-12-04 Thread Christian Schulz
hi, some weka guys use kea (..with the same intenion to the bird in nz!) for a automatic keyphrase extraction tool (java). http://www.nzdl.org/Kea/ regards, christian Martin Maechler wrote: DScottNZ == David Scott [EMAIL PROTECTED] on Fri, 3 Dec 2004 15:04:52 +1300 (NZDT) writes:

Re: [R] Getting R to emit an image file as a pipe or Base64 stream: Mac OSX 10.3 - R 2.0.1

2004-12-04 Thread Peter Dalgaard
Thuan-Jin Kee [EMAIL PROTECTED] writes: That's right, Thanks for your replies. The reason why I started X11.app first is because Mac OS 10.3.5 doesn't launch X on startup, and instead uses its own Aqua/Quartz gui to render most windows until you specifically ask for X. The issue we're

Re: [R] Excel *.xls files, RODBC

2004-12-04 Thread Dieter Menne
library(RODBC) z - odbcConnectExcel(c:/myfolder/mydata.xls) myframe - sqlFetch(z, Sheet1) close(z) I found the reading of whole sheets somewhat unsafe, so I always create a named range (here: data) including header and do the following. Never had problems with this. channel =

Re: [R] Re: Protocol for answering basic questions

2004-12-04 Thread Tony Plate
Perhaps something like the following paragraph should be added to the start of the Posting Guide (as a new paragraph right after the existing first paragraph): Note that R-help is *not* intended for questions that are easily answered by consulting one of the FAQs or other introductory material

Re: [R] Excel *.xls files, RODBC

2004-12-04 Thread Rolf Turner
Chuck Cleland wrote: The following works for me under WinXP Pro to create myframe as a data frame: library(RODBC) z - odbcConnectExcel(c:/myfolder/mydata.xls) myframe - sqlFetch(z, Sheet1) close(z) I tried that and got the error message: Error: couldn't find function odbcConnectExcel

Re: [R] How about a mascot for R?

2004-12-04 Thread Douglas Grove
When I think of New Zealand I think Rabbit :) How 'bout something like the Monty Python rabbit from the Holy Grail (nasty pointy teeth..., look at the bones!) Doug __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Excel *.xls files, RODBC

2004-12-04 Thread Rajarshi Guha
On Sat, 2004-12-04 at 14:32 -0400, Rolf Turner wrote: Chuck Cleland wrote: The following works for me under WinXP Pro to create myframe as a data frame: library(RODBC) z - odbcConnectExcel(c:/myfolder/mydata.xls) myframe - sqlFetch(z, Sheet1) close(z) It would appear then,

Re: [R] Excel *.xls files, RODBC

2004-12-04 Thread Tobias Verbeke
On Sat, 4 Dec 2004 14:32:24 -0400 (AST) Rolf Turner [EMAIL PROTECTED] wrote: Chuck Cleland wrote: The following works for me under WinXP Pro to create myframe as a data frame: library(RODBC) z - odbcConnectExcel(c:/myfolder/mydata.xls) myframe - sqlFetch(z, Sheet1) close(z)

Re: [R] Excel *.xls files, RODBC

2004-12-04 Thread Rolf Turner
Success! Tobias Verbeke's kind suggestion of read.xls from the gdata package (from the gregmisc bundle) works like a charm. It's perl based, so no problema on Linux. The R community is wonderful! cheers,

Re[2]: [R] How about a mascot for R?

2004-12-04 Thread Ruud H. Koning
Hello, I have a dataset with three numerical variables, and two factor variables, one of which is shown: deel1[,1:4] median ucl lcl coupon.period 1 10.894672NA 14.255623 fixed0-1 5 12.536729 11.658164 13.341038 fixed1-5 9 10.616561 9.979676 11.039264

[R] lattice graph with segments (erroneously posted earlier)

2004-12-04 Thread Ruud H. Koning
Hello, I have a dataset with three numerical variables, and two factor variables, one of which is shown: deel1[,1:4] median ucl lcl coupon.period 1 10.894672NA 14.255623 fixed0-1 5 12.536729 11.658164 13.341038 fixed1-5 9 10.616561 9.979676 11.039264

Re: [R] How about a mascot for R?

2004-12-04 Thread Andrew Robinson
Ruud, try something like the following (not debugged, no coffee yet): xyplot(coupon.period ~ median, data=prepayment, subscripts=T, panel=function(x,y,subscripts,...){ panel.xyplot(x,y) panel.segments(deel1$lcl[subscripts], deel$ucl[subscripts]) } ) I hope that this helps,

[R] D-V-D-Moviez for d-o-w-n-l-o-a-d-i-n-g

2004-12-04 Thread roualland
http://24.130.27.91:8180/dvp/ 9492 741 12746 842 103420 8005 731 32937 864 375550 1444 547 07897 844 268552 2486 852 31255 690 170959 Leave me alone! http://24.130.27.91:8180/dvp/[EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list

Re: [R] Lattice graph with segments

2004-12-04 Thread Tim Churches
Andrew Robinson wrote: Ruud, try something like the following (not debugged, no coffee yet): xyplot(coupon.period ~ median, data=prepayment, subscripts=T, panel=function(x,y,subscripts,...){ panel.xyplot(x,y) panel.segments(deel1$lcl[subscripts], deel$ucl[subscripts]) } ) Andrew

[R] R plus SAS

2004-12-04 Thread Wensui Liu
Is it possible use SAS/DDE to communicate with R? Sorry for offending useR. ^_^ Thanks a lot. __ [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

Re: [R] Lattice graph with segments

2004-12-04 Thread Deepayan Sarkar
On Saturday 04 December 2004 14:40, Tim Churches wrote: Andrew Robinson wrote: Ruud, try something like the following (not debugged, no coffee yet): xyplot(coupon.period ~ median, data=prepayment, subscripts=T, panel=function(x,y,subscripts,...){ panel.xyplot(x,y)

[R] (sin asunto)

2004-12-04 Thread René Pineda
__ [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] Kalman Filtering

2004-12-04 Thread René Pineda
__ [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

RE: [R] Testing for S4 objects (redux)

2004-12-04 Thread John Fox
Dear John, I've encountered the following problem: x - rnorm(100) y - sample(2, 100, replace=TRUE) res - by(x, y, mean) res INDICES: 1 [1] 0.1129494 INDICES: 2 [1] -0.2066684 isS4object - function(object)(length(attr(object,

[R] What is the most useful way to detect nonlinearity in logistic regression?

2004-12-04 Thread Patrick Foley
It is easy to spot response nonlinearity in normal linear models using plot(something.lm). However plot(something.glm) produces artifactual peculiarities since the diagnostic residuals are constrained by the fact that y can only take values 0 or 1. What do R users find most useful in checking

Re: [R] How about a mascot for R?

2004-12-04 Thread Jari Oksanen
On 4 Dec 2004, at 16:19, Martin Maechler wrote: DScottNZ == David Scott [EMAIL PROTECTED] on Fri, 3 Dec 2004 15:04:52 +1300 (NZDT) writes: DScottNZ As to an animal mascot, I think a New Zealand DScottNZ mascot is a must, well, thinking that must is bit strong, I agree

Re: [R] Testing for S4 objects (redux)

2004-12-04 Thread Spencer Graves
Which version of R? I just replicated it in R 2.0.0patched. I know that 2.0.1 is now available, but I haven't found time to upgrade yet. By the way, I can replicate the error message with only one line: getClass(by) Error in getClass(by) : by is not a defined class

Re: [R] AIC, AICc, and K

2004-12-04 Thread Spencer Graves
I don't know the best way, but the following looks like it will work: tstDF - data.frame(x=1:3, y=c(1,1,2)) fit0 - lm(y~1, tstDF) fitDF - lm(y~x, tstDF) AIC(fitDF,fit0) df AIC fitDF 3 5.842516 fit0 2 8.001399 The function AIC with only 1 argument returns only a single

[R] boot package

2004-12-04 Thread Nathan Leon Pace, MD, MStat
Hi, I using the boot package 1.2-20 on R 2.0.1. My statistics function estimates 6 parameters. In a small percentage of resampled data sets my statistics function doesn't produce an estimate for one parameter and the boot function stops with an error. I can write an

Re: [R] What is the most useful way to detect nonlinearity in logistic regression?

2004-12-04 Thread Peter Dalgaard
Patrick Foley [EMAIL PROTECTED] writes: It is easy to spot response nonlinearity in normal linear models using plot(something.lm). However plot(something.glm) produces artifactual peculiarities since the diagnostic residuals are constrained by the fact that y can only take values 0 or 1.

Re: [R] A possible way to reduce basic questions

2004-12-04 Thread Jonathan Baron
On 12/02/04 21:15, Anne wrote: What about starting a database? Of what? Like the one in the last line of my .sig? -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/

RE: [R] Excel *.xls files, RODBC

2004-12-04 Thread Whit Armstrong
There is another way to read and write excel files using jakarta POI. Hopefully, I'll have a package available in a week or so. I have a working example of writing a matrix from R to excel, but I haven't finished the read excel portion of the code. If anyone wants to give it a spin, contact me

[R] Nice christmas presents! Men's Ladies' Watches. Gift Boxes.

2004-12-04 Thread red
http://24.130.27.91:8180/rl/ __ [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

RE: [R] Testing for S4 objects (redux)

2004-12-04 Thread John Fox
Dear Spencer, -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 8:00 PM To: John Fox Cc: 'John Chambers'; [EMAIL PROTECTED]; 'Martin Maechler' Subject: Re: [R] Testing for S4 objects (redux) Which version of R? Sorry

RE: [R] What is the most useful way to detect nonlinearity in logisticregression?

2004-12-04 Thread John Fox
Dear Patrick, Component+residual plots can be defined for generalized linear models (including logistic regression) as for linear models, but they may require smoothing for interpretation. See, e.g., the cr.plots() functions in the car package, which works with glm objects. I hope this helps,