Re: [R] Creating GUIs for R

2008-10-08 Thread [Ricardo Rodriguez] Your XEN ICT Team
Greg Snow wrote: Wade, What type of GUI do you want? Do you want a full GUI that the user runs to do everything (that uses R as the computational engine)? Look at R commander, JGR, and the R plugin for Excel as possible examples. Hi Wade, I am trying to introduce some users to R without

Re: [R] lme and lmer df's and F-statistics again

2008-10-08 Thread Dieter Menne
Bert Gunter gunter.berton at gene.com writes: I think we owe Doug Bates a little more respect than that! If you check my postings on the forum and on my homepage (subject: Gastric Emptying), you will find that there are few people that pay so much respect to Douglas Bates' contributions than I

Re: [R] Vertex enumeration and center of mass for convex polytops

2008-10-08 Thread Serguei Kaniovski
Hi Mosche, In my problem the polytope is defined not by its vertices, but by a set of linear equations and inequalities. Serguei Moshe Olshansky schrieb: Hi, If you know that all your points represent vertices of a convex polygon you do not need any special package. The center of mass is

Re: [R] question from Braun/Murdoch book

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, Erin Hodgess wrote: Hi R People: I am looking at the Braun/Murdoch book, A First Course in Statistical Programming in R, and I have a question about a function there. It's on page 52, Example 4.5; the sieve of Erastosthenes. There is a line: primes - c() Is there a

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread glaporta
Dear Michael, take a look at plotmeans in gplots library. library(gplots) example(plotmeans) Hope this helps, Gianandrea Michael Just wrote: Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead of density/count. I'd also like to

Re: [R] help to debug C codes called from R

2008-10-08 Thread Gábor Csárdi
This might be Linux specific, I have never tried it on anything else: R -d gdb library(your-package) CTRL+C break an-entry-point-in-your-package-to-debug c your-function-to-debug() Maybe see also the R extensions manual, Gabor On Wed, Oct 8, 2008 at 3:28 AM, Droit Arnaud [EMAIL PROTECTED]

Re: [R] question from Braun/Murdoch book

2008-10-08 Thread Wacek Kusnierczyk
Prof Brian Ripley wrote: On Wed, 8 Oct 2008, Erin Hodgess wrote: Hi R People: I am looking at the Braun/Murdoch book, A First Course in Statistical Programming in R, and I have a question about a function there. It's on page 52, Example 4.5; the sieve of Erastosthenes. There is a line:

[R] print results from R

2008-10-08 Thread gallon li
I want to print the following multiple boxes of output from R. - 1st stage |2nd stage | 3rd stage | x1|x2 | x3| | |

Re: [R] R and Multi threading

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, [EMAIL PROTECTED] wrote: Dear prof, and list! I'm wondering which are the steps to exploit multiple processors/cores if most of the processing time is due to C code dynamically loaded into R. I mean; e.g., a Monte Carlo analysis calls the C part a huge number of times, and

Re: [R] Ecological Niche Modelling on R

2008-10-08 Thread Clément Calenge
It's very kind of Stephen to plug my book, but it's notwhat you're looking for. You need to read more about this general topic, and aboutthe particular packages: try http://www.unine.ch/CSCF/grasp/grasp-r/index.htmlhttp://www.unine.ch/CSCF/grasp/ Based on downloading grasp , it doesn't

Re: [R] trouble with character \u00e2

2008-10-08 Thread Prof Brian Ripley
You haven't given any of the information asked for in the posting guide. But, assuming this is Windows in CP1252 (as I believe that has been your locale before), it works for me in current R. plot(1:10) file.label - foo savePlot(paste(diagnostic â vs a , file.label, .jpg, sep = ),

Re: [R] question from Braun/Murdoch book

2008-10-08 Thread Richard . Cotton
I am looking at the Braun/Murdoch book, A First Course in Statistical Programming in R, and I have a question about a function there. It's on page 52, Example 4.5; the sieve of Erastosthenes. There is a line: primes - c() Is there a difference between using that and primes - NULL

[R] issues with write.table

2008-10-08 Thread Foadi, J (James)
Dear R gurus and users, I'm having problems with the use of write.table. I have a 28-variables data frame create at each cycle of a loop; it can contain between 2000 and 3000 rows for each cycle. After each cycle the data frame is written out to a file with the append=TRUE option and then

Re: [R] Fw: MLE

2008-10-08 Thread Ted Harding
On 08-Oct-08 11:14:39, Ron Michael wrote: I made one typo in my previous mail. May I ask one statistics related question please? I have one query on MLE itself. It's property says that, for large sample size it is normally distributed [i.e. asymptotically normal]. On the other hand it is

Re: [R] Creating GUIs for R

2008-10-08 Thread Liviu Andronic
This is more or less the same information I posted recently that may be of help here. On Tue, Oct 7, 2008 at 8:32 PM, Wade Wall [EMAIL PROTECTED] wrote: What I am wanting to do is learn to build some simple GUIs for a limited number of functions. Basically, I am envisioning a screen with check

Re: [R] Fitting weibull, exponential and lognormal distributions to left-truncated data.

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, Gough Lauren wrote: Hi, Thank you very much for your reply. This seems to be working OK when fitting weibull and lognormal distributions. However, fitdistr now requires me to include start values: As documented. ltwei-function(x,shape,scale,log=FALSE){ +

Re: [R] question from Braun/Murdoch book

2008-10-08 Thread Duncan Murdoch
On 08/10/2008 1:48 AM, Erin Hodgess wrote: Hi R People: I am looking at the Braun/Murdoch book, A First Course in Statistical Programming in R, and I have a question about a function there. It's on page 52, Example 4.5; the sieve of Erastosthenes. There is a line: primes - c() Is there a

Re: [R] help to debug C codes called from R

2008-10-08 Thread Duncan Murdoch
On 07/10/2008 9:28 PM, Droit Arnaud wrote: Hello everybody, I have a package with a C codes called from R. I want to debug the C functions to check variables values and to include some breakpoints in the C codes. I am wondering if anyone knows of any tools to easily help debug in the R

Re: [R] Programing and writing function help

2008-10-08 Thread Jim Lemon
Stephen Cole wrote: ... I have a vector of 20 values x - c(20,18, 45, 16, 47, 47, 15, 26, 14,14,12,16,35,27,18,94,16,26,26,30) 1. I want to select random pairs from this data set but do it without replacement exhaustively matrix(x[sample(1:20,20)],nrow=2) then step through the columns of

Re: [R] trouble with character \u00e2

2008-10-08 Thread Charles Annis, P.E.
Thank you, Professor Ripley: Your example works for me too. plot(1:10, xlab = a, ylab = â) file.label - EXAMPLE 1 â vs a.xls savePlot(paste(diagnostic â vs a , file.label, .jpg, sep = ), type = jpg) But, if I read-in the file name using file.choose() I get the same corrupted output

Re: [R] Programing and writing function help

2008-10-08 Thread Erin Hodgess
Actually, you will have duplicates with 400 pairs. Here you will have 13^2 pairs with replacement and 13*12 pairs without replacement and with regard to order. How about this: z - unique(x) y - expand.grid(z[1:13],z[1:13]) xx - y[,1] != y[,2] y[xx,] Just another thought. Erin On Wed, Oct

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Jim Lemon
Michael Just wrote: Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead of density/count. I'd also like to use groups and plot error or confidence interval bars on these graphs. I know this is a read the manual situation. I'd appreciate

Re: [R] Ecological Niche Modelling on R

2008-10-08 Thread milton ruser
Dear All, Thanks for all very interesting replies. In fact I have read all the recent publications on ENM (Ecological Niche Modeling), and many of them use GARP (Genetic Algorithm for Rule Prediction; sensu STockwell Peterson 2001) and Maxent (Maximum Entropy sensu Philips Dudik, 2008a, b)

[R] Suspicious output from lme4-mcmcsamp

2008-10-08 Thread De Woody J.A.
Hello, R community, I have been using the lmer and mcmcsamp functions in R with some difficulty. I do not believe this is my code or data, however, because my attempts to use the sample code and 'sleepstudy' data provided with the lme4 packaged (and used on several R-Wiki pages) do not return

[R] partial autocorrelation plots ACF type=p

2008-10-08 Thread Tonker
Dear users, I have two continuous variables which are two different measures taken each year from 1975 to 2005. I want to see if the two variables are correlated but need to take into account the fact that they are a time series. I have been following an example from 'The R Book' where you plot

Re: [R] Programing and writing function help

2008-10-08 Thread Erin Hodgess
For all possible pairs, you'll have 20^2 pairs. This is a way to do it: expand.grid(x[1:20],x[1:20]) HTH, Erin On Wed, Oct 8, 2008 at 4:43 AM, Jim Lemon [EMAIL PROTECTED] wrote: Stephen Cole wrote: ... I have a vector of 20 values x - c(20,18, 45, 16, 47, 47, 15, 26,

Re: [R] Factor tutorial?

2008-10-08 Thread rkevinburton
Thank you very much. This will give me something to chew on for quite some time. Kevin [EMAIL PROTECTED] wrote: On 07-Oct-08 22:23:22, Bert Gunter wrote: But it **is** indexed in both of VR's MASS and S Programming. I have no idea whether the info there will be helpful to you, of

[R] Fw: MLE

2008-10-08 Thread Ron Michael
I made one typo in my previous mail.   May I ask one statistics related question please? I have one query on MLE itself. It's property says that, for large sample size it is normally distributed [i.e. asymptotically normal]. On the other hand it is Consistent as well. My doubt is, how this

[R] MLE

2008-10-08 Thread Ron Michael
May I ask one statistics related question please? I have one query on MLE itself. It's property says that, for large sample size it is normally distributed [i.e. asymptotically normal]. On the other hand it is Efficient as well. My doubt is, how this two asymptotic properties exist

Re: [R] Creating GUIs for R

2008-10-08 Thread Michael Lawrence
On Tue, Oct 7, 2008 at 10:32 AM, Wade Wall [EMAIL PROTECTED] wrote: Sorry that my post wasn't very clear. What I am wanting to do is learn to build some simple GUIs for a limited number of functions. Basically, I am envisioning a screen with check boxes, a drop down menu etc. that users

Re: [R] trouble with character \u00e2

2008-10-08 Thread Prof Brian Ripley
That also works without a hitch on my box, even in vanilla 2.7.2. What exactly is in file.label as given by charToRaw(file.label) Encoding(file.label) ? It should be in UTF-8, and so should paste(diagnostic â vs a , file.label, .jpg, sep = ) It looks like the latter is not being treated as

Re: [R] Suspicious output from lme4-mcmcsamp

2008-10-08 Thread Dieter Menne
De Woody J.A. j.dewoody at soton.ac.uk writes: For instance: fm1 - lmer(Reaction ~ Days + (Days|Subject), sleepstudy) sm1 - mcmcsamp(fm1, 5000) Error in .local(object, n, verbose, ...) : Code for non-trivial theta_T not yet written Douglas Bates mentions this as a reminder to himself

[R] histogram loses top row with alpha transparency under Windows

2008-10-08 Thread Keith Ponting
Hello all. Trying to use transparency for overlaid histogram plots I have come across an interesting inconsistency, possibly a bug when running under Windows. Originally noticed in R 2.7.1, it is still there in 2.8.0 beta. library(lattice) zz - function(n,alpha) { ranges - NULL for(ds in

[R] par(new = TRUE) - overplotting

2008-10-08 Thread Antje
Hi everybody, I want to create some boxplots (as png) within an lapply method. To get nice gridlines behind the boxplot, I plotted it twice and therefore I set par(new=TRUE). This works nicely for the first plot but the second does plot on the first plot too and creates a mess... How can I

[R] Error in spdep: system is computationally singular

2008-10-08 Thread Alberto Jiménez Valverde
Hi all, I am trying to run an autologistic model using the function errorsarlm from spdep package. **I built an XY matrix extracting the two colums from matriz** coords1-matriz[matriz$casos1==1, c(4,5)] coords1-as.matrix(coords1) **I identify neighbours of region points**

[R] rgl_081.708: rgl.snapshot fails, causing persistent problems

2008-10-08 Thread Michael Friendly
*Summary*: The latest Windows binary version of rgl_081.708 from R-Forge has some problem that causes rgl.snapshot() to fail, at least on my system. Thereafter, *all* rgl 3D graphics are rendered without any text labels. The last problem remains even after (a) removing rgl and re-installing

Re: [R] trouble with character \u00e2

2008-10-08 Thread Charles Annis, P.E.
Thank you Professor: After reading in the file this is what I see: file.label [1] EXAMPLE 1 â vs a.xls charToRaw(file.label) [1] 45 58 41 4d 50 4c 45 20 31 20 c3 a2 20 76 73 20 61 2e 78 6c 73 Encoding(file.label) [1] UTF-8 Encoding(paste(diagnostic â vs a , file.label, .jpg, sep = )) [1]

[R] ParallelR

2008-10-08 Thread Chi Chan
Anyone using or has access to ParallelR? I was looking at the page and found nothing really useful! http://www.revolution-computing.com/sitegenius/topic.php?id=195 I want to see if I can run R on a cluster of workstation, and use batch systems like Grid Engine or Xgrid:

[R] How to join the two tables based on one overlapped column

2008-10-08 Thread ss
Dear list, I need some clues on this. I have two excel files and I basically want to map one to the other one. Can you give me some hints how to do it? The first excel file, named as Susan_probe.xls, there are two columns, PROBE_ID1 and SEARCH_KEY1 PROBE_ID1 SEARCH_KEY1 ILMN_30212

Re: [R] How to join the two tables based on one overlapped column

2008-10-08 Thread Daniel Malter
dataToMerge=data.frame(yourtablename2$PROBE_ID2, yourtablename2$SEARCH_KEY2) ##Puts the two columns of interest in dataset 2 in a separate data frame. mergedData=merge(yourtablename1,dataToMerge,by.x=SEARCH_KEY1,by.y=SEARCH_KEY 2,all.x=T,all.y=F) ##merges the first table with the data frame just

Re: [R] ParallelR

2008-10-08 Thread Erin Hodgess
Hi! Have you looked at snow, snowfall, Rmpi, or rparallel, please? Hope this helps, Sincerely, Erin On Wed, Oct 8, 2008 at 10:14 AM, Chi Chan [EMAIL PROTECTED] wrote: Anyone using or has access to ParallelR? I was looking at the page and found nothing really useful!

Re: [R] par(new = TRUE) - overplotting

2008-10-08 Thread Dieter Menne
Antje niederlein-rstat at yahoo.de writes: I want to create some boxplots (as png) within an lapply method. To get nice gridlines behind the boxplot, I plotted it twice and therefore I set par(new=TRUE). This works nicely for the first plot but the second does plot on the first plot

Re: [R] lme and lmer df's and F-statistics again

2008-10-08 Thread Julia S.
Hm. Bert Gunter wrote: that even the most technical aspects of the discipline can be made manifest to anyone with half a brain and a stat 101 course under their belt. I don't think this is something I can use in a rebuttal. The reviewer may be offended and reviewers are people one does

Re: [R] rgl_081.708: rgl.snapshot fails, causing persistent problems

2008-10-08 Thread John Fox
Dear Michael, I haven't tried rgl.snapshot() in the development version of rgl, so I can't comment on that, but I believe that these are two unrelated problems. I think that the version of rgl on CRAN fails to display text when rgl.* and *3d function calls are mixed, while this works in the

Re: [R] lme and lmer df's and F-statistics again

2008-10-08 Thread Julia S.
Hi there, thanks for your help. I did read Bates statement several times, and I am very glad and thankful that many statisticians spend much time on this. The problem is, as Dieter pointed it out, that many end users often have to use statistics without being able to fully understand the math

[R] Space between bars in barplot

2008-10-08 Thread mentor_
Hi, with the space parameter it is possible to change the gap / distance between the bars, but is it also possible to change the space after each 6th bar? So for example you have bars from 1 to 6 then a large gap and then the next six bars from 7 to 12 Thanks a lot! -- View this message in

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for examples. On Tue, 2008-10-07 at 23:31 -0500, Michael Just wrote: Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead

[R] help for compile sjava

2008-10-08 Thread Jacky Huang
Dear duncan, I'm writing to ask you for some help about compiling SJava. I encounter some errors when I compiled SJava on Window XP: Building JNI header files... Extracting the classes from Environment.jar /jdk1.3/bin/jar: not found RForeignReference After executing command sh

Re: [R] Using grep

2008-10-08 Thread Christos Hatzis
which(A %in% B) -Christos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mentor_ Sent: Wednesday, October 08, 2008 11:19 AM To: r-help@r-project.org Subject: [R] Using grep Hi, I have a vector A with (200, 201, 202, 203, 204, ... 210)

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread hadley wickham
On Tue, Oct 7, 2008 at 11:31 PM, Michael Just [EMAIL PROTECTED] wrote: Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead of density/count. I'd also like to use groups and plot error or confidence interval bars on these graphs. I know

Re: [R] Using grep

2008-10-08 Thread Erin Hodgess
Here is a possible solution: A [1] 200 201 202 203 204 205 206 207 208 209 210 B [1] 201 204 209 which(!is.na(match(A,B))) [1] 2 5 10 Hope this helps, Sincerely, Erin On Wed, Oct 8, 2008 at 10:19 AM, mentor_ [EMAIL PROTECTED] wrote: Hi, I have a vector A with (200, 201, 202, 203,

Re: [R] Using grep

2008-10-08 Thread Doran, Harold
A - seq(200,210,1) B - c(201,204,209) which(A %in% B) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mentor_ Sent: Wednesday, October 08, 2008 11:19 AM To: r-help@r-project.org Subject: [R] Using grep Hi, I have a vector A with (200,

[R] extracting a subset of sublists form a list; vectorized form

2008-10-08 Thread jgarcia
Hello; I'll put my real problem through a simple example: I've got a main list: main.lst - lst() With a number of sublists: for(i in 1:1000){ main.lst[[i]] - list() main.lst[[i]]$first - runif(1,0,1) main.lst[[i]]$second - runif(2,3,4) } If later on I need to split this list, how

Re: [R] rgl_081.708: rgl.snapshot fails, causing persistent problems

2008-10-08 Thread Michael Friendly
Thanks, John What you say about mixing rgl.* and *3d calls may be true, but that is not my problem. After this occurred, I tried many things, but reduced it to the smallest, most basic example (in my original post), using only plot3d(), that worked perfectly in both the CRAN and R-Forge

Re: [R] Using grep

2008-10-08 Thread Ted Harding
On 08-Oct-08 15:19:02, mentor_ wrote: Hi, I have a vector A with (200, 201, 202, 203, 204, ... 210) and a vector B with (201, 204, 209). Now I would like to get the position in vector A matches with the entries in vector B So what I want to have is the following result: [1] 2 5 10 First of

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Dylan Beaudette
On Wednesday 08 October 2008, Manuel Morales wrote: Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for examples. On Tue, 2008-10-07 at 23:31 -0500, Michael Just wrote: Hello, I'd appreciate a suggestion on how to construct

Re: [R] lme and lmer df's and F-statistics again

2008-10-08 Thread Peter Dalgaard
Julia S. wrote: Hi there, thanks for your help. I did read Bates statement several times, and I am very glad and thankful that many statisticians spend much time on this. The problem is, as Dieter pointed it out, that many end users often have to use statistics without being able to fully

Re: [R] help for compile sjava

2008-10-08 Thread Martin Morgan
Jacky -- Duncan has kindly allowed me to maintain SJava. A current version is not readily available, but I will provide you with some help off-list (and arrange for more public dissemination soon). Martin Jacky Huang wrote: Dear duncan, I'm writing to ask you for some help about compiling

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Michael Just
Thank you all for you suggestions. They are all helpful. However, I have come to a more fundamental problem. Preparing my data to even make such a graph. I thought I was ready. I will obviously need to find the n, mean, and confidence interval for my data before I can plot them. for some of these

Re: [R] trouble with character \u00e2

2008-10-08 Thread Prof Brian Ripley
Can you please try a 2.8.0 beta build? I have a suspicion as to what might be going on, and it cannot happen there. If my guess is correct, nfile - paste(diagnostic â vs a , file.label, .jpg, sep = ) savePlot(path.expand(nfile), type=jpg) may work for you in 2.7.2 (but as I said, I wasn't

[R] Observed responses in 'augPred' data frame - Wrong order ?

2008-10-08 Thread Marco Barbàra
Dea-R community. I'd like to draw your attention to an issue I have recently encountered while doing my current data analysis. I've got an unexpected (to me) result from the command: augPred(lmList(my.object)), 'my.object' being a grouped data frame of class: class(my.object) [1]

[R] Quantiles of weighted sample

2008-10-08 Thread Giovanni Petris
Hello! I am wondering if there is a function in R that returns quantiles of a weighted sample, i.e., a set of values, each coming with a different weight. The function quantile() does that only for the case when the weights are all equal. In other words, I am looking for a quantile function

Re: [R] Quantiles of weighted sample

2008-10-08 Thread roger koenker
see http://www.nabble.com/weighted-quantiles-to19864562.html#a19865869 url:www.econ.uiuc.edu/~rogerRoger Koenker email[EMAIL PROTECTED]Department of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678

[R] Trouble with word-wrapping and other Tinn-R options

2008-10-08 Thread Glen A Sargeant
I'm running R 2.7.1 with Tinn-R 2.0.0.7 and Windows XP Professional. I have write privileges to the folders containing my R installation, my Tinn-R installation, and my Tinn-R initialization settings. I installed R first, followed by Tinn-R. I have modified my RProfile.site file (in Tinn-R,

[R] R seven years ago

2008-10-08 Thread Liviu Andronic
Hello everyone, As some may know, today Google unveiled its 2001 search index [1]. I was curious to see how was R like at that time, and was not disappointed. Compared to today's main page [2], seven years ago the page looked [3] a bit rudimentary, especially the graphic. (It is wort noting that

Re: [R] Space between bars in barplot

2008-10-08 Thread Dieter Menne
mentor_ mentor_ at gmx.net writes: with the space parameter it is possible to change the gap / distance between the bars, but is it also possible to change the space after each 6th bar? So for example you have bars from 1 to 6 then a large gap and then the next six bars from 7 to 12 Space

Re: [R] Fitting weibull, exponential and lognormal distributions to left-truncated data.

2008-10-08 Thread Göran Broström
The package 'eha' fits these distributions (and more) with general left truncation and right censoring, and also regression models a la survreg. Look at 'phreg' for parametric proportional hazards models and 'aftreg' for accelerated failure time models. In your case of no covariates, the two

Re: [R] extracting a subset of sublists form a list; vectorized form

2008-10-08 Thread Claudia Beleites
Dear Javier, sublists, to be passed to a function, sintaxis like this won't work: sublist - main.lst[[1:4]] are you looking for: sublist - main.lst[1:4] HTH Claudia __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Axes limits in rgl.surface (again)

2008-10-08 Thread Kevin Wright
An earlier post asked about limiting the z-axis range. I have the opposite problem. I need to expand the z-axis range in order to reduce the vertical relief on the surface plot (i.e. make it flatter). Any suggestions on how to do that? Kevin __

Re: [R] R seven years ago

2008-10-08 Thread Ted Harding
On 08-Oct-08 18:00:27, Liviu Andronic wrote: Hello everyone, As some may know, today Google unveiled its 2001 search index [1]. I was curious to see how was R like at that time, and was not disappointed. Compared to today's main page [2], seven years ago the page looked [3] a bit

Re: [R] R seven years ago

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, Liviu Andronic wrote: Hello everyone, As some may know, today Google unveiled its 2001 search index [1]. I was curious to see how was R like at that time, and was not disappointed. Compared to today's main page [2], seven years ago the page looked [3] a bit rudimentary,

Re: [R] R seven years ago

2008-10-08 Thread Peter Dalgaard
(Ted Harding) wrote: On 08-Oct-08 18:00:27, Liviu Andronic wrote: Hello everyone, As some may know, today Google unveiled its 2001 search index [1]. I was curious to see how was R like at that time, and was not disappointed. Compared to today's main page [2], seven years ago the page

Re: [R] trouble with character \u00e2

2008-10-08 Thread Charles Annis, P.E.
Thank you Professor: Here is an example using R2.8.0 beta. It shows the coding to be latin1 I installed my package which requires rcom, RODBC, RColorBrewer, survival I was unable to find rcom in the packages drop-down menu. I tried mirrors USA(PA) and USA(PA2). rcom does appear in the menu

Re: [R] Axes limits in rgl.surface (again)

2008-10-08 Thread Duncan Murdoch
On 10/8/2008 2:28 PM, Kevin Wright wrote: An earlier post asked about limiting the z-axis range. I have the opposite problem. I need to expand the z-axis range in order to reduce the vertical relief on the surface plot (i.e. make it flatter). Any suggestions on how to do that? persp3d

Re: [R] Histogram colours in lattice.

2008-10-08 Thread Rolf Turner
On 8/10/2008, at 5:16 PM, Deepayan Sarkar wrote: On 10/7/08, Rolf Turner [EMAIL PROTECTED] wrote: I am trying to do a histogram lattice plot and I would like the histogram to be filled with a different colour in each panel. Note: I want every bar in each histogram to be the same colour,

Re: [R] question from Braun/Murdoch book

2008-10-08 Thread Rolf Turner
On 8/10/2008, at 6:48 PM, Erin Hodgess wrote: Hi R People: I am looking at the Braun/Murdoch book, A First Course in Statistical Programming in R, and I have a question about a function there. It's on page 52, Example 4.5; the sieve of Erastosthenes. There is a line: primes - c() Is there

Re: [R] lme and lmer df's and F-statistics again

2008-10-08 Thread Rolf Turner
On 9/10/2008, at 12:34 AM, Julia S. wrote: Hm. Bert Gunter wrote: that even the most technical aspects of the discipline can be made manifest to anyone with half a brain and a stat 101 course under their belt. I don't think this is something I can use in a rebuttal. The reviewer may

Re: [R] Quantiles of weighted sample

2008-10-08 Thread Thomas Lumley
On Wed, 8 Oct 2008, Giovanni Petris wrote: I am wondering if there is a function in R that returns quantiles of a weighted sample, i.e., a set of values, each coming with a different weight. The function quantile() does that only for the case when the weights are all equal. In other words, I am

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Dylan Beaudette
On Wednesday 08 October 2008, Manuel Morales wrote: On Wed, 2008-10-08 at 09:49 -0700, Dylan Beaudette wrote: On Wednesday 08 October 2008, Manuel Morales wrote: Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for

Re: [R] Ecological Niche Modelling on R

2008-10-08 Thread Kingsford Jones
On Wed, Oct 8, 2008 at 6:17 AM, milton ruser [EMAIL PROTECTED] wrote: [snip] Finally, in fact GRASP do what I am looking for, and I am starting to compare the results of this packages with other very wel- know softwares (DescktopGarp, Maxent, OpenModeller). If someone of you have suggestions

Re: [R] par(new = TRUE) - overplotting

2008-10-08 Thread Antje
Hi Dieter, thanks a lot for looking inside my code though it was not executable...(sorry for that). Finally, I found a rather stupid mistake. My original code did not use the variable i for the second boxplot. So the second round actually plotted two different data at the two calls... so it

[R] Strange horns on notched box plots

2008-10-08 Thread Frostygoat
Hi I'm getting a weird result when I try to switch from a normal box plot to a notched one. The ends of the box fold down toward the median giving a horned appearance. Is just the sample itself? It is small, but the un-notched plot looks okay. Anyway to fix this?

[R] Thank you very much for all your possible solutions!

2008-10-08 Thread mentor_
I also managed to get the right result but within a for loop ;) So I really appreciate your solutions! Thanks a lot! -- View this message in context: http://www.nabble.com/Using-grep-tp19881017p19882769.html Sent from the R help mailing list archive at Nabble.com.

[R] Re move repeated values

2008-10-08 Thread kathie
Dear R users, I'd like to make this data rem.y = c(-1,0,2,4,5) from y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5). That is, I need to remove repeated values. Here is my code, but I don't think it is efficient. How could I improve this?

[R] detect repeated number in a vector

2008-10-08 Thread liujb
Dear R users, I have this vector that consists numeric numbers. Is there a command that detects the repeated numbers in a vector and returns the index of the repeated numbers (or the actual numbers)? For example, v - c(3,4,5,7,4). The command would return me index 2 and 5 (or the repeated

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
On Wed, 2008-10-08 at 12:01 -0500, Michael Just wrote: Thank you all for you suggestions. They are all helpful. However, I have come to a more fundamental problem. Preparing my data to even make such a graph. I thought I was ready. I will obviously need to find the n, mean, and confidence

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
On Wed, 2008-10-08 at 09:49 -0700, Dylan Beaudette wrote: On Wednesday 08 October 2008, Manuel Morales wrote: Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for examples. On Tue, 2008-10-07 at 23:31 -0500, Michael Just

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Michael Just
Manuel, Thanks, this worked well. I was also toying around with other options in bargraph.CI per your suggestion. Thanks, Michael bargraph.CI(RecovUnit, bbED, group = year, data =scape234, + xlab = Recovery Unit, ylab = Edge Density, cex.lab = 1.5, x.leg = 1, + density =

Re: [R] Re move repeated values

2008-10-08 Thread Peter Alspach
Kathryn ?unique and see also duplicated. unique(c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5)) [1] -1 0 2 4 5 HTH Peter Alspach -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kathie Sent: Thursday, 9 October 2008 8:12 a.m. To:

Re: [R] detect repeated number in a vector

2008-10-08 Thread Duncan Murdoch
On 08/10/2008 2:36 PM, liujb wrote: Dear R users, I have this vector that consists numeric numbers. Is there a command that detects the repeated numbers in a vector and returns the index of the repeated numbers (or the actual numbers)? For example, v - c(3,4,5,7,4). The command would return me

[R] Announcing R-PLUS 3.3 Experience-Rplus

2008-10-08 Thread Sue Turner
Interactive, Comprehensive and Highly Visual ! R-PLUS 3.3 Rocks :) At a click, import data from different formats, use Excel-like spreadsheet for manipulating your data, create publication-quality reports, generate editable graphics ... and click click to run your favorite models through

Re: [R] Re move repeated values

2008-10-08 Thread Jorge Ivan Velez
Dear Kathie, See ?unique. y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5) unique(y) [1] -1 0 2 4 5 HTH, Jorge On Wed, Oct 8, 2008 at 3:12 PM, kathie [EMAIL PROTECTED] wrote: Dear R users, I'd like to make this data rem.y = c(-1,0,2,4,5) from y =

Re: [R] Re move repeated values

2008-10-08 Thread Erik Iverson
kathie wrote: Dear R users, I'd like to make this data rem.y = c(-1,0,2,4,5) from y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5). That is, I need to remove repeated values. Here is my code, but I don't think it is efficient. How could I improve this? By using the 'unique'

[R] Choose subset for plot use (bwplot)

2008-10-08 Thread Michael Just
Hello, this code below was from a helpful R-help user. dat - read.csv(Resid_fix2.csv, sep=, , header=T) dat11 - dat[1:413,] # convert ambiguous columns to factors: dat11$Pri_No - factor(dat11$Pri_No) dat11$RecovUnit - factor(dat11$RecovUnit) # plot: require(lattice) bwplot(bbED~ Pri_No |

Re: [R] detect repeated number in a vector

2008-10-08 Thread N. Lapidus
Can this be an answer ? which(v %in% names(table(v)[table(v)1])) [1] 2 5 Nael On Wed, Oct 8, 2008 at 8:36 PM, liujb [EMAIL PROTECTED] wrote: Dear R users, I have this vector that consists numeric numbers. Is there a command that detects the repeated numbers in a vector and returns the

Re: [R] How to join the two tables based on one overlapped column

2008-10-08 Thread ss
Dear Daniel, Thank you very much for the help! I tried the code and got the following: John-read.table(file=John_probe.txt,header=TRUE,row.names=NULL,fill=TRUE) Susan-read.table(file=Susan_probe.txt,header=TRUE,row.names=NULL,fill=TRUE) dim(John) [1] 48701 2 dim(Susan) [1] 46713 2

[R] error installing lattice package

2008-10-08 Thread Waichler, Scott R
I just updated my Redhat EL systems to R-2.7.2, and tried to update my packages as well. Lattice is one that failed. What do I need to do? R version 2.7.2 (2008-08-25) install.packages(lattice, repos = http://cran.fhcrc.org/;) Warning in install.packages(lattice, repos =

Re: [R] trouble with character \u00e2

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, Charles Annis, P.E. wrote: Thank you Professor: Here is an example using R2.8.0 beta. It shows the coding to be latin1 But you did not use file.choose or basename here. I installed my package which requires rcom, RODBC, RColorBrewer, survival I was unable to find rcom

Re: [R] ParallelR

2008-10-08 Thread Markus Schmidberger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chi, ParallelR is a commercial software to run R in parallel. It is working very well. We tested it at a small linux cluster. You also can use R and the parallel packages (snow, Rmpi, nws, ...) packages. All Open Source and for free. You probably

Re: [R] error installing lattice package

2008-10-08 Thread Prof Brian Ripley
On Wed, 8 Oct 2008, Waichler, Scott R wrote: I just updated my Redhat EL systems to R-2.7.2, and tried to update my packages as well. Lattice is one that failed. What do I need to do? Install the R-devel RPM? (Assuming you installed R from an RPM.) R version 2.7.2 (2008-08-25)

  1   2   >