[R] X11 fonts and Ubuntu

2006-12-17 Thread Patrick Giraudoux
Hi, I am moving from Windows XP to Ubuntu 6.10 and installed R 2.4.0. When I run eg plot.lm (things work fine with plot.default - eg plot(rnorm(30),rnorm(30))) plot(lmobject) I can get the first plot and then this message: Hit Return to see next plot: Error in text.default(x, y,

Re: [R] ks.test greater and less

2006-12-17 Thread Carmen Meier
Prof Brian Ripley schrieb: On Sat, 16 Dec 2006, R. Villegas wrote: 2006/12/15, Carmen Meier [EMAIL PROTECTED]: Hello r-group I have a question to the ks.test. I would expect different values for less and greater between data1 and data2. Does anybody could explain my point of

Re: [R] X11 fonts and Ubuntu

2006-12-17 Thread Rich FitzJohn
Hi, I have observed this as well (Debian etch, R 2.4.0), with small cex values when drawing text. My LANG environment variable was set to en_NZ.UTF-8; setting this to C or en_NZ seems to prevent the error occuring. I presume my installation is missing a few fonts, yours may be too. HTH, Rich

[R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Webmaster
Hi all, I'm trying to use symbols() to draw a circle of a given radius at a given position onto a filled.contour() plot. The commands I issue are: filled.contour(y,x,z,levels=seq (0.02,1.0,len=50),color.palette=colorRampPalette(c (blue,yellow,red)),title=title(main=,xlab=,ylab=))

Re: [R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Duncan Murdoch
On 12/17/2006 7:06 AM, Webmaster wrote: Hi all, I'm trying to use symbols() to draw a circle of a given radius at a given position onto a filled.contour() plot. The commands I issue are: filled.contour(y,x,z,levels=seq (0.02,1.0,len=50),color.palette=colorRampPalette(c

Re: [R] Collapsing across trials

2006-12-17 Thread Gabor Grothendieck
Try aggregate(DF[4], DF[1:3], mean) On 12/16/06, Pedro Alcocer [EMAIL PROTECTED] wrote: Hello, My ultimate goal is a repeated measures (mixed model) ANOVA, however, my present question is about how to reorganize my data into the format that the ANOVA commands expect. In particular, how to

Re: [R] X11 fonts and Ubuntu

2006-12-17 Thread Ilias Soumpasis
2006/12/17, Patrick Giraudoux [EMAIL PROTECTED]: Hi, I am moving from Windows XP to Ubuntu 6.10 and installed R 2.4.0. When I run eg plot.lm (things work fine with plot.default - eg plot(rnorm(30),rnorm(30))) plot(lmobject) I can get the first plot and then this message: Hit Return to

Re: [R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Webmaster
The output produced by 'filled.contour' is actually a combination of two plots; one is the filled contour and one is the legend. Two separate coordinate systems are set up for these two plots, but they are only used internally - once the function has returned these

Re: [R] X11 fonts and Ubuntu

2006-12-17 Thread Patrick Giraudoux
Did try it. Works fine now. Just need to reboot after having modified /etc/X11/ xorg.conf as following according to your instructions: Section Files # path to defoma fonts FontPath /usr/share/fonts/X11/misc FontPath /usr/share/fonts/X11/cyrillic FontPath

Re: [R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Duncan Murdoch
On 12/17/2006 9:31 AM, Webmaster wrote: The output produced by 'filled.contour' is actually a combination of two plots; one is the filled contour and one is the legend. Two separate coordinate systems are set up for these two plots, but they are only used internally - once the

Re: [R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Renaud Lancelot
Try levelplot in package lattice instead of filled.contour: you will be able to annotate the plot using the grid package. Moreover, you can remove the key using the colorkey argument. library(lattice) library(grid) z - as.matrix(read.table(hist_2d)) dimnames(z) - NULL Data - expand.grid(x =

[R] question

2006-12-17 Thread claire pujoll
Dear R users, I'am using marray and Limma packages to analyze genepix output. 1) how can I filter bad spots from my data (data contains 3 types of bad spots). my experiment contains 12 samples and the bad spot are not associated to the same probes 2) how can I remove control probes from my data

[R] question

2006-12-17 Thread claire pujoll
Dear R users, I'am using marray and Limma packages to analyze genepix output. 1) how can I filter bad spots from my data (data contains 3 types of bad spots). my experiment contains 12 samples and the bad spot are not associated to the same probes 2) how can I remove control probes from my data

[R] hblm program: porting from Splus to R

2006-12-17 Thread David Rindskopf
I am replying to the email below my signature; it is nominally about dmp files, but apparently specific to problems with Bill DuMouchel's hblm program. I have been using this program on Splus for years, and ran into some of the same problems Jack did in trying to get it into R. I talked with

[R] Start Matlab server in R 2.4.0

2006-12-17 Thread Aimin Yan
In order to start matlab server in R , I using the following commands getwd() setwd(D:\R_matlab) install.packages(R.oo) install.packages(R.matlab) install.packages(R.utils) library(R.matlab) Matlab$startServer() a minimized MATLAB Command Window come out, but I can't make this window become

[R] Find S4 Generic?

2006-12-17 Thread Spencer Graves
How can I get the R code for E in the distrEx package? The function call 'dumpMethods(E, E.R)' created E.R in the working directory. Unfortunately, it apparently contains 0 bytes. Thanks, Spencer Graves __

Re: [R] Draw a circle on a filled.contour() plot

2006-12-17 Thread Jean . Coursol
Use my function filled.next: filled.next - function(fun) { mar.orig - mar - par(mar) w - (3 + mar[2]) * par(csi) * 2.54 layout(matrix(c(2, 1), nc = 2), widths = c(1, lcm(w))) mar[4] - 1 par(mar = mar) par(mfg=c(1,2)) par(new=TRUE)

Re: [R] Query regarding linking R with Matlab

2006-12-17 Thread Henrik Bengtsson
Hi, what operating system are you on and what version of Matlab do you have? In general you should be able to get started with R.matlab by first installing all required packages from CRAN: install.packages(c(R.oo, R.utils, R.matlab)) Then load the package: library(R.matlab) From there just

Re: [R] Start Matlab server in R 2.4.0

2006-12-17 Thread Henrik Bengtsson
Hi. On 12/18/06, Aimin Yan [EMAIL PROTECTED] wrote: In order to start matlab server in R , I using the following commands getwd() setwd(D:\R_matlab) install.packages(R.oo) install.packages(R.matlab) install.packages(R.utils) library(R.matlab) Matlab$startServer() a minimized MATLAB

[R] fischer.test help

2006-12-17 Thread Milton Cezar Ribeiro
Hi there, I´m trying to follow the reading of the book The Nature of Scientific Evidence (by Mark Taper and Subhash Lele) using R. I would like to preparar R scritps from the exercises of this book available to world wide community. To do so, I will need some help of our R-helpers;

Re: [R] Find S4 Generic?

2006-12-17 Thread Prof Brian Ripley
Do you want E (type 'E') or its methods (getMethods(E) works for me)? On Sun, 17 Dec 2006, Spencer Graves wrote: How can I get the R code for E in the distrEx package? The function call 'dumpMethods(E, E.R)' created E.R in the working directory. Unfortunately, it apparently contains 0

Re: [R] fischer.test help

2006-12-17 Thread Peter Dalgaard
Milton Cezar Ribeiro wrote: Hi there, I´m trying to follow the reading of the book The Nature of Scientific Evidence (by Mark Taper and Subhash Lele) using R. I would like to preparar R scritps from the exercises of this book available to world wide community. To do so, I will need

[R] surface3d grid from xyz dataframe

2006-12-17 Thread Alexander.Herr
Hi List, I am trying to plot a grid with an overlayed height. I have a dataframe with four variables: x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid points), I assign colors through the gridvalue using map_color_gradient thus producing: x,y,gridvalue,height,gridcol as

Re: [R] surface3d grid from xyz dataframe

2006-12-17 Thread Duncan Murdoch
On 12/17/2006 7:56 PM, [EMAIL PROTECTED] wrote: Hi List, I am trying to plot a grid with an overlayed height. I have a dataframe with four variables: x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid points), I assign colors through the gridvalue using

[R] Rmath: R libraries from C on Mac OS X

2006-12-17 Thread Murali Haran
Dear R-experts, I have been having trouble using R's standalone random number generators from C on my Mac OS X 10.4.8 system. I try to compile my C program in the following way: gcc -Wall -o helloMac helloMac.c -lm -lRmath I get the following error: /usr/bin/ld: can't locate file for: -lRmath

[R] proc GLM with R

2006-12-17 Thread Cressoni, Massimo \(NIH/NHLBI\) [F]
I want to migrate from SAS to R. I used proc mixed to do comparison between multiple groups and to perform multiple comparison between groups since, as far as I know, proc mixed does not make assumptions about the data and so it is better than a simple anova (data must only be normal). Es. how

Re: [R] Rmath: R libraries from C on Mac OS X

2006-12-17 Thread Dirk Eddelbuettel
On 17 December 2006 at 23:19, Murali Haran wrote: | I have been having trouble using R's standalone random number generators | from C on my Mac OS X 10.4.8 system. | | I try to compile my C program in the following way: | gcc -Wall -o helloMac helloMac.c -lm -lRmath | I get the following error:

[R] Replacing labels with symbols in biplot

2006-12-17 Thread Mat.Vanderklift
Dear all I would like to replace labels for x in biplot() with symbols (points) that will visually illustrate different classes/groups. After an unsuccessful search through the documents and archives, I turn to the list for help - any suggestions that can point me in the right direction? Thanks