[R] Plotting and Decluttering Text

2004-12-19 Thread Al Piszcz
Goal: adjust overlapping 'text' items in plot so they are legible I have located 'space' as one possible technique for decluttering text positions on a plot. I would rather not jitter the plot point, just the text nearby. Are there other techniques or functions available that declutters a plot

Re: [R] prcomp help

2004-06-03 Thread Al Piszcz
Thanks. This is now OBE, I downloaded the R-Patched version from 30 May, added the VR bundle and am all set for now. On Thu, 3 Jun 2004, Prof Brian Ripley wrote: Date: Thu, 3 Jun 2004 23:01:08 +0100 (BST) From: Prof Brian Ripley [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: Uwe Ligges

[R] prcomp help

2004-05-30 Thread Al Piszcz
Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM example(prcomp) never finishes example(prcomp) prcomp data(USArrests) prcomp prcomp(USArrests) The following test also appears to hang. a-matrix(rnorm(100,mean=32,sd=31),10,10) b-prcomp(a) What is the recommended debug approach? Thank you.

Re: [R] prcomp help

2004-05-30 Thread Al Piszcz
: Date: Sun, 30 May 2004 22:01:58 +0200 From: Uwe Ligges [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] prcomp help Al Piszcz wrote: Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM example(prcomp) never finishes example(prcomp) prcomp data(USArrests) prcomp prcomp

Re: [R] prcomp help

2004-05-30 Thread Al Piszcz
May 2004 22:01:58 +0200 From: Uwe Ligges [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] prcomp help Al Piszcz wrote: Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM example(prcomp) never finishes example(prcomp) prcomp data(USArrests) prcomp prcomp(USArrests

Re: [R] prcomp help

2004-05-30 Thread Al Piszcz
headers (still with some warnings). On Sun, 30 May 2004, Al Piszcz wrote: Date: Sun, 30 May 2004 16:27:39 -0400 (EDT) From: Al Piszcz [EMAIL PROTECTED] To: Uwe Ligges [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] prcomp help There may be some compilation issues with XFree86 4.4.0 gcc -Wl

Re: [R] prcomp help

2004-05-30 Thread Al Piszcz
:58 +0200 From: Uwe Ligges [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] prcomp help Al Piszcz wrote: Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM example(prcomp) never finishes example(prcomp) prcomp data(USArrests) prcomp prcomp(USArrests

Re: [R] prcomp help

2004-05-30 Thread Al Piszcz
I downloaded and built the development version of R dated 30 May. make check, and prcomp were successful. On Sun, 30 May 2004, Uwe Ligges wrote: Date: Sun, 30 May 2004 22:01:58 +0200 From: Uwe Ligges [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] prcomp

[R] par(yaxp) linear versus log tick mark coordinates

2004-03-27 Thread Al Piszcz
As a linear axis I obtain the correct number of intervals for the tick marks. source(test-lin.r) par(yaxp) [1] 0 2 4 However log returns 1? source(test-log.r) par(yaxp) [1] 1 1 1 I'll use log10(par(yaxp)[2]) for now. I was wondering why '1' is returned instead

[R] Comment: R patterns

2004-02-11 Thread Al Piszcz
A number of the threads that occur in this mail list are excellent descriptions of usage patterns with R. Is anyone developing a catalog of these? The recent 'try' thread and many others are examples that may have value as a separate document or to be merged with the package help documentation.

[R] Session logging

2003-12-13 Thread Al Piszcz
another option in LINUX/UNIX is 'script' $ script R etc. $ CTRL-D script - make typescript of terminal session SYNOPSIS script [-a] [-f] [-q] [-t] [file] DESCRIPTION Script makes a typescript of everything printed on your terminal. It is useful for students who need a

[R] plotCI : Disabling X axis labels ?

2003-11-26 Thread Al Piszcz
I have my own set of labels for the X axis and typically apply them to other plot modes using: axis(1,at=1:n,labels=xLabels) Where n is the number of character strings in xLabels Is there a parameter to disable plotCI from creating its default labels for the X axis?

[R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
In R 1.8.1 the following fragment worked properly, now (1.8.1) it creates the following warning/error: Any advice appreciated. stt - data.frame() # load all datasets into a dataframe for (ds in 1:n) { stt[ds] - as.matrix(read.table(fileList[ds])) } -- stt - data.frame() #

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
: Sat, 22 Nov 2003 18:41:55 + (GMT) From: Prof Brian Ripley [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] 1.8.1 behavior change? On Sat, 22 Nov 2003, Al Piszcz wrote: In R 1.8.1 the following fragment worked properly, now (1.8.1) I take it you

Re: [R] 1.8.1 behavior change? W EXAMPLE

2003-11-22 Thread Al Piszcz
= as.matrix(read.table(a))) : replacement has 3 rows, data has 0 On Sat, 22 Nov 2003, Prof Brian Ripley wrote: Date: Sat, 22 Nov 2003 18:41:55 + (GMT) From: Prof Brian Ripley [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] 1.8.1

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
Burns wrote: Date: Sat, 22 Nov 2003 21:25:56 + From: Patrick Burns [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Subject: Re: [R] 1.8.1 behavior change? I would suggest a list that is n long, or alternatively rbind the matrices together (assuming that the columns all have the same

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
That is what the last suggestion was and it works, see previous message from me. Thx again. I'm changing my code to use this method now. On Sat, 22 Nov 2003, Duncan Murdoch wrote: Date: Sat, 22 Nov 2003 17:10:39 -0500 From: Duncan Murdoch [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED

[R] mtext / expression and font type of bold

2003-08-28 Thread Al Piszcz
mtext does not appear to be rendering a 'bold' expression. Is there another parameter to set? Thx. example (does not create bold (font=2) on plot) mtext( font=2, expression(paste(y, = , x + z), side=3 ) __ [EMAIL PROTECTED] mailing list

[R] R scripts

2003-08-21 Thread Al Piszcz
I have two examples here first is real basic answers your question, second handles arguments. I am interested in getting a more robust command line parser for R, perhaps using PERL GetOpt::Long as a front end is the quickest solution. #1 (answers your question) === $ more Rb #!/bin/sh R

[R] Command processing of arguments

2003-08-15 Thread Al Piszcz
In the mail archives I found a solution that sets environment parameters. http://www.r-project.org/nocvs/mail/r-help/2001/5411.html However I would rather not create the temp files. - I am using the following method... :: File: Rba

[R] Thanks: batch package install advice

2003-08-14 Thread Al Piszcz
Thanks for the help, example follows. pkg-c(gregmisc,e1071,car,foreign,tree) install.packages(pkg,destdir=/tmp) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Comprehesive Package/Library list?

2003-08-14 Thread Al Piszcz
Is there a list of all contributed R libraries available through CRAN? Ideally it would include a one or two line description. I am looking for a packages() command similar to library() but that would access the CRAN repository and provide a listing of the current libraries, and version.

Re: [R] abline() plot order

2003-08-07 Thread Al Piszcz
Schwartz [EMAIL PROTECTED] To: Al Piszcz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] abline() plot order On Thu, 2003-08-07 at 11:07, Al Piszcz wrote: I am performing this sequence barplot title legend abline When abline renders the lines they appare to be in the layer

[R] abline() plot order

2003-08-07 Thread Al Piszcz
I am performing this sequence barplot title legend abline When abline renders the lines they appare to be in the layer above the bars in the graph. Is there a way to make them render first or 'behind' the bars? Thanks. __ [EMAIL PROTECTED] mailing