Re: [R] Using pointsize with postscript trellis.device

2004-05-18 Thread Deepayan Sarkar
On Tuesday 18 May 2004 17:10, Patrick Connolly wrote: > I've been accustomed to specifying a postscript file and pointsize > like so: > > trellis.device(postscript, file = "something.ps", pointsize = 8) > > Using version > _ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu

[R] Using pointsize with postscript trellis.device

2004-05-18 Thread Patrick Connolly
I've been accustomed to specifying a postscript file and pointsize like so: trellis.device(postscript, file = "something.ps", pointsize = 8) Using version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status

Re: [R] Help : trellis.device

2004-05-18 Thread Prof Brian Ripley
On Tue, 18 May 2004, Chuck Cleland wrote: >If you want to save both figures in the same file and if PDF is > acceptable, try this: and if it is not, ?bmp will tell you how to specify the file= in a way that you will get 2 .bmp files. > > a <- c(1,10) > b <- c(1,10) > c <- c(2,20) > d <- c

Re: [R] Debian & R

2004-05-18 Thread Jean Eid
I have done that with no problems... Jean, On Tue, 18 May 2004 [EMAIL PROTECTED] wrote: > I use linux debian testing for which the latest debianized version of R > is 1.8.1. Therefore I installed: > > r-base-core_1.8.1-0.cran.1_i386.deb > r-base-dev_1.8.1-0.cran.1_all.deb > r-base-html_1.8.1-

RE: [R] How to define a destructor of an object?

2004-05-18 Thread Shin, Daehyok
Thanks, Thomas. This is exactly what I want. I am wondering why there is no explicit mention about this function, such as, in the help document of gc(). Daehyok Shin (Peter) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Thomas Lumley > Sent: Tuesday

[R] SciViews-R, a GUI layer and companion applications for R

2004-05-18 Thread Philippe Grosjean
Hello, An alpha version (unstable, still in development) of SciViews-R can be downloaded from http://www.sciviews.org/SciViews-R. See also screenshots at http://www.sciviews.org/software/rconsole.htm. The SciViews R package provides functions to implement GUI features (object explorer, script with

Re: [R] Isotopic notation in plots

2004-05-18 Thread Prof Brian Ripley
On Tue, 18 May 2004, Robert W. Baer, Ph.D. wrote: > From: "Christophe Declercq" <[EMAIL PROTECTED]> > > Try: > > > > > plot(1:10,xlab=expression(phantom(0)^{14}*C)) > > Just out of interest, how do I find out what phantom(0) does? I tried both > ?phantom and help.search("phantom") without gettin

[R] Problem with package SJava

2004-05-18 Thread Nathan Whitehouse
Hi, This main method on class Essai will fail at least for one reason becaue you need to instantiate a ROmegahatInterpreter. Referencing this causes the R DLLs & the SJava DLLs to load. However, it appears that they are already loaded, judging from your output below based on the signal

[R] nlme: Initial parameter estimates

2004-05-18 Thread Abderrahim Oulhaj
Hello, I am trying to fit a nlme (non linear mixed effect). I am using the SelfStart function SSlogis. However the data in my hand contains few observations per subject (4 or less), so the nlsList doesn't work... In this case I should fixe initial parameter estimates. I remark that valu

Re: [R] list & calculaton in many df subsets

2004-05-18 Thread Spencer Graves
Have you considered "lapply(by(...), ...)"? The help for "by" includes an example using sapply. See also Venables and Ripley, Modern Applied Statistics with S. hope this helps. spencer graves Christian Schulz wrote: Hi, have anybody a hint /starting point how i can enlarge my code that's po

Re: [R] delete duplicated from data.frame

2004-05-18 Thread Christian Schulz
Uwe and Sundar, many thanks and sorry for my confusion with indexes,values etc.. christian Am Dienstag, 18. Mai 2004 16:39 schrieb Uwe Ligges: > Christian Schulz wrote: > > Hi, > > > > ?unique > > unique returns a vector, data frame or array like x * but with duplicate > > elements removed * >

Re: [R] Isotopic notation in plots

2004-05-18 Thread Barry Rowlingson
Try: plot(1:10,xlab=expresssion(""^{14}*C)) ?? Is there a way of showing atomic number and atomic mass next to the symbol? This: plot(1:10,xlab=expression({}[7]^{14}*C)) almost works, but the 7 is adjacent to the invisible {}, instead of being right-aligned next to the C. Slightly closer is: p

Re: [R] Nonlinear robust regression

2004-05-18 Thread roger koenker
The package nlrq does nonlinear l1 regression. This isn't robust in the design directions, but is in the response direction. url:www.econ.uiuc.edu/~rogerRoger Koenker email [EMAIL PROTECTED] Department of Economics vox:217-333-4558

Re: [R] delete duplicated from data.frame

2004-05-18 Thread Uwe Ligges
Christian Schulz wrote: Hi, ?unique unique returns a vector, data frame or array like x * but with duplicate elements removed * what i'm doing wrong delete duplicated rows with same MEMEBRNO. februar <- dmsegment[unique(dmsegment$MEMBERNO),] unique() returns values, but not indices nor logicl

Re: [R] Isotopic notation in plots

2004-05-18 Thread Sundar Dorai-Raj
Robert W. Baer, Ph.D. wrote: From: "Christophe Declercq" <[EMAIL PROTECTED]> Try: plot(1:10,xlab=expression(phantom(0)^{14}*C)) Just out of interest, how do I find out what phantom(0) does? I tried both ?phantom and help.search("phantom") without getting any hits, and yet the expression posed a

Re: [R] Isotopic notation in plots

2004-05-18 Thread Robert W. Baer, Ph.D.
From: "Christophe Declercq" <[EMAIL PROTECTED]> > Try: > > > plot(1:10,xlab=expression(phantom(0)^{14}*C)) Just out of interest, how do I find out what phantom(0) does? I tried both ?phantom and help.search("phantom") without getting any hits, and yet the expression posed above creates a leading

Re: [R] How to define a destructor of an object?

2004-05-18 Thread Thomas Lumley
On Tue, 18 May 2004, Shin, Daehyok wrote: > Is there any way to define a destructor method of an object, > which is called automatically when garbage collector reclaims it? > yes, there is support for finalizers at both the C and R levels. For the R level see ?reg.finalizer. I thought there was d

[R] delete duplicated from data.frame

2004-05-18 Thread Christian Schulz
Hi, ?unique unique returns a vector, data frame or array like x * but with duplicate elements removed * what i'm doing wrong delete duplicated rows with same MEMEBRNO. februar <- dmsegment[unique(dmsegment$MEMBERNO),] This reduce from 197.188 rows to 184.199 but duplicated MEMBERNO didn't

[R] Debian & R

2004-05-18 Thread v . demartino2
I use linux debian testing for which the latest debianized version of R is 1.8.1. Therefore I installed: r-base-core_1.8.1-0.cran.1_i386.deb r-base-dev_1.8.1-0.cran.1_all.deb r-base-html_1.8.1-0.cran.1_all.deb r-base-latex_1.8.1-0.cran.1_all.deb r-base_1.8.1-0.cran.1_all.deb r-do

Re: [R] mixed models

2004-05-18 Thread Jason Turner
> Hi folks > > Can anyone direct me to a guide to analysing mixed models in R that is > understandable by mere mortals (or worse, mere biologists)? I have read > MASS and also Mick Crawley's book on the subject, have thrashed my way > through the various help files from the NLME package and I'm afr

[R] How to define a destructor of an object?

2004-05-18 Thread Shin, Daehyok
Is there any way to define a destructor method of an object, which is called automatically when garbage collector reclaims it? Daehyok Shin __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

[R] Nonlinear robust regression

2004-05-18 Thread Eva Gelnarova
Hello, I would like to make a nonlinar fit (exactly the exponencial fit) to the data. But my data set is not ideal at all, so any robust method (such as LTS) would be bettre then LS. Could you advice me, please, if there is any R package or R function which provides the nonlinear robust regre

[R] mixed models

2004-05-18 Thread Rob Knell
Hi folks Can anyone direct me to a guide to analysing mixed models in R that is understandable by mere mortals (or worse, mere biologists)? I have read MASS and also Mick Crawley's book on the subject, have thrashed my way through the various help files from the NLME package and I'm afraid I re

Re: [R] Help : trellis.device

2004-05-18 Thread Chuck Cleland
If you want to save both figures in the same file and if PDF is acceptable, try this: a <- c(1,10) b <- c(1,10) c <- c(2,20) d <- c(2,20) library(lattice) # require is design for use inside functions pdf("test.pdf") trellis.device(new = FALSE, col = TRUE, bg = "white") plot(a,b) plot(c,d) dev.o

Re: [R] Help : trellis.device

2004-05-18 Thread Jason Turner
> Hi, R members. > > I want to save plots. So I use the R as fallows : > > a <- c(1,10) > b <- c(1,10) > c <- c(2,20) > d <- c(2,20) > require(lattice) > trellis.device("bmp", file = "test.bmp", bg = "white") > print(plot(a,b)) > print(plot(c,d)) > dev.off() > -

[R] Help : trellis.device

2004-05-18 Thread 진희정
Hi, R members. I want to save plots. So I use the R as fallows : a <- c(1,10) b <- c(1,10) c <- c(2,20) d <- c(2,20) require(lattice) trellis.device("bmp", file = "test.bmp", bg = "white") print(plot(a,b)) print(plot(c,d)) dev.off() ---

RE: [R] Isotopic notation in plots

2004-05-18 Thread Ted Harding
On 18-May-04 Andersson, Henrik wrote: > plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript > with > nothing in front, but it doesn't work > > plot(1:10,xlab=expresssion(.^{14}*C)) # this works, but is not > beautiful Try: plot(1:10,xlab=expresssion(""^{14}*C)) ?? Ted. __

Re: [R] How do you force runif to return non-duplicate results eg runif(0, 1, n=10)? thanks

2004-05-18 Thread Gabor Grothendieck
Briggs, Meredith M team.telstra.com> writes: How do you force runif to return non-duplicate results eg runif(0, 1, n=10)? thanks On my Windows XP machine I find that the first 100,000 random numbers starting from seed 11 are unique even to machine precision. Is that enough? R> set.seed(11

[R] Re: "ghost" image in .eps file

2004-05-18 Thread Andrew Perrin
Brian Ripley wrote: >I can't see this in your examples: which viewer did you use? I do see it >in phantom.ps. > >However, looking at resources.bygt.eps, the file is corrupt with a load >of bytes after > >%%EOF > >starting with nulls and then some postscript. So I don't think this is an >R problem

RE: [R] Isotopic notation in plots

2004-05-18 Thread Hanke, Alex
Henrik, Please try: plot(1:10,xlab=expression({}^{14}*C)) -Original Message- From: Andersson, Henrik [mailto:[EMAIL PROTECTED] Sent: May 18, 2004 7:00 AM To: [EMAIL PROTECTED] Subject: [R] Isotopic notation in plots I really like to use R for all my graphs, and as I work with stable iso

[R] 1-way anova, nested model

2004-05-18 Thread Eran Tauber
Dear all, We compared the gene expression level in two conditions: high (H) and low (L), using real-time PCR. We had 3 samples of each condition, and we quantified each sample twice (i.e. a technical replication). Our data looks like: H1 H1 H2 H2 H3 H3 L1 L1 L2 L2 L3 L3 We want to test if the

RE: [R] Isotopic notation in plots

2004-05-18 Thread Christophe Declercq
Try: > plot(1:10,xlab=expression(phantom(0)^{14}*C)) Christophe -- Christophe Declercq, MD Observatoire regional de la sante Nord-Pas-de-Calais 13, rue Faidherbe F-59046 LILLE Cedex Phone 33 3 20 15 49 24 Fax 33 3 20 55 92 30 E-mail [EMAIL PROTECTED] > -Message d'origine- > De : [EMAI

RE: [R] Isotopic notation in plots

2004-05-18 Thread Rau, Roland
Hi! > -Original Message- > From: Andersson, Henrik [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, May 18, 2004 12:00 PM > To: [EMAIL PROTECTED] > Subject: [R] Isotopic notation in plots > > plot(1:10,xlab=expresssion(.^{14}*C)) # this works, but is not > I wonder how this works

[R] Isotopic notation in plots

2004-05-18 Thread Andersson, Henrik
I really like to use R for all my graphs, and as I work with stable isotopes I want to have a proper chemical notation in my plots I have looked at ?plotmath, but didn't find the answer and also searched the R website. -- pl

[R] Circular statistics with (direction,size) data

2004-05-18 Thread Dan Bebber
Dear List, I have circular data comprising direction and size for a number of observations. I wish to calculate statistics such as the mean direction and concentration for these data. I note that the CircStats package only deals with angular data (i.e. "Each observation is treated as a unit vecto

Re: [R] Build R-1.9.0 with static libraries ?

2004-05-18 Thread Prof Brian Ripley
You make the changes to config.site, not Makeconf directly. I think you want to alter ## The flags which are necessary for loading main program which will ## load DLLs at runtime. HP-UX and Linux-elf are examples of platforms ## which use this. These platforms are already taken care of by ## c

[R] list & calculaton in many df subsets

2004-05-18 Thread Christian Schulz
Hi, have anybody a hint /starting point how i can enlarge my code that's posiible for me make any calculaton's with variables in the 64 subset's. Example: I want calculate difference of two variables inside every of the 64 subset data.frames and getting this value in tList! Many thanks, Chr

[R] Build R-1.9.0 with static libraries ?

2004-05-18 Thread Mélanie PELEGRINI-ISSAC
Dear all, Which options should I use when running the configure script and/or which changes should I make to Makeconf to build the binary for R-1.9.0 but using only statically linked libraries ? I need to build a binary that is portable between several different Linux (RedHat) distribut