Re: [R] building R1.6.2 from source (windows2k)

2003-01-14 Thread Uwe Ligges
Christian Schulz wrote: Do read more carefully. The file INSTALL says `doc/manual'! many thanks ! I work with the very usefuel manual "R for Windows Users 2.0" from Ko-Kang Kevin Wang , but IMHO here is a small mistake (Page 13!) ? Sorry for my newbie problems, but why the "make docs" ends n

Re: [R] Universal legend for graph...

2003-01-14 Thread Uwe Ligges
Vumani Dlamini wrote: Dear R-Users: I am trying to create a graph with 6 panels, but would like to have a universal legend as each panel merely denotes a separate stratum. The legend has to be at the bottom. I use "par(mfrow=c(2,3))" to get the panels, but am not sure how to put the legend b

Re: [R] install problem: gpclib

2003-01-14 Thread Markus Neteler
On Tue, Jan 14, 2003 at 01:39:03PM -0500, Robert Gentleman wrote: > On Tue, Jan 14, 2003 at 07:35:21PM +0100, Markus Neteler wrote: > > R-161 > > R : Copyright 2002, The R Development Core Team > > Version 1.6.1 (2002-11-01) > > [...] > > system("R CMD INSTALL gpclib_1.0-1.tar.gz") > > WARNING: ig

Re: [R] Why are default sizes of plotting characters different?

2003-01-14 Thread Deepayan Sarkar
On Tuesday 14 January 2003 09:20 pm, Patrick Connolly wrote: > I had occasion to use panel.superpose to draw points in a lattice > plot, and chose to set the size to 1.1 using trellis.par.set(). I > also wished to add some other plotting characters which I did with > grid.points. To get them look

[R] Why are default sizes of plotting characters different?

2003-01-14 Thread Patrick Connolly
I had occasion to use panel.superpose to draw points in a lattice plot, and chose to set the size to 1.1 using trellis.par.set(). I also wished to add some other plotting characters which I did with grid.points. To get them looking like the same size as those done with panel.superpose, I needed

RE: [R] Is R really an open source S+ ?

2003-01-14 Thread Liaw, Andy
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > This is not a criticism. I'm just curious. Is there an > effort to keep R > comparable to S+? > Or are the two languages diverging? I am doing what probably > legions have > done before me, > and legions will after me...using R on exam

[R] Is R really an open source S+ ?

2003-01-14 Thread [EMAIL PROTECTED]
This is not a criticism. I'm just curious. Is there an effort to keep R comparable to S+? Or are the two languages diverging? I am doing what probably legions have done before me, and legions will after me...using R on examples from text books written with S+ code. Most of the time everything

Re: [R] How to change the label position in axis() ?

2003-01-14 Thread Ben Bolker
See ?par, the source of all wisdom: par(las=1) On Tue, 14 Jan 2003 [EMAIL PROTECTED] wrote: > > Dear R People, > > I'm working on a plot function to produce the graph shown below. One of > the features my supervisor does not like is that the labels in the Y- > axix are shown vertically. Is

[R] How to change the label position in axis() ?

2003-01-14 Thread Liu . Chunhua
Dear R People, I'm working on a plot function to produce the graph shown below. One of the features my supervisor does not like is that the labels in the Y- axix are shown vertically. Is there a way to change that to horizontally ? This is the axix() function I used : axis(2,at=seq(nstrat),lab

[R] Re: R-help digest, Vol 1 #45 - 24 msgs

2003-01-14 Thread David Duffy
[EMAIL PROTECTED] asked: > Surely, I just have a mental block and there is a more elegant way of > creating a summary count (other than extracing it from ftable). I'd like > to create a new data.frame containing counts of spell by loc ie have > three columns showing spell,loc,count. Below the data

Re: [R] comparing class() -- R=NULL and S+=numeric

2003-01-14 Thread Peter Dalgaard BSA
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I'm just reading Modern Applied Statistics with S, 4th Ed., Venables and > Ribley > I'm typing in their examples in both R and S+. I need insight in the > difference > in the class() statement shown in Chap. 2. Example from book: > > > names(pow

[R] Mandrake packages for R-1.6.2 uploaded

2003-01-14 Thread mikalzet
Mandrake packages for R 1.6.2 have been uploaded and will propagate through CRAN in due course. -- Michele Alzetta __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] comparing class() -- R=NULL and S+=numeric

2003-01-14 Thread [EMAIL PROTECTED]
I'm just reading Modern Applied Statistics with S, 4th Ed., Venables and Ribley I'm typing in their examples in both R and S+. I need insight in the difference in the class() statement shown in Chap. 2. Example from book: > names(powers.of.pi) <- -2:2 > powers.of.pi -2-1 0

[R] export result files (loop problem?)

2003-01-14 Thread Christian Schulz
i'm experimenting with several possibilities produce and export plot/result files. I attempt a lot of things, the file which i want in most ways written but empty, i.e. pdf,write,sink. One exception which works correct for me in the loop is write.table(data,file=dataname). The way without a loop w

[R] PLS code for classification

2003-01-14 Thread
Hi, I'm wondering if anyone could point me to existing R-code for classification using partial least squares? Thanks, Nandini Raghavan [[alternate HTML version deleted]] __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailma

Re: [R] glmmPQL and anova

2003-01-14 Thread ripley
Yes. On Tue, 14 Jan 2003, Maarten Speekenbrink wrote: > Dear R-users, > > I have conducted an experiment with a 2*2*2 factorial within-subjects design. All >factors are binary and the dependent measure is a frequency of successes between 0 >and 4. Treating this as a normally distributed variab

[R] call R form perl

2003-01-14 Thread Zhongming Yang
R exports: The attached is the program that try to call R function from perl. The function is in "peak-pick.r", and the function name is peakpick. Can anyone give me some clue that make it works? Thanks peak-pick.pl Description: Binary data

[R] install problem: gpclib

2003-01-14 Thread Markus Neteler
Dear list, I face some problems installing gpclib_1.0-1.tar.gz: R-161 R : Copyright 2002, The R Development Core Team Version 1.6.1 (2002-11-01) [...] system("R CMD INSTALL gpclib_1.0-1.tar.gz") WARNING: ignoring environment value of R_HOME ERROR: This R is version 1.5.0 package 'gpclib'

[R] Universal legend for graph...

2003-01-14 Thread Vumani Dlamini
Dear R-Users: I am trying to create a graph with 6 panels, but would like to have a universal legend as each panel merely denotes a separate stratum. The legend has to be at the bottom. I use "par(mfrow=c(2,3))" to get the panels, but am not sure how to put the legend below the whole graph.

[R] glmmPQL and anova

2003-01-14 Thread Maarten Speekenbrink
Dear R-users, I have conducted an experiment with a 2*2*2 factorial within-subjects design. All factors are binary and the dependent measure is a frequency of successes between 0 and 4. Treating this as a normally distributed variable, I would perform a repeated-measures ANOVA as follows: > ao

Re: [R] residuals() with missing data, alignment to original dataset

2003-01-14 Thread ripley
na.action=na.exclude does this. On Tue, 14 Jan 2003 [EMAIL PROTECTED] wrote: > Hello, > > I have a data frame and want to do the following. > > Do a regression of one variable versus another: > > fit <- lm(a ~ b) > > Then I would like to plot the residuals of this fit versus a third va

[R] residuals() with missing data, alignment to original data set

2003-01-14 Thread klaus . thul
Hello, I have a data frame and want to do the following. Do a regression of one variable versus another: fit <- lm(a ~ b) Then I would like to plot the residuals of this fit versus a third variable: bwplot(residuals(fit) ~ group) This fails, if a or b contain NAs, because the

Re: [R] graphics landscape orientation

2003-01-14 Thread ripley
That's a function of the R graphics driver, e.g. the horizontal arg in postscript() or set a landscape format width and height in pdf() or win.metafile() or On Tue, 14 Jan 2003, Juan Ramon Gonzalez wrote: > I would like to know how I can get the resulting graphic of the function > plot.hcl

Re: [R] Problem with pdf()

2003-01-14 Thread ripley
A PDF-1.1 file is a PDF-1.2 file. They are backwards compatible specifications. The source code is available to you if you want to re-write the driver to make use of features in, say, PDF-1.2 or even the current 1.4. On Tue, 14 Jan 2003 [EMAIL PROTECTED] wrote: > I noted the PDF format of pdf

Re: [R] building R1.6.2 from source (windows2k)

2003-01-14 Thread Christian Schulz
> Do read more carefully. The file INSTALL says `doc/manual'! many thanks ! I work with the very usefuel manual "R for Windows Users 2.0" from Ko-Kang Kevin Wang , but IMHO here is a small mistake (Page 13!) ? Sorry for my newbie problems, but why the "make docs" ends not fine and the "make rec

[R] more efficient code possible?

2003-01-14 Thread Tord Snall
Dear all, Does anyone have a suggestion on how to make this code more efficient? I have a large data frame that I want to merge with another data frame b.art.temp<- b.art[, c("BalteSFyndID", "RUBINKOD")] I first add an indicator column for each RUBINKOD: b.art.temp$anas.hel<- ifelse(b.art.tem

[R] Problem with pdf()

2003-01-14 Thread alessandro . valli
Hallo, I noted the PDF format of pdf() beeing PDF-1.1. I would like to know if it is possible to generate PDF files in PDF-1.2. For some strange reason it is not possible to visualize certain pdf files generated via R on IE 5.5 (using AR 5.1). But converting this to PDF-1.2 (using postscript() an

Re: [R] graphics landscape orientation

2003-01-14 Thread Thomas W Blackwell
"landscape orientation" only makes sense for hardcopy printout, so I assume you are using the postscript() device driver. I also assume you are using it from the R command line (which you probably are not). Use the command postscript("filename", horizontal=T) See the help for postscript().

Re: [R] density plot - beginner's question

2003-01-14 Thread Saurav Pathak
Thanks to all who have provided me with valuable suggestions. I am forging ahead now, and am beginning to enjoy R. Thanks, Saurav Thus spake Saurav Pathak: + Hi, + + I am trying to plot densities given on a two dimensional grid. My + data is in the an external file, and is arranged in

[R] graphics landscape orientation

2003-01-14 Thread Juan Ramon Gonzalez
Hello listers, I would like to know how I can get the resulting graphic of the function plot.hclust (from the package cluster) in landscape orientation. Is it possible? Thanks, Juan __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailma

Re: [R] Random number generator in R compared to S

2003-01-14 Thread Paul Gilbert
Alain LE TERTRE wrote: > > I'm doing some simulations for which i need to use both S-plus and R. > I generate in S+ some random normal distributions to define one dataset by > iteration. I need to use the same dataset generated in S-plus in R. > I was first thinking to generate in R the same data

Re: [R] PLS regression?

2003-01-14 Thread Ramon Diaz
Dear Olivier, This issue has been asked a couple of times on the email list before. I am attaching a few messages from previous postings that I have kept around, but it might be a good idea to search the archives (I am almost sure there were more messages). I also have some R code, which is bas

[R] data import (on macintosh)

2003-01-14 Thread Luke Whitaker
I think the problem is the way files are named on the Macintosh. On the Mac, the file separator character, which is "/" on unix and "\" on dos/windows, is ":". Also, the root directory doesn't start with the separator character, but instead just starts with the volume name, which is the name of t

[R] Random number generator in R compared to S

2003-01-14 Thread Alain LE TERTRE
I'm doing some simulations for which i need to use both S-plus and R. I generate in S+ some random normal distributions to define one dataset by iteration. I need to use the same dataset generated in S-plus in R. I was first thinking to generate in R the same dataset by using the same random numbe

[R] PLS regression?

2003-01-14 Thread OTAB (Olivier Taboureau)
Hi all, I would like to do some QSAR analysis (quantitative structure activity relationship). I need to use some Partial Least Squares (PLS) regression, but I have not seen this option on the R-project. Is it possible to do this kind of regression on R? thank you in advance best regards, olivier

[R] ineq

2003-01-14 Thread Steinar Bjerve
Dear Achim I am trying again to install ineq. I succeeded to install it before by simply including the downloaded ineq-folder in the library folder. Now I get among other things: > library(ineq, help, lib.loc = T , logical.return = T) [1] FALSE Warning message: There is no package called `in

[R] Arithmetic operator from within C code

2003-01-14 Thread Timur Elzhov
Dear R experts, I'd like to do some arithmetic operations like "+"(SEXP x, SEXP y), from within C code. Are there any predefined functions in R lib for these? Thank you very much! -- WBR, Timur. __ [EMAIL PROTECTED] mailing list http://www.stat.math

Re: [R] R-release.diff.gz: "patch detected! Assume -R? [n]"

2003-01-14 Thread Martin Maechler
> "AgusL" == Agustin Lobo <[EMAIL PROTECTED]> > on Tue, 14 Jan 2003 10:54:21 +0100 (MET) writes: AgusL> Hi! I'm upgrading to 1.6.2. (linux suse7.3). I see AgusL> that there is a patch in R-release.diff.gz. AgusL> 1. Is this patch stable? In other words, is it AgusL>

RE: [R] Bug in boxplot(..., add=TRUE) ?

2003-01-14 Thread Liaw, Andy
It may not be a bug, but I wonder if it's an "unintended feature"... As Rich said, it seems unintuitive to have a plot function called with add=TRUE add axes to existing plot. This is not documented in either help pages for boxplot and bxp. Andy > -Original Message- > From: Roger Peng [

[R] make check errors

2003-01-14 Thread Agustin Lobo
After make check in a linux suse7.3 with ./configure --enable-R-shlib --with-blas=/usr/lib/libatlas.a --with-gnome --with-gnome-includes=/opt/gnome/include --with-gnome-libs=/opt/gnome/lib --with-libglade-config=/opt/gnome/bin/libglade-config I run make and make check. I get, at the end: runni

[R] R-release.diff.gz: "patch detected! Assume -R? [n]"

2003-01-14 Thread Agustin Lobo
Hi! I'm upgrading to 1.6.2. (linux suse7.3). I see that there is a patch in R-release.diff.gz. 1. Is this patch stable? In other words, is it adviced that I install R-release.diff.gz ? 2. When I do: zcat R-release.diff.gz | patch -p1 -E I get many lines such as: patching file AUTHORS Reverse

Re: [R] building R1.6.2 from source (windows2k)

2003-01-14 Thread Uwe Ligges
Christian Schulz wrote: hi, what's wrong in my compiling procedure ? make make bitmapdll make tcl make docs (..first i get the error message for Latex3.0 so that i'm update my miktex installation, after this doing again i'm getting no error !) After "make docs" i should change directory to

Re: [R] building R1.6.2 from source (windows2k)

2003-01-14 Thread ripley
On Tue, 14 Jan 2003, Christian Schulz wrote: > what's wrong in my compiling procedure ? > > make > make bitmapdll > make tcl > make docs (..first i get the error message for Latex3.0 so that i'm update > my miktex installation, after this doing again i'm getting no error !) Nope, that message is

[R] building R1.6.2 from source (windows2k)

2003-01-14 Thread Christian Schulz
hi, what's wrong in my compiling procedure ? make make bitmapdll make tcl make docs (..first i get the error message for Latex3.0 so that i'm update my miktex installation, after this doing again i'm getting no error !) After "make docs" i should change directory to R-1.6.2/doc and type:

Re: [R] density plot - beginner's question

2003-01-14 Thread Petr Pikal
Hallo On 13 Jan 2003 at 18:22, Saurav Pathak wrote: > Hi, > > I am trying to plot densities given on a two dimensional grid. My > data is in the an external file, and is arranged in three columns: x, > y, density > > how may i get a plot of this? i would like to get (1) a three > dimensional