RE: [R] temperature profiles on maps

2003-03-18 Thread arv
Hi Greg, Probably you need to look at filled.contour(). I've managed to plot similar graphics from netCDF files. If you need some more explanation let me know. Cheers Antonio Rodríguez - Mensaje Original - Remitente: Greg Trafton <[EMAIL PROTECTED]> Fecha: Martes, Marzo 18, 2003 7:26

Re: [R] How to free memory

2003-03-18 Thread Ott Toomet
| From: "Wang, Hui" <[EMAIL PROTECTED]> | Date: Tue, 18 Mar 2003 13:20:13 -0800 | | Hi List, | | Could anybody give me some tips on how to free up memory in R(after reaching | the limit of allocated memory size)? By removing the object using "rm" | doesnot seem help much. Attaching datas

RE: [R] r-help using random generating

2003-03-18 Thread Adaikalavan Ramasamy
Yes it looks like a really good student exercise into the sampling properties of a distribution. What you need to do is initialize vectors beforehand that will contain the mean and variance values. Then simply use a for() loop that generates 5 random numbers. Use the mean(), var() and store the va

Re: [R] r-help using random generating

2003-03-18 Thread Murray Jorgensen
Student Exercise?! Cheryl H. wrote: To whom it may concern: Given that my sample size is n, my mean is 100, and my sd is 10, I need to use a random number generator (which I believe is the function rnorm(5,100,10)), but I need to repeat it a large number of times, and then plot the sampling dis

[R] r-help using random generating

2003-03-18 Thread Cheryl H.
To whom it may concern: Given that my sample size is n, my mean is 100, and my sd is 10, I need to use a random number generator (which I believe is the function rnorm(5,100,10)), but I need to repeat it a large number of times, and then plot the sampling distributions of the sample means, sd's,

[R] Re: Error in file(file, "r")

2003-03-18 Thread Brandon Whitcher
--- "Chisolm, Barbara" <[EMAIL PROTECTED]> wrote: > Hello, > > I am a new user of R, and I am not able to read/scan external files. I am > working in a Linux environment. I have read through the R FAQ and documents > and have not been successful using the recommendations. Below are several >

RE: [R] How to free memory

2003-03-18 Thread Vasudevan, Geetha
R> help(Memory) or help(gc) tells something about this. -g -Original Message- From: Wang, Hui [mailto:[EMAIL PROTECTED] Sent: Tue 3/18/2003 1:20 PM To: [EMAIL PROTECTED] Cc: Subject:[R] How to free memory Hi List, Could anybody give me some tips on how to free up m

[R] frailty variance parameter in survreg()

2003-03-18 Thread Jerome Asselin
Is there a simple way to extract the frailty variance parameter (theta)? Below is an example of the method that I have. library(survival) data(rats) rfit2b <- survreg(Surv(time, status) ~ rx + frailty.gaussian(litter, df=13, sparse=TRUE), rats ) { #According to rf

[R] How to free memory

2003-03-18 Thread Wang, Hui
Hi List, Could anybody give me some tips on how to free up memory in R(after reaching the limit of allocated memory size)? By removing the object using "rm" doesnot seem help much. Thanks -h __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz

Re: [R] Change directory in script

2003-03-18 Thread michaell taylor
Look at: ?setwd On Tue, 2003-03-18 at 14:37, Morten H Pedersen wrote: > Is there an R command to change directory? (it would be nice to include in > scripts to go to the right directory) > > Sincerely, > > > Morten H Pedersen, M.D. > > __ > [EMAIL PR

[R] COURSE***R/S-plus Fundamentals and Programming Techniques***April2003 - Boston and San Francisco

2003-03-18 Thread elvis
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce a 2-day course: "R/S-plus Fundamentals and Programming Techniques". Boston, MA-> April 10-11 San Francisco -> April 28-29 Course Description: This two-day R/S-plus course focuses on a br

[R] Tukey's HSD

2003-03-18 Thread Peter B. Mandeville
Greetings, I am trying the get the standard errors of multiple comparisons using Tukey's HSD. These are not reported by the function TukeyHSD. When I apply the following code to the data, which I store as PROLE4.TXT, several unexpected things happen. First, the function TukeyHSD works for all t

RE: [R] Change directory in script

2003-03-18 Thread Marc Schwartz
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Morten >H Pedersen >Sent: Tuesday, March 18, 2003 1:38 PM >To: [EMAIL PROTECTED] >Subject: [R] Change directory in script > > >Is there an R command to change directory? (it would be nice >to include in

[R] Passing Bablok regression

2003-03-18 Thread Law, Jacqueline {Regu~Pleasanton}
Hello all, Does anyone know anything of the implementation of Passing Bablok regression in R? Thanks! - Jacqueline __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Change directory in script

2003-03-18 Thread Morten H Pedersen
Is there an R command to change directory? (it would be nice to include in scripts to go to the right directory) Sincerely, Morten H Pedersen, M.D. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] How to use R from Delphi

2003-03-18 Thread Dieter Menne
Hiroshi, Download Thomas Baier' RDCOM from //cran.r-project.org/, Software, Other. Try to get to work the Visual basic examples coming with it, so you are sure the package registration has worked. I will send you by direct e-mail my RCom.pas package with an example program, which should give you

[R] temperature profiles on maps

2003-03-18 Thread Greg Trafton
Hi, all. I'm looking for a way to generate temperature profiles and display them in different colors on different maps. I'm basically looking for a way to display simple meteorological graphs using different color sets within R. Is there a way to do that kind of thing in R? failing that, is the

Re: [R] weighted.mean and na.rm=T in R-1.6.2

2003-03-18 Thread Ernesto Jardim
On Tue, 2003-03-18 at 17:36, Roger Peng wrote: > It seems you have NA's in the weights. But from ?weighted.mean: > > Details: > > If `w' is missing then all elements of `x' are given the same > weight. > > Missing values in `w' are not handled. > > Here, `w' is the vector of wei

Re: [R] "r-square in LME?

2003-03-18 Thread Spencer Graves
In an unpublished note, Sundar Dorai-Raj recently cited the following as addressing this question: Cox, D. R. and Snell, E. J. (1989) The Analysis of Binary Data, Second Edition, London: Chapman and Hall. Nagelkerke, N. J. D. (1991) “A Note on a General Definition of the Coefficient of Determi

Re: [R] weighted.mean and na.rm=T in R-1.6.2

2003-03-18 Thread Roger Peng
It seems you have NA's in the weights. But from ?weighted.mean: Details: If `w' is missing then all elements of `x' are given the same weight. Missing values in `w' are not handled. Here, `w' is the vector of weights. -roger ___ UCLA Department of St

Re: [R] "r-square in LME?

2003-03-18 Thread Allin Cottrell
On Mon, 17 Mar 2003, Daniel Bloch wrote: > I analysed data with LME in R. Is there a measure for LME > (likelihood estimated) statistics which has an analogous meaning to > the coefficient of determination (r-square) estimated by > least-square procedure? There is not an exact analog, but the log

[R] weighted.mean and na.rm=T in R-1.6.2

2003-03-18 Thread Ernesto Jardim
Hi It looks like the na.rm flag is not working in function weighted.mean. > weighted.mean(mat95$U,mat95$fpanual) [1] NA > weighted.mean(mat95$U,mat95$fpanual,na.rm=TRUE) [1] NA > mat95 <- mat95[!is.na(mat95$fpanual),] > weighted.mean(mat95$U,mat95$fpanual) [1] 14.93259 Regards EJ

Re: [R] References of R in use

2003-03-18 Thread Martin Maechler
Some minimal statistics: There are 1516 different "e-mail domain names" (the thing after "@" in the e-mail addresses) of subscribers of r-help and r-announce. Using bash: (for l in r-help r-announce;do sed 's/.*@//' $l;done) | \ sort | uniq | tee /tmp/r-domains | wc 15161516 21218 Th

Re: [R] network connection

2003-03-18 Thread apjaworski
If you are on a Windows machine try to invoke R with the --internet2 switch. Cheers, Andy __ Andy Jaworski Engineering Systems Technology Center 3M Center, 518-1-01 St. Paul, MN 55144-1000 - E-mail: [EMAIL PROTECTED] Tel: (651) 733-6092 Fax: (651) 736-3122

Re: [R] References of R in use

2003-03-18 Thread Spencer Graves
This is not a direct answer to your question, but the book "Information Rules: A Strategic Guide to the Network Economy" by Carl Shapiro and Hal R. Varian (1998) describe how to wage and win a standards war. Along with this, you may wish to review that S-News says about R and vice versa, th

Re: [R] Simulation

2003-03-18 Thread Spencer Graves
Consider the following: p <- rbinom(40, 1, 0.9) e <- rnorm(40, 0, 1) if(any(p==0))e[p==0] <- 3*(rchisq(sum(p==0), 1)-1) To find out whether this is faster than what you wrote, surround it with calls to proc.time, as follows: start.time <- proc.time() p <-

Re: [R] References of R in use

2003-03-18 Thread Armin Roehrl
> In general, managerial decisions (in large companies) about software are > most often based on references like > "Does this sotware use IBM, Sun, Oracle, MS, big banks, big Telco > companies, NASA, Academy of Sciences, and so on?" > rather than "this soft is scalable, offers this and this and th

Re: [R] To load Add-ons

2003-03-18 Thread Roger Peng
Look at ?Startup. You might want to edit $R_HOME/etc/Rprofile.site, where $R_HOME is the sitewide installation directory. -roger ___ UCLA Department of Statistics [EMAIL PROTECTED] http://www.stat.ucla.edu/~rpeng On Tue, 18 Mar 2003, Katrin Braesel wrote: > Dear R He

RE: [R] network connection

2003-03-18 Thread Marc Schwartz
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Ding, Wei >Sent: Tuesday, March 18, 2003 8:50 AM >To: '[EMAIL PROTECTED]' >Subject: [R] network connection > > >Hi, > >How can I configure R to allow http connection (through >company firewall)? Your help

[R] What a wonderful list (was Strange and disturbing bug)

2003-03-18 Thread Steve Roberts
What a wonderful set of people you are! - I solved by own problem, deleted the message and got 3 replies before I realised I'd hit "send" rather then "delete". Steve. Dr Steve Roberts [EMAIL PROTECTED] Senior Lecturer in Medical Statistics, CMMCH NHS Trust and University of Manchester

Re: [R] network connection

2003-03-18 Thread Dirk Eddelbuettel
On Tue, Mar 18, 2003 at 09:49:51AM -0500, Ding, Wei wrote: > How can I configure R to allow http connection (through company firewall)? > Your help are greatly appreciated! a) Depends on the operating system, and you didn't tell us which one you use. b) This is in the FAQ and R/Windows FAQ c) On

[R] network connection

2003-03-18 Thread Ding, Wei
Hi, How can I configure R to allow http connection (through company firewall)? Your help are greatly appreciated! Wei Ding, Ph.D. Schering-Plough Research Institute 2015 Galloping Hill Road Kenilworth, NJ 07033 Tel: (908) 740-2592 Fax: (908) 740-7664 **

[R] SciViews R GUI preview version available

2003-03-18 Thread Philippe Grosjean
Hi all, After being a long time off the R and R-SIG-GUI lists, because I was working hard on SciViews, I am happy to deliver the first public version of this program. It is still v. 0.1, that is, an incomplete alpha version. It currently installs only on Windows 2000 or XP (NOT on Windows 9X/ME/Mil

Re: [R] Strange and disturbing bug

2003-03-18 Thread Duncan Temple Lang
Hi Steve. This is very much a feature, not a bug, and unless I am mistaken does not relate to the use of a "two part name" (i.e. x.pair). The $ operator does partial matching on the names. So fred$x yields a partial match for fred$x.pair and gives you what you most likely wanted. Of course, u

[R] Strange and disturbing bug

2003-03-18 Thread Steve Roberts
How about this one? If I set a variable in a data.frame with a two- part name including a dot (say y.pair), and if the variable with the name of the first part (y) doesn't but I ask for it's value I get the value of the two-part name. Ie set fred$x.pair and print the value of fred$x it gives me

[R] To load Add-ons

2003-03-18 Thread Ole Fredslund Christensen
Use the .Rprofile file for such things. for example my file .Rprofile contains : library(geoR) library(geoRglm) if(!exists(".Random.seed")) set.seed(1367) -- Ole F. Christensen BiRC Datalogisk Institut Aarhus Universitet Ny Munkegade, Bygning 540 8000 Aarhus C Denmark

Re: [R] scoping rules; summary

2003-03-18 Thread Luke Tierney
On Tue, 18 Mar 2003, Robin Hankin wrote: > Hi everyone > > thanks for the replies. > > The issue was NOT a font problem; I deliberately chose ll1 and l11 as > examples of easily confused variable names (evidently these were too > easily confused ;-). The code snippet was written as intended, an

[R] To load Add-ons

2003-03-18 Thread Katrin Braesel
Dear R Help-Team, If I start R and type in search() the result is: [1] ".GlobalEnv""package:ctest" "Autoloads" "package:base" I often need an Add-on-package. I can load it with "> library(package)" or include a require-command in the .First-function. The .First-function is fine, if I alw

Re: [R]

2003-03-18 Thread Erich Neuwirth
Searching for Arithmetic shows %% as an infix operator Oezlem Gengaslan wrote: Hi, can someone tell me, if there is a function in R for the modulo operator? bye __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Réf. : [R]

2003-03-18 Thread Gregory BENMENZER
look at the help with help(Arithmetic) Grégory [EMAIL PROTECTED]@stat.math.ethz.ch on 18/03/2003 12:38:08 Envoyé par : [EMAIL PROTECTED] Pour : [EMAIL PROTECTED] cc :(ccc : Gregory BENMENZER/DEG/DR/EDFGDF/FR) Objet : [R] Hi, can someone tell me, if there is a function in

[R]

2003-03-18 Thread Oezlem Gengaslan
Hi, can someone tell me, if there is a function in R for the modulo operator? bye __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] References of R in use

2003-03-18 Thread Jan_Svatos
Dear R-users and expeRts, can anyone provide me (and others as well, of course) with reference of companies, scientific labs and/or schools where R is being used? Or does some (even unofficial) list of comanies etc. where R is being used exist? I tried to find such an information on R's homepage a

RE: [R] X11 connection error in web cgi mode only

2003-03-18 Thread vfasciani
I had the some problem with some CGI and some perl program running on SUN-SOLARIS. At the first I left open an Xsession on my PC (NT4) adding on all programs the followed lines: $ENV{DISPLAY} = 'vfasciani:0.0'; In this way all programs ran well bacause they found my X11 service. After, my system

Re: [R] scoping rules; summary

2003-03-18 Thread Uwe Ligges
Robin Hankin wrote: > > Hi everyone > > thanks for the replies. > > The issue was NOT a font problem; I deliberately chose ll1 and l11 as > examples of easily confused variable names (evidently these were too > easily confused ;-). The code snippet was written as intended, and > increment() c