Re: [R] selecting by date (was Matrix Indexing)

2004-11-07 Thread Prof Brian Ripley
This is about indexing a data frame: `matrix indexing' is something different. On Sun, 7 Nov 2004, Kim Fai Wong wrote: > Hi, > > I have the following problem. > In a csv file I have under column A, the date, and column B, the prices. > Thus, for example, the file looks something like this -> >

Re: [R] Matrix Indexing

2004-11-07 Thread Gabor Grothendieck
Kim Fai Wong hotmail.com> writes: : : Hi, : : I have the following problem. : In a csv file I have under column A, the date, and column B, the prices. : Thus, for example, the file looks something like this -> : : 1/31/04 2.5 : 2/1/042.6 : ... : 4/12/04 3.5 : : Basically,

[R] Matrix Indexing

2004-11-07 Thread Kim Fai Wong
Hi, I have the following problem. In a csv file I have under column A, the date, and column B, the prices. Thus, for example, the file looks something like this -> 1/31/04 2.5 2/1/042.6 ... 4/12/04 3.5 Basically, I use the function inputframe = read.csv( ) which reads the csv fi

Re: [R] Suggested color schemes for points, not regions?

2004-11-07 Thread Ross Ihaka
[EMAIL PROTECTED] wrote: I have seen a couple of posts about color schemes like those at the ColorBrewer site. Most recently: http://geography.uoregon.edu/datagraphics/color_scales.htm These color schemes can work very well for regions (bars, polygons, images, etc.) but are not very suitable for p

RE: [R] boxplot in extreme cases

2004-11-07 Thread Liaw, Andy
Try: x <- list(x1=rep(c(0,1,2),c(10,20,40)), x2=rep(c(0,1,2),c(10,40,20))) boxplot(x, pars=list(medpch=20, medcex=3)) (Cf ?bxp, pointed to from ?boxplot.) Andy > From: Erich Neuwirth > > I noticed the following: > the 2 datasets > rep(c(0,1,2),c(10,20,40)) and > rep(c(0,1,2),c(10,40,20)) > pro

[R] boxplot in extreme cases

2004-11-07 Thread Erich Neuwirth
I noticed the following: the 2 datasets rep(c(0,1,2),c(10,20,40)) and rep(c(0,1,2),c(10,40,20)) produce identical boxplots despite the fact that the medians are different. The reason is that the median in one case coincides with the first quartile, and in the second case with the third quartile. I

[R] Re : QTL interval mapping for outbred population

2004-11-07 Thread ssim
Dear lists, Is there an add-on package in R for QTL interval mapping for outbred population, eg. Haley-Knott regression method ? Tanx Stella ___ This message, including attachments, is confidential. If you are not the intend

Re: [R] Problem with dyn.load()

2004-11-07 Thread O. Neto
Prof. Ripley, I would, initially, thank you for help me. I did what you did say, I called that dll ( by "teste.dll" as wrote in ?dyn.load). It did not work. I make a new dll for testing and again, it didn´t work, the same message appears. I don´t know how I fix it. I have no idea. I´l

[R] Re: diga

2004-11-07 Thread scott
I'm sorry, but because I have been receiving more than 200 junk-mail messages an hour, I no longer accept e-mail from unregistered senders. To send me a message, please follow the path that best describes your needs: Business Contacts - 1. Register as a valid sender by visiting

RE: [R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread H Patrick Giraudoux
Dear all, Following John Fox and Brian Ripley instructions, things come better. I still get errors but they just come at the first step from unappropriate DESCRIPTION file (which was expected: I just wanted to check if the software installation was OK for building packages with the "crude" AnE

Re: [R] Using GNU R on a two box "cluster"

2004-11-07 Thread Thomas Schönhoff
Hello, Dirk Eddelbuettel schrieb: On Sun, Nov 07, 2004 at 11:42:33AM +0100, Thomas Sch?nhoff wrote: right now I'm thinking about running R 2.0.0 on box A (Debian SID) but at the same time having access to the ressources of box B (Ubuntu Linux) regarding disk capacity, RAM, idle CPU cycles . Is th

Re: [R] Calling Other (non-C or Fortran) Programs from R

2004-11-07 Thread Prof Brian Ripley
On Sun, 7 Nov 2004, Duncan Murdoch wrote: > On Sun, 7 Nov 2004 08:50:25 -0600, Tim F Liao <[EMAIL PROTECTED]> wrote: > > >Hi! > > > >I wonder if anyone has experiences of calling other programs > >from R (i.e., not C or Fortran programs). > > > >Specifically I want to call LEM from R and execute

Re: [R] Calling Other (non-C or Fortran) Programs from R

2004-11-07 Thread Duncan Murdoch
On Sun, 7 Nov 2004 08:50:25 -0600, Tim F Liao <[EMAIL PROTECTED]> wrote: >Hi! > >I wonder if anyone has experiences of calling other programs >from R (i.e., not C or Fortran programs). > >Specifically I want to call LEM from R and execute it in a >loop to process its output in R. Thanks, I don

Re: [R] Using GNU R on a two box "cluster"

2004-11-07 Thread Dirk Eddelbuettel
On Sun, Nov 07, 2004 at 11:42:33AM +0100, Thomas Sch?nhoff wrote: > right now I'm thinking about running R 2.0.0 on box A (Debian SID) but > at the same time having access to the ressources of box B (Ubuntu > Linux) regarding disk capacity, RAM, idle CPU cycles . Is there anyone > of you that ha

Re: [R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread Gabor Grothendieck
John Fox mcmaster.ca> writes: > > Building Simple Packages Under R for Windows > > 2. Make sure R is *not* installed under c:\Program Files (or in any location > with spaces in the path) and that it is installed with package-building > tools. I use c:\R for the installation; I'll assume this

Re: [R] Problem with dyn.load()

2004-11-07 Thread Prof Brian Ripley
Please do read the help file before posting. as the posting guide asks. ?dyn.load says x: a character string giving the pathname to a shared library or DLL. Your DLL is "teste.dll", not "teste": you probably do have a file "teste" that is not a DLL or you would get a more inform

[R] Problem with dyn.load()

2004-11-07 Thread O. Neto
Hi! I am studying C language to run with R 2.0.0. My system (Windows ME /BR) is configured to run RCMD ( I have installed ActivePerl, Rtools and MinGW as indicated in http://www.murdoch-sutherland.com/Rtools/ an with correct path). I would like run the coded write below named conv.c (Example fro

RE: [R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread John Fox
Dear Patrick, I've prepared some basic instructions and a batch file for building simple packages under Windows and have given them to several people who have experienced problems. I've hesitated to send them to this list since they really just duplicate information available elsewhere, and becaus

Re: [R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread Prof Brian Ripley
On Sun, 7 Nov 2004, H Patrick Giraudoux wrote: > Dear listers, > > I have developped a set of functions that I would like to package on a > Windows XP plateform for some friends (this would be more simple than to > deliver them as a source text file without handy help). I am working under > Wi

Re: [R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread Gabor Grothendieck
H Patrick Giraudoux univ-fcomte.fr> writes: : : Dear listers, : : I have developped a set of functions that I would like to package on a : Windows XP plateform for some friends (this would be more simple than to : deliver them as a source text file without handy help). I am working under : W

[R] Calling Other (non-C or Fortran) Programs from R

2004-11-07 Thread Tim F Liao
Hi! I wonder if anyone has experiences of calling other programs from R (i.e., not C or Fortran programs). Specifically I want to call LEM from R and execute it in a loop to process its output in R. Thanks, Tim Liao __ [EMAIL PROTECTED] mailing lis

[R] writing a simple package in R 2.0 under Windows XP

2004-11-07 Thread H Patrick Giraudoux
Dear listers, I have developped a set of functions that I would like to package on a Windows XP plateform for some friends (this would be more simple than to deliver them as a source text file without handy help). I am working under Windows XP. Of course I have gone through the manual "Writing

Re: [R] Using GNU R on a two box "cluster"

2004-11-07 Thread Dan Bolser
On Sun, 7 Nov 2004, [ISO-8859-15] Thomas Schönhoff wrote: >Hello, > >right now I'm thinking about running R 2.0.0 on box A (Debian SID) but >at the same time having access to the ressources of box B (Ubuntu >Linux) regarding disk capacity, RAM, idle CPU cycles . Is there anyone >of you that has

[R] Using GNU R on a two box "cluster"

2004-11-07 Thread Thomas Schönhoff
Hello, right now I'm thinking about running R 2.0.0 on box A (Debian SID) but at the same time having access to the ressources of box B (Ubuntu Linux) regarding disk capacity, RAM, idle CPU cycles . Is there anyone of you that has already installed and administred such a tiny (home based) clust

[R] Asking about a program

2004-11-07 Thread Brian Chu
Hi, I would like to ask that in my program, I would like to estimate the Ripley's K-function and the root-mean-squared error using different approaches (torus, border,isotropic,Ripley and translate). When I run this program in R, R gives me this sentence: Error in hist.default(x, breaks