Re: [R] Use of Second Monitor Question

2003-08-22 Thread Prof Brian Ripley
On Thu, 21 Aug 2003, Duncan Murdoch wrote: On Thu, 21 Aug 2003 17:55:34 -0400, kjetil brinchmann halvorsen wrote: On 21 Aug 2003 at 16:51, Uwe Ligges wrote: Slightly off-topic, but: we are about to buy a data show to put up permanent in an aula. All data shows I have seen use the monitor

Re: [R] graphic widow overwrite

2003-08-22 Thread Uwe Ligges
Andrew C. Ward wrote: You may prefer to use S-PLUS if it does precisely what you want. In R, you could use postscript() or pdf() to save all the graphs to a file and then view them at your leisure. There is always par(ask=TRUE) if you wanted to look at them on the screen. ... or you might want to

Re: [R] Reducing matrix dimension

2003-08-22 Thread Peter Dalgaard BSA
Thomas W Blackwell [EMAIL PROTECTED] writes: help(Subscript) Or, princomp or factanal, depending on what was meant... I have a 12(cols) by 9(rows) matrix X. I need to reduce this matrix so that it contains 'n' columns (eg. reduce X into a 3 by 9 matrix). What is the best method to do

Re: [R] Problems with addition in big POSIX dates

2003-08-22 Thread Prof Brian Ripley
This is simply a bug in the code that is supposed to work around these OS limitations: on some platforms mktime was resetting the wday during the computations to try to work on the timezone in force: using GMT works fine. unlist(unclass(as.POSIXlt(test.date+24*3600, GMT))) sec min hour

Re: [R] automatic logging of commands

2003-08-22 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Thu, 21 Aug 2003 20:36:24 +0100 (BST) writes: BDR On Thu, 21 Aug 2003, David R. Bickel wrote: The piping UNIX command that I just suggested is better than nothing, but writes backspaces or other invisible characters to the

[R] gam step in grasper

2003-08-22 Thread Martin Wegmann
hello, some weeks ago I asked if there is an equivalent of step(lm) for gam, and Simon Wood informed me that there isn't but it will eventually be done. Now I found grasp.step.gam {grasper} and wonder if it would be possible to rewrite/extract (? I don't now how it is called or how it works -

Re: [R] Re: Oja median

2003-08-22 Thread Roger Koenker
A report on my Oja Median problem: Gabor Grothendieck suggested replacing my loopy cofactor function with: cofactors2 - function(x) { x - t(rbind(1,cbind(x,1))) p - nrow(x) solve( x, (seq(p)==p)+0) * det(x) } Which is much better, especially if the dimension p is

Re: [R] a pickle (solved first part now need r's from data)

2003-08-22 Thread John Christie
On Friday, August 22, 2003, at 01:44 AM, John Christie wrote: I predicted that y would increase as x increased. However, I only made the prediction on the ranks of the scores. The ranks don't correlate with predicted. And, I don't think a regression on the ranks is warranted. However, the

Re: [R] bootstrapping nlme fits (was boot function)

2003-08-22 Thread Prof Brian Ripley
First, this has very little to do with boot: PLEASE use an infromative subject line. You need to work out how to resample in this situation: are you resampling subjects or observations? If you are resampling subjects, you need to create a data frame containing just the resampled subjects and

[R] means comparison with seasonal time series?

2003-08-22 Thread Douglas G. Scofield
Dear R list, I have a sequence of weekly observations of number of adults and larvae in various size classes from a butterfly population living in a subtropical area with pronounced wet and dry seasons. Wet and dry seasons are each defined 26 weeks long with fixed start and end dates. The data

Re: [R] bootstrapping nlme fits (was boot function)

2003-08-22 Thread Frank E Harrell Jr
On Fri, 22 Aug 2003 14:39:28 +0100 (BST) Prof Brian Ripley [EMAIL PROTECTED] wrote: First, this has very little to do with boot: PLEASE use an infromative subject line. You need to work out how to resample in this situation: are you resampling subjects or observations? If you are resampling

[R] problem compiling R in suse8.2

2003-08-22 Thread Ernesto Jardim
Hi I'm trying to compile R in SuSE 8.2 (updated with the gcc 3.3.1) but I'm getting the following error: /usr/X11R6/include/X11/keysymdef.h:1181:2: invalid preprocessing directive #d make[4]: *** [dataentry.lo] Error 1 make[4]: Leaving directory `/usr/local/src/compile/R-1.7.1/src/modules/X11'

Re: [R] Your help plz - (statistical problem)

2003-08-22 Thread Spencer Graves
Have you considered nls and / or optim? hope this helps. spencer graves K.V.ANANTHA PADMANABHA wrote: Hi David, Please help me out to resolve the following statistical problem. For the following data X Y 021.5 021.78 0.03 21.5 0.09 16.3 0.27 9.9 0.81

[R] MAIL DELIVERY NOTIFICATION

2003-08-22 Thread Mailer-Daemon
Dear Internet Email User, this is an automated mail delivery notification, because your email has not been delivered the usual way. Your mail was not deliverd for the following reason: Your mail contained an attachment with the filename extension pif Since such content may contain

Re: [R] bootstrapping nlme fits (was boot function)

2003-08-22 Thread kjetil brinchmann halvorsen
On 22 Aug 2003 at 10:18, Frank E Harrell Jr wrote: The following danish web page http://www.dina.dk/phd/s/s2/s2pr1.htm gives an example of bootstrapping nlme models. If what they are doing is vali, I don't know, I abstained from it since I do not understand it. Kjetil Halvorsen On Fri, 22

[R] Passwords for RODBC package

2003-08-22 Thread Bruce Moore
Is there a way to make the RODBC package prompt for a password on the odbcConnect(db,uid=user1) call? I'd prefer not to have to use the pwd= parameter as this is saved in .RHISTORY and .RDATA. Is there a convenient way to provide the password as a variable and have the variable automatically

Re: [R] Passwords for RODBC package

2003-08-22 Thread Prof Brian Ripley
Use odbcDriverConnect. On Fri, 22 Aug 2003, Bruce Moore wrote: Is there a way to make the RODBC package prompt for a password on the odbcConnect(db,uid=user1) call? I'd prefer not to have to use the pwd= parameter as this is saved in .RHISTORY and .RDATA. Is there a convenient way to

Re: [R] Problem running RTERM via SSH on Windows/2000

2003-08-22 Thread Prof Brian Ripley
This is the documented behaviour for R when used non-interactively. Presumably your `SSH' (probably really openssh) isn't using terminals for input and output. You might like to try rterm --ess, a kludge for a similar problem in NTemacs. Or try a different ssh (a real Windows one, not one

[R] Package Reference Manuals

2003-08-22 Thread Roger Koenker
Is it possible for the average user to generate the latex version of the table of contents page that appears in the Package Reference Manuals on the CRAN website? Or is this (yet another) a Viennese speciality? url:www.econ.uiuc.edu/~roger/my.htmlRoger Koenker email [EMAIL

Re: [R] means comparison with seasonal time series?

2003-08-22 Thread Thomas W Blackwell
Douglas - Your question is a bit beyond the scope of this list. It's really at a level appropriate for an advanced graduate student who is already doing a thesis in the area of time series data. Best thing is to see whether you can find some consulting help from a local statistics department.

[R] Altix IA-64 chip

2003-08-22 Thread Isaac Neuhaus
We have a loan SGI Altix system runing linux with the IA-64 chip. I was wondering if anybody has compiled R in such a system. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Substitute in legend

2003-08-22 Thread partha_bagchi
I tried to use substitute in legend as follows: pval - 0.04 plot(0) legend(1,0.5,substitute(hat(theta) == p, list(p = pval))) For some reason the legend is repeated 3 times. Any suggestions or is this a bug? __ [EMAIL PROTECTED] mailing list

[R] advise for modeling a linear mixed model

2003-08-22 Thread Frank Mattes
Dear R help-list reader, I'm trying to investigate my data with linear mixed model and are seeking advise how to write the model in R. I was trying to get hold of the recommended book from Bates et al, but neither the major bookshop nor our university library had the book. My data is

[R] Thank you

2003-08-22 Thread governor
Thank you for your email. I appreciate you taking the time to keep me informed of your opinions and the issues that are important to you. Your comments help keep me informed as we strive to make California a better place in which to work and live. Your email has been directed to members of my

Re: [R] bootstrapping nlme fits (was boot function)

2003-08-22 Thread Frank E Harrell Jr
On Fri, 22 Aug 2003 12:36:28 -0400 kjetil brinchmann halvorsen [EMAIL PROTECTED] wrote: On 22 Aug 2003 at 10:18, Frank E Harrell Jr wrote: The following danish web page http://www.dina.dk/phd/s/s2/s2pr1.htm gives an example of bootstrapping nlme models. If what they are doing is vali,

Re: [R] Altix IA-64 chip

2003-08-22 Thread Peter Dalgaard BSA
Isaac Neuhaus [EMAIL PROTECTED] writes: We have a loan SGI Altix system runing linux with the IA-64 chip. I was wondering if anybody has compiled R in such a system. Seems so...: http://buildd.debian.org/fetch.php?pkg=r-basever=1.7.1.cvs.20030814-1arch=ia64stamp=1060920704file=logas=raw --

Re: [R] Substitute in legend

2003-08-22 Thread Peter Dalgaard BSA
[EMAIL PROTECTED] writes: I tried to use substitute in legend as follows: pval - 0.04 plot(0) legend(1,0.5,substitute(hat(theta) == p, list(p = pval))) For some reason the legend is repeated 3 times. Any suggestions or is this a bug? It's a bug. The code is looking at

Re: [R] Package Reference Manuals

2003-08-22 Thread Roger Koenker
It seems that I can get (almost) what I want using the utility R CMD Rd2dvi packagename url:www.econ.uiuc.edu/~roger/my.htmlRoger Koenker email [EMAIL PROTECTED] Department of Economics vox:217-333-4558University of

Re: [R] Substitute in legend

2003-08-22 Thread Deepayan Sarkar
On Friday 22 August 2003 16:35, Peter Dalgaard BSA wrote: [EMAIL PROTECTED] writes: I tried to use substitute in legend as follows: pval - 0.04 plot(0) legend(1,0.5,substitute(hat(theta) == p, list(p = pval))) For some reason the legend is repeated 3 times. Any suggestions or is

Re: [R] Substitute in legend

2003-08-22 Thread Peter Dalgaard BSA
Deepayan Sarkar [EMAIL PROTECTED] writes: legend(1,0.5,as.expression(substitute(hat(theta) == p, list(p = pval Just out of curiosity: ?legend says legend: a vector of text values or an 'expression' of length = 1 to appear in the legend. Is an object of mode call

Re: [R] problem compiling R in suse8.2

2003-08-22 Thread Jason Turner
Ernesto Jardim wrote: Hi I'm trying to compile R in SuSE 8.2 (updated with the gcc 3.3.1) but I'm getting the following error: Works fine on my SuSE 8.2 box. [EMAIL PROTECTED]:~/ gcc -vgcc -v ... gcc version 3.3 20030226 (prerelease) (SuSE Linux) [EMAIL PROTECTED]:~ uname -a Linux kryten

Re: [R] Substitute in legend

2003-08-22 Thread Thomas Lumley
On Fri, 22 Aug 2003, Deepayan Sarkar wrote: Just out of curiosity: ?legend says legend: a vector of text values or an 'expression' of length = 1 to appear in the legend. Is an object of mode call either ? (is.expression() returns FALSE.) Are they expected to work wherever

Re: [R] converting factor to numeric

2003-08-22 Thread kjetil brinchmann halvorsen
On 21 Aug 2003 at 20:40, kjetil brinchmann halvorsen wrote: After some private responses I did what I should have done at beginning, opened S Programming at page 15. It is much clearer than the FAQ, which I think is slighly misleading. Kjetil Halvorsen Hola! The R FAQ says: 7.12 How