Re: [R] Installing rgl in R2.0.1

2004-11-22 Thread Prof Brian Ripley
On Sun, 21 Nov 2004, Duncan Murdoch wrote: On Mon, 22 Nov 2004 13:10:59 +1300 (NZDT), Richard A. O'Keefe [EMAIL PROTECTED] wrote: I'm running R2.0.1 under Solaris 2.9 on a SunBlade 100. When I installed it, I set things up to use the Sun compilers cc, CC, f95 with the options recommended in the

Re: [R] How to change the significant codes default?

2004-11-22 Thread Shigeru Mase
Dear Uwe, Ted and Gabor. Thanks for your quick and kind informations. The suggestion of Gabor combined with that of Ted works fine. Of course, I myself would not like to change R's significant codes default, but I could get a deeper insight of R language mechanism.

Re: [R] Running R from CD?

2004-11-22 Thread Jari Oksanen
On Mon, 2004-11-22 at 02:41, bogdan romocea wrote: Better install and run R from a USB flash drive. This will save you the trouble of re-writing the CD as you upgrade and install new packages. Also, you can simply copy the R installation on your work computer (no install rights needed); R will

Re: [R] Restore sources

2004-11-22 Thread Petr Pikal
Hi Well I did not see any reply to your question (which does not surprise me as you broke almost all rules from posting guide). The answer partly depands on OS you use but your commands are probably stored in .Rhistory. You can view it by some text editor (Notepad?). I recommend you to spend

[R] simulation of Gumbel copulas

2004-11-22 Thread Erin Hodgess
Dear R: Is there a function or a reference to simulate Gumbel copulas, please? Thanks in advance! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] R version 2.0.1 windows __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] How to change the significant codes default?

2004-11-22 Thread Ted Harding
On 22-Nov-04 Shigeru Mase wrote: Dear Uwe, Ted and Gabor. Thanks for your quick and kind informations. The suggestion of Gabor combined with that of Ted works fine. Of course, I myself would not like to change R's significant codes default, but I could get a deeper insight of R language

[R] Danish characters i R2.0.1 vs R1.9.1 under winXP

2004-11-22 Thread Ladelund, Steen
Hi all. After upgrading to R2.0.1 i get æ [1] æ ø [1] \370 å [1] å Whereas under R1.9.1 i get æ [1] æ ø [1] ø å [1] å Any hints apreciated. Steen Steen Ladelund, statistician +4543233275 stelad01.FUNNYAglostruphospDOTkbhamt.dk Research Center for Prevention and Health Glostrup

[R] Rcmdr - doItAndPrint - summary method of S4-class object not in Rcmdr window but R Console

2004-11-22 Thread Pfaff, Bernhard
Dear list member, John Fox proposed to me posting this problem to R-Help: I have written a function suited for Rcmdr and included this in a R-file located in Rcmdr/etc as well as an augmented `Rcmdr-menus.txt'. Now, I am faced with the following problem: method show() of a S4-class object works

Re: [R] Danish characters i R2.0.1 vs R1.9.1 under winXP

2004-11-22 Thread Prof Brian Ripley
The problem is in your OS, which thinks the character \370 is not printable in your locale. Apparently this is a WinXP problem, for it also thinks \366 is not printable in German (and other versions of Windows thinks it is). (Uwe Ligges pointed that out a few hours ago.) R 1.9.1 did not check,

Re: [R] Rcmdr - doItAndPrint - summary method of S4-class object not in Rcmdr window but R Console

2004-11-22 Thread Prof Brian Ripley
The FAQ Q8.1 does recommend that summary() methods do not print themselves but returned a classed object to be printed. What doItAndPrint does is to capture the result of an explicit print, so it will only work for summary methods that follow that recommendation. I do think doItAndPrint should

[R] Left justification af dimnames in tables.

2004-11-22 Thread Ladelund, Steen
Hi helpeRs. When I do two-ways tables dimnames in columns are almost left-adjusted: - factor(rbinom(30,1,.3),labels=c(first,second)) b - a table(a,b) b afirst second first 21 0 second 0 9 If I do a oneway table however, dimnames are right-adjusted:

[R] RWinEdt, other text editors and R2.01 a problem in pasting commands

2004-11-22 Thread giovanna jona lasinio
Dear All, In the last few days I started using the last version of R as I encountered a problem with R1.9 and the use of RWinEdt, however the problem shows with R2.01 as well. More precisely 1. I install R2.01 after removing old verions of R 2. I Install RWinEdt package versione RWinEdt_1.6-2 and

[R] Questions of Significance Analysis of Microarrays(SAM){siggenes}

2004-11-22 Thread pcscan
Dear All: Significance Analysis of Microarrays(SAM) As we know sam do multiple t.test as following ## Default S3 method: t.test(x, y = NULL, alternative = c(two.sided, less, greater),mu = 0, paired = FALSE, var.equal = FALSE,conf.level = 0.95, ...) var.equal: a logical variable indicating

Re: [R] Questions of Significance Analysis of Microarrays(SAM){siggenes}

2004-11-22 Thread Prof Brian Ripley
Please ask questions about Bioconductor packages of the authors or on the Bioconductor list. In this case, only the author can tell you why he did not do something. On Mon, 22 Nov 2004, pcscan wrote: Dear All: Significance Analysis of Microarrays(SAM) As we know sam do multiple t.test as

RE: [R] Running R from CD?

2004-11-22 Thread John Fox
Dear Jari, When I distribute an R Windows CD/ROM to students, I generally include both the installer and an installed version. This allows students who don't want to or can't install the software to use it. They pay a big penalty in speed, however. A flash drive would provide better performance

RE: [R] Rcmdr - doItAndPrint - summary method of S4-class objectnot in Rcmdr window but R Console

2004-11-22 Thread John Fox
Dear Brian, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent: Monday, November 22, 2004 5:57 AM To: Pfaff, Bernhard Cc: [EMAIL PROTECTED] Subject: Re: [R] Rcmdr - doItAndPrint - summary method of S4-class objectnot in

Re: [R] Re: 3d Map with bars

2004-11-22 Thread partha_bagchi
Ray, Thanks very much. That did it. Partha Ray Brownrigg [EMAIL PROTECTED] 11/21/2004 06:38 PM To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [R] Re: 3d Map with bars From: [EMAIL PROTECTED] Date: Fri, 19 Nov 2004

[R] R: simulation of Gumbel copulas

2004-11-22 Thread Vito Ricci
Hi, I found this document, but it concerns S+. If it could interest you'll see: http://faculty.washington.edu/ezivot/book/QuanCopula.pdf Cordially Vito You wrote: Dear R: Is there a function or a reference to simulate Gumbel copulas, please? Thanks in advance! Sincerely, Erin Hodgess

[R] R: simulation of Gumbel copulas

2004-11-22 Thread Vito Ricci
I'm sorry for another posting, but I found also this message in S news: http://www.biostat.wustl.edu/archives/html/s-news/2000-01/msg00058.html Bye Vito you wrote: Dear R: Is there a function or a reference to simulate Gumbel copulas, please? Thanks in advance! = Diventare costruttori

Re: [R] Running R from CD?

2004-11-22 Thread Prof Brian Ripley
Let's be a little careful here. An R for Windows installation is relocatable, so you can just install it into a temporary directory and burn a copy of that onto CD. (That may not be true after installing packages into a non-default library.) It is not true of a Unix or MacOS X installation,

[R] GCC

2004-11-22 Thread Campbell
version _ platform sparc-sun-solaris2.9 arch sparc os solaris2.9 system sparc, solaris2.9 status major1 minor7.1 year 2003 month06

Re: [R] Left justification af dimnames in tables.

2004-11-22 Thread Peter Dalgaard
Ladelund, Steen [EMAIL PROTECTED] writes: Hi helpeRs. When I do two-ways tables dimnames in columns are almost left-adjusted: - factor(rbinom(30,1,.3),labels=c(first,second)) b - a table(a,b) b afirst second first 21 0 second 0 9 If I do a

Re: [R] The hidden costs of GPL software?

2004-11-22 Thread Duncan Murdoch
On Fri, 19 Nov 2004 13:59:23 -0800, Cliff Lunneborg [EMAIL PROTECTED] quoted John Fox: Why not, as previously has been proposed, replace the current static (and, in my view, not very useful) set of keywords in R documentation with the requirement that package authors supply their own keywords for

Re: [R] GCC

2004-11-22 Thread Prof Brian Ripley
On Mon, 22 Nov 2004, Campbell wrote: version _ platform sparc-sun-solaris2.9 arch sparc os solaris2.9 system sparc, solaris2.9 status major1 minor7.1 year 2003 month06 day 16 language R I would like to upgrade to 2.0.1. What is the most recent GCC compiler

[R] How to insert one element into a vector?

2004-11-22 Thread jing tang
suppose I want to insert 5 into the vector (1,2,3,4,6) between 4 and 6. thx! __ [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] How to insert one element into a vector?

2004-11-22 Thread michael watson (IAH-C)
There must be a million ways of doing this! If you want to keep the order: v - c(1,2,3,4,6) sort(c(v,5)) Mick -Original Message- From: jing tang [mailto:[EMAIL PROTECTED] Sent: 22 November 2004 14:44 To: [EMAIL PROTECTED] Subject: [R] How to insert one element into a vector? suppose

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Barry Rowlingson
michael watson (IAH-C) wrote: There must be a million ways of doing this! Actually I'd say there were no ways of doing this, since I dont think you can actually insert into a vector - you have to create a new vector that produces the illusion of insertion! Here's a Q+D function that fails if

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Roger D. Peng
?append --- look at the `after' argument. -roger jing tang wrote: suppose I want to insert 5 into the vector (1,2,3,4,6) between 4 and 6. thx! __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Deepayan Sarkar
On Monday 22 November 2004 09:19, Barry Rowlingson wrote: michael watson (IAH-C) wrote: There must be a million ways of doing this! Actually I'd say there were no ways of doing this, since I dont think you can actually insert into a vector - you have to create a new vector that produces

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Peter Dalgaard
Barry Rowlingson [EMAIL PROTECTED] writes: michael watson (IAH-C) wrote: There must be a million ways of doing this! Actually I'd say there were no ways of doing this, since I dont think you can actually insert into a vector - you have to create a new vector that produces the illusion

Re: [R] variable object naming

2004-11-22 Thread Thomas Lumley
On Mon, 22 Nov 2004, Gabor Grothendieck wrote: Benjamin M. Osborne Benjamin.Osborne at uvm.edu writes: : : Is it possible to give a temporary object a name that varies with each run of a : foreloop? For example, I want to fill a matrix every time I run a loop, and I : want a new matrix with each

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Barry Rowlingson
Deepayan Sarkar wrote: Pretty much what 'append' does. A shame then, that help.search(insert) doesn't find 'append'! I cant think why anyone looking for a way of _inserting_ a value in the middle of a vector would think of looking at append! Python has separate insert and append methods for

Re: [R] How to insert one element into a vector?

2004-11-22 Thread Thomas Lumley
On Mon, 22 Nov 2004, Barry Rowlingson wrote: Deepayan Sarkar wrote: Pretty much what 'append' does. A shame then, that help.search(insert) doesn't find 'append'! I cant think why anyone looking for a way of _inserting_ a value in the middle of a vector would think of looking at append! Yes, this

[R] timeDate

2004-11-22 Thread Yasser El-Zein
what package should I include to use timeDate? I want to convert a double (num of millis) into date object. __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

a question on plot(), workspace or method dispatch, NOT about: Re: [R] RWinEdt, other text editors and R2.01 a problem in pasting commands

2004-11-22 Thread Uwe Ligges
giovanna jona lasinio wrote: Dear All, In the last few days I started using the last version of R as I encountered a problem with R1.9 and the use of RWinEdt, however the problem shows with R2.01 as well. More precisely 1. I install R2.01 after removing old verions of R 2. I Install RWinEdt

[R] RODBC and Table views

2004-11-22 Thread Hanke, Alex
This question relates to the use of the RODBC package for retrieving data from a MS Access database. It is quite easy to retrieve data sitting in tables but is it possible to select from views based on these tables? The archives do not touch on this point. sqlTables() lets me see tables and views

Re: [R] timeDate

2004-11-22 Thread João Mendes Moreira
library(chron) Joao - Original Message - From: Yasser El-Zein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 22, 2004 5:45 PM Subject: [R] timeDate what package should I include to use timeDate? I want to convert a double (num of millis) into date object.

Re: [R] timeDate

2004-11-22 Thread Gabor Grothendieck
Yasser El-Zein abu3ammar at gmail.com writes: : : what package should I include to use timeDate? I want to convert a : double (num of millis) into date object. The times class of the chron package stores times as fractions of a day. You could check whether or not that gives you the resolution

Re: [R] timeDate

2004-11-22 Thread Uwe Ligges
Yasser El-Zein wrote: what package should I include to use timeDate? I want to convert a double (num of millis) into date object. __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] plot.Map Maptools

2004-11-22 Thread DrakeGis
Hi, Is there any way to plot a Map with different shading patterns, instead of color intensity, in R2.0.1 over Linux ? Thanks. D - Stay ahead of the information curve. Receive GIS news and jobs on your desktop daily. Subscribe today to the GIS

Re: [R] annotation problems (conditional text())

2004-11-22 Thread Johannes Graumann
Thanks! Major knot in brain unraveled ... Joh On Sat, 20 Nov 2004 17:43:37 +0100 Uwe Ligges [EMAIL PROTECTED] wrote: Johannes Graumann wrote: Hello, I'm trying to annotate my plots nicely and am running into trouble. This example contains two problems: a) the 'text()' arguments do

Re: [R] How to correct this

2004-11-22 Thread Paul Murrell
Hi Mulholland, Tom wrote: Taking note of the first post, this is what I assume you wish. Note Paul's caveat in the help file If you resize the device, all bets are off! require(gridBase) x-seq(0,1,0.2) y-x pred-matrix(c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7, 0.5, 0.5, 0.7, 0.9,

[R] R(D)Com

2004-11-22 Thread Constant Depièreux
Hello, Brand new user of R that I want to interface with Windew (http://www.pcsoft.fr), I am looking for a detailed documentation of R(D)Com. Does anybody know where I can find it, or do you have any form of experience of the use of R with Windev? Thanks for your help. PS : As I am

[R] IFELSE across a 3D array?

2004-11-22 Thread Sander Oom
Dear all, We are trying to clean multiple realizations of a pattern. Erroneous NODATA and spurious DATA occur in the realizations. As we have to do a 1000 realizations for many patterns, efficiency of the code is important. We need to correct the realizations with a 'mask' pattern of

RE: [R] The hidden costs of GPL software?

2004-11-22 Thread Henrik Bengtsson
FYI, just noticed that the GPL is about (=a draft of which is due next year) to be revised into GPL v3. Maybe they will solve part of the problems you mention. Not much substance yet, but see GPL 3 to Take on IP, Patents, eWeek, November 22, 2004

Re: [R] plot.Map Maptools

2004-11-22 Thread Roger Bivand
On Mon, 22 Nov 2004, DrakeGis wrote: Hi, Is there any way to plot a Map with different shading patterns, instead of color intensity, in R2.0.1 over Linux ? Yes, but not with plot.Map(). If you need to fill, or shade, you are working with polygons. Convert to the polylist object using

Re: [R] R(D)Com

2004-11-22 Thread Spencer Graves
Have you tried www.r-project.org - CRAN - (select a local mirror, e.g., http://mirror.internet.tp/cran/) - Software: Other - Non-standard packages: R-(D)COM Interface? If yes, before replying, please read the posting guide! http://www.R-project.org/posting-guide.html;. In

Re: [R] timeDate

2004-11-22 Thread Yasser El-Zein
From the document it is apparent to me that I need as.POSIXct (I have a double representing the number of millis since 1/1/1970 and I need to construct a datetime object). I see it showing how to construct the time object from a string representing the time but now fro a double of millis. Does

Re: [R] timeDate

2004-11-22 Thread Gabor Grothendieck
Yasser El-Zein abu3ammar at gmail.com writes: From the document it is apparent to me that I need as.POSIXct (I have a double representing the number of millis since 1/1/1970 and I need to construct a datetime object). I see it showing how to construct the time object from a string

Re: [R] variable object naming

2004-11-22 Thread Michael Grant
Is this, i.e., using 'assign', the direction you want to go? If so, pay attention to the 'envir' parameter. BEGIN FROM Stat-R-US: http://www.ku.edu/~pauljohn/R/Rtips.html#2.2 ... 2.2 Create variable names on the fly (10/04/2001 Paul Johnson [EMAIL PROTECTED]) Paste together a variable name,

Re: [R] timeDate

2004-11-22 Thread Don MacQueen
In which case, be aware that R's round() function rounds to the nearest even number when the fraction is 0.5: round(c(1.5,2.5)) [1] 2 2 which might not be desirable for times. Consider floor() or trunc() instead. floor(c(1.5,2.5)) [1] 1 2 trunc(c(1.5,2.5)) [1] 1 2 At 9:48 PM + 11/22/04,

[R] optimize in very small values

2004-11-22 Thread Troels Ring
I hope you will forgive me this simple question on titration. I'm trying to find very small values from the algorithm below, which I believe is correctly formatted, and the constants are also correct. When SID goes over ATOT, fitted vales are much too low compared to the literature. I guess I

[R] Danish characters i R2.0.1 vs R1.9.1 under winXP

2004-11-22 Thread Hans Gardfjell
Sorry for not reporting earlier, but the same problem exists with Swedish verisons of Windows XP together with R 2.0.0 patched (but not with R 1.9.1) and the last characters in our alphabet. ä [1] \344 ö [1] \366 å [1] å Ö [1] \326 Ä [1] \304 Å [1] \305 Hans Gardfjell Ecology and

RE: [R] How to correct this

2004-11-22 Thread Mulholland, Tom
This raises the question of best practice. My answer was predicated on the fact that Jin Li had been attempting to use grid.circle in the first place without success. I rashly made the assumption that there was already a move to try and use some of the more sophisticated techniques within R.

RE: [R] Running R from CD?

2004-11-22 Thread Mulholland, Tom
I have noticed that R 2.0 did run slower than I thought it should. It's only now that you've raised the issue that I realise how much slower. However since I only use the CD when I am working on other people's machines I can't really say if there are other factors impacting upon the

[R] Weibull survival regression

2004-11-22 Thread Eric Lim
Dear R users, Please can you help me with a relatively straightforward problem that I am struggling with? I am simply trying to plot a baseline survivor and hazard function for a simple data set of lung cancer survival where `futime' is follow up time in months and status is 1=dead and 0=alive.

Re: [R] Danish characters i R2.0.1 vs R1.9.1 under winXP

2004-11-22 Thread Prof Brian Ripley
Try R 2.0.1 patched instead: the bug in (some versions of?) Windows XP has been worked around now. On Tue, 23 Nov 2004, Hans Gardfjell wrote: Sorry for not reporting earlier, but the same problem exists with Swedish verisons of Windows XP together with R 2.0.0 patched (but not with R 1.9.1) and