Re: [R] ploting a comparison of two scores, including the labels in the plot

2007-11-05 Thread Hans Ekbrand
On Mon, Nov 05, 2007 at 10:51:08AM -0700, Greg Snow wrote: > Does the following do what you want (or at least start you in the correct > direction)? > > mydata <- data.frame( job=c("Ambassadör","Läkare","Domare", > "Professor","Advokat","Pilot","Verkställande direktör","Forskare", > "Civili

[R] Pass Array input to web service

2007-11-05 Thread Rohan7
Hello everybody, I'm using SSOAP and RCurl to call webservice. I got success in calling webservice with string as an input. Now i want to pass array as an input(can be single or multidimensional). When i do that i get error. unable to find an inherited method for function "toSOAP", for signatu

Re: [R] How to know created time of object in R?

2007-11-05 Thread Prof Brian Ripley
On Tue, 6 Nov 2007, Dong-hyun Oh wrote: > Dear UseRs, > > I would like to know the created time and date of specific object. > Is there any function for it? There isn't even the concept. Most objects in R are a collection of SEXPRECs created at different times. Suppose you create a data frame

Re: [R] R2HTML package and Open Office: text only pasted

2007-11-05 Thread Graham Smith
Max, Thanks, a few people have suggested this offlist and I am having a look at this, but I just trying to quickly get results into a word processor in a more easily read format than a straight copy and paste. Open Office Writer was ideal in the past, because a straight paste produced a formatte

[R] How to know created time of object in R?

2007-11-05 Thread Dong-hyun Oh
Dear UseRs, I would like to know the created time and date of specific object. Is there any function for it? Thank you in advance. Sincerely, __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Discrepancy of Neg. Binomial Estimation in R

2007-11-05 Thread Xiaobo Lu
Dear all, I have a puzzle regarding the estimation of Neg. Binomial event count model in R. I would greatly appreciate if anyone could shed some light on my puzzle. Using the glm.nb command, or the zelig command developed by Gary King et. al., I obtain the same point estimates in R as well as

Re: [R] Mac OS X Leopard and C compiling

2007-11-05 Thread elw
Notable that your commandline is trying to use the 10.4u sdk, while ld is trying to use libdylib "10.5" - aka leopard dynamic linker. The two probably don't go all that groovily together... :) is the -isysroot /Developer/SDKs/MacOSX10.4u.sdk bit being generated by R CMD SHLIB? Where'd the R

Re: [R] Save and load workspace in R: strange error.

2007-11-05 Thread Hongxiao Zhu
Hi, I finally figured out where the problem is. It was because the user account has a 10GB quota for the systerm that I used. Once the space limit is reached, R will have this error whenever you want to save or load. Gosh! It took me so long to realize this. Hongxiao ***

[R] Mac OS X Leopard and C compiling

2007-11-05 Thread Daniel McDonald
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the latest version of R and the Xcode tools. I'm trying to compile a C source code with the R compiler in X11, and I receive the following error message: [Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c

Re: [R] Unique Pairs based on a Minimum Value

2007-11-05 Thread Chuck Cleland
Bret Collier wrote: > RUsers, > > I am trying (with little success) to determine how to combine unique and > min to do some data frame manipulations and I could use a little advice. > I have tried various combinations of 'unique', 'min' and 'apply' with > no luck. > > Given this simple examp

[R] Bootstrap CI of Slope in a Weighted Simple Linear Regression

2007-11-05 Thread Tom La Bone
Greetings, I would like to use the "boot" function to generate a bootstrap confidence interval for the slope in a SLR that has a zero intercept. My attempt to do this is shown below. Is this the correct implementation of the boot function to solve this problem? In particular, should I be doing an

Re: [R] Unique Pairs based on a Minimum Value

2007-11-05 Thread jim holtman
Here is one way of doing it: > z <- as.data.frame(cbind(x, y)) > a <- by(z, z$x, function(b) b[which.min(b$y),]) > do.call('rbind', a) x y 10 10 112 12 12 111 13 13 117 15 15 114 16 16 113 17 17 119 > On 11/5/07, Bret Collier <[EMAIL PROTECTED]> wrote: > RUsers, > > I am trying (with littl

[R] Unique Pairs based on a Minimum Value

2007-11-05 Thread Bret Collier
RUsers, I am trying (with little success) to determine how to combine unique and min to do some data frame manipulations and I could use a little advice. I have tried various combinations of 'unique', 'min' and 'apply' with no luck. Given this simple example data (x, y) x<-c(10, 10, 12, 13,

Re: [R] question about running out of memory on R

2007-11-05 Thread jim holtman
Do ?"Memory-limits" and then look at ?memory.limit I have an icon that starts R and have that as the command line parameter. You should be able to set that up. You should be able to use memory.limit(2000) # set limit to 2GB in .Rprofile. On 11/5/07, Johan Jackson <[EMAIL PROTECTED]> wro

Re: [R] R2HTML package and Open Office: text only pasted

2007-11-05 Thread Kuhn, Max
Graham, I'm not sure what the issue is, but I would suggest using OpenOffice directly with the odfWeave package. Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Smith Sent: Monday, November 05, 2007 3:02 AM To: [EMAIL PROTECTED] Subject: [R] R

Re: [R] question about running out of memory on R

2007-11-05 Thread Johan Jackson
Aha. Thanks Jim you rock. So my system is probably hitting that upper limit of 2-3GB (a 32 bit issue I assume). Looks like I need to go 64 bit. BTW, --max-mem-size looks like a command line command. Can I execute something similar from within .Rprofile so that it does this each time I start R? Th

Re: [R] Help with Error Message

2007-11-05 Thread Matthew Keller
Not having run your script, it looks to me like you have an extra comma after the final element of legend.list... On 11/5/07, Patrick Richardson <[EMAIL PROTECTED]> wrote: > Hoping someone can offer me some assistance. I'm trying to execute a script > and I keep getting this error message about "

Re: [R] question about running out of memory on R

2007-11-05 Thread jim holtman
Even when it does start using virtual memory (which you never want it to do from a performance standpoint), there is still the physical limitation (e.g., a 2-3GB on Windows depending on how you have it configured) that you can not exceed. Also the maximum memory is set to: --max-mem-size=N (Windo

[R] Help with Error Message

2007-11-05 Thread Patrick Richardson
Hoping someone can offer me some assistance. I'm trying to execute a script and I keep getting this error message about "Error: element 12 is empty". I'm wondering if my syntax is incorrect within legend.list. If anyone has any suggestions to sees something obvious that I am missing, I would grea

[R] 2.6 install on RedHat EL4

2007-11-05 Thread Dennis . Burian
Dear all, Want to update to 2.6 on a RedHat EL4 64 bit system. When the RPM tries to install, I get a message that R2.5.1-dev is necessary. I don't have 2.5.1-dev installed so the 2.6 install quits. I couldn't find 2.5.1-dev at CRAN so I'm stuck. Any help would be appreciated. Thanks in adva

[R] Combining Density plots

2007-11-05 Thread Gareth Campbell
Hello, What I am trying to do is: Generate a density plot of a population of data. This data has a bimodal distribution so I've isolated a couple of possible sub-populations and I want to overlay these two density plots over the first to see whether they are contributing to the bimodal populatio

Re: [R] perl module for R

2007-11-05 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lux Zhang wrote: > On 06/11/2007, Adrian Dusa <[EMAIL PROTECTED]> wrote: >> On Monday 05 November 2007, you wrote: >>> On 04/11/2007, Andrew Perrin <[EMAIL PROTECTED]> wrote: http://www.omegahat.org/RSPerl/

[R] perl module for R

2007-11-05 Thread Lux Zhang
On 06/11/2007, Adrian Dusa <[EMAIL PROTECTED]> wrote: > > On Monday 05 November 2007, you wrote: > > On 04/11/2007, Andrew Perrin <[EMAIL PROTECTED]> wrote: > > > http://www.omegahat.org/RSPerl/ > > > > > > -- > > > Andrew J Perrin

Re: [R] Help translating S-Plus command

2007-11-05 Thread Prof Brian Ripley
It would help if we knew what that command was supposed to do. My guess is that you want the Tr$size with the smallest value of Tr$dev, in which case Tr$size[which.min(Tr$dev)] would seem to do it. However, there are details like what is to happen if there are ties for the smallest value. (

[R] question about running out of memory on R

2007-11-05 Thread Johan Jackson
Hi all, R newbie, but have been reading the boards and learning lots. I have read all documents & list-serve responses I could about R and memory but still no answer. QUESTION: When the sizes of your objects exceeds your available RAM, R switches to Virtual Memory right? If so, why does it so of

Re: [R] Sending E-Mail from R

2007-11-05 Thread Ben Bolker
Josh Kalish wrote: > > Hi, > > > > Has anyone used R to send out an email via an SMTP server? I run R from a > script and would like to be able to send out an email from there also. I > could shell out to an email program, but was hoping maybe someone had a > package for R or a smooth way

[R] Help translating S-Plus command

2007-11-05 Thread bernat
Dear all I have a small routine in S-Plus that I would like to use in R. There are some small changes I've been able to adapt, but I don't know how to translate the line starting with "g1<-sort.col" and the one "Size<- c(Size...") (I also add some lines before) (...) Size<-NULL g<-cbind(Tr

Re: [R] its does not recognize POSIXct w/ both time and Date?

2007-11-05 Thread Gabor Grothendieck
in last line on every message to r-help. Its unlikely that 'its' ignores date fields but perhaps this will get you going. Each of these gives the first value and its time for each value that occurs in the series: > # its > library(its) > ii <- its(rep(1:2, 5), Sys.time() + 1:

Re: [R] Implementing R through Oracle

2007-11-05 Thread elw
> I have looked through all the ROracle documentation, R-help, R-dev, > Googled the world and still cannot figure out this issue. Everything I > read it is about connecting to an Oracle database and pulling data, > processing it, and then pushing it back to Oracle. I am running in > pl/sql co

Re: [R] hierarchical mixed model

2007-11-05 Thread Sandrine-et-Francois
Dear Irene, May be I misunderstand your problem, but are you not describing here a classical hierarchical model ? Do you know the book recently published, entitled 'Data Analysis Using Regression and Multilevel/Hierarchical Models', written by Gelman and Hill ? I think the section 12 can provide

Re: [R] Implementing R through Oracle

2007-11-05 Thread Jeffrey Horner
jah wrote on 11/05/2007 02:41 PM: > I have looked through all the ROracle documentation, R-help, R-dev, Googled > the world and still cannot figure out this issue. Everything I read it is > about connecting to an Oracle database and pulling data, processing it, and > then pushing it back to Oracle.

Re: [R] Implementing R through Oracle

2007-11-05 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might want to take a look at PL/R or REmbeddedPostgres (the former being a reimplementation of the latter). AFAIK, nobody has done this for Oracle, but we did do it as an experiment for MySQL and Postgres and so the ideas are there but there will

Re: [R] its does not recognize POSIXct w/ both time and Date?

2007-11-05 Thread Armstrong, Whit
can you please give an example that I can cut from your email and run on my machine? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of B. Bogart > Sent: Monday, November 05, 2007 3:51 PM > To: r-help@r-project.org > Subject: [R] its does not recogni

[R] its does not recognize POSIXct w/ both time and Date?

2007-11-05 Thread B. Bogart
Hello all, I'm getting much further with my time-series work, but still getting into some problems. I'm using POSIXct time format with both date and time. I'd like to use that in an its object but It seems its only processes the date part of the POSIX time stamps: BMU_its_data <- its(data[BM

Re: [R] Implementing R through Oracle

2007-11-05 Thread jah
I have looked through all the ROracle documentation, R-help, R-dev, Googled the world and still cannot figure out this issue. Everything I read it is about connecting to an Oracle database and pulling data, processing it, and then pushing it back to Oracle. I am running in pl/sql code so I already

Re: [R] R on OS X Leopard?

2007-11-05 Thread Thomas Adams
Benson, Apparently it's a break with the installer for Leopard. See this: "Refer to R Mac SIG list, the mpkg installer in 2.6 binary is broken in Leopard. Until an updated version is release, you can install R by install each package in "Packages" folder one by one. Hope it helps." https://stat.

Re: [R] Identify() : How to set the offset , or a reference

2007-11-05 Thread Greg Snow
You need to supply both x and y to the identify function. The suprising thing is that the first call worked. So try: > plot(F$x,F$y) > I=identify(F$x,F$y) > Fnew=F[I[1]:I[2],] > plot(Fnew$x,Fnew$y) > I=identify(Fnew$x,Fnew$y) Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data C

Re: [R] xtable.by

2007-11-05 Thread Richard M. Heiberger
## I would use latex() for this example. library(Hmisc) team.dat <- ' GK Paul Robinson LB Lucus Radebe DC Michael Duberry DC Dominic Matteo RB Didier Domi MC David Natty MC Eirik Bakke MC Jody Morris FW Jamie Mcmaster ST Alan Smith ST Mark Viduka ' team <- read.table(textConnection(team.dat),

Re: [R] xtable.by

2007-11-05 Thread Gabor Grothendieck
If you look at the latex output associated with the page you posted you need to: - eliminated all repeated elements in column 1 - replace each non-repeated element, say X, which spans 3 rows, say, to \hline\multirow{3}{*}{X} - add an \hline after the last row Using the first 10 rows of the buil

Re: [R] Fw: Creating a barplot--advice needed

2007-11-05 Thread Rolf Turner
On 4/11/2007, at 1:15 PM, Thomas L Jones, PhD wrote: > > > Subject: Creating a barplot--advice needed > > >> Advice needed: I am preparing a computer program to do a barchart. >> Advice >> needed: Should I learn the lattice package, or try to? As a >> non-statistician, much of the terminology i

Re: [R] Help with cochran.test

2007-11-05 Thread Peter Dalgaard
Stephanie Bernard wrote: > Hi, > I have been trying to use the function cochran.test from the Outliers > package to test for homogeneity of variance. This works well except when > I use transformed data. Would anyone have an idea why it doesn't work > and how I could do the cochran test on trans

[R] Help with cochran.test

2007-11-05 Thread Stephanie Bernard
Hi, I have been trying to use the function cochran.test from the Outliers package to test for homogeneity of variance. This works well except when I use transformed data. Would anyone have an idea why it doesn't work and how I could do the cochran test on transformed data? Thanks, Stephanie >l

Re: [R] power function fitting

2007-11-05 Thread Bernardo Rangel Tura
On Mon, 2007-11-05 at 17:50 +0100, Duccio - wrote: > I would like to fit a power model of type: > y=b*x(^z) > to my data (having y as the response and x as the predictor variables). > I could not use linear models like y~x since R should estimate the parameter > z and not only the coefficient b. >

Re: [R] add histograms or distributions on regression line

2007-11-05 Thread Greg Snow
Here are a couple of options that may get you started: library(TeachingDemos) plot(1:10, 1:10, type='n') abline(0,1) rhist <- function(x){ tmp <- hist(x, plot=FALSE) barplot(tmp$counts, horiz=TRUE, axes=FALSE, space=0) } subplot( rhist(rnorm(100)), 2,2, hadj=0 ) subplot( rhist(r

[R] R on OS X Leopard?

2007-11-05 Thread bensonk
Hi, I've been using R on my OS X machine this school year, and have been really enjoying it. I recently formatted my machine and installed OS X Leopard. When I try to install the OS X R package on Leopard, R's installer tells me I have the wrong version of R for my version of OS X. I downloaded

Re: [R] Print list structure

2007-11-05 Thread Duncan Murdoch
On 11/5/2007 12:01 PM, Martin Morgan wrote: > Hi Antje, > > I know you have a solution, but > >> l <- list(list(L=1,list(L=2))) >> f <- function() { i=1; function(...) {cat("level", i, ":", ...); i<<-i+1 }} >> r=rapply(l, f(), "..."="\n") > level 1 : 1 > level 2 : 2 > > lets you use R scoping

Re: [R] order a matrix

2007-11-05 Thread Christian Hennig
That solved it! Thank you very much! On Mon, 5 Nov 2007, Prof Brian Ripley wrote: > On Mon, 5 Nov 2007, Christian Hennig wrote: > >> Dear list, >> >> order(x,y,z) returns a permutation to order x, ties broken by y, remaining >> ties broken by z. (And so on.) >> >> What I'd like to do is >> ord

Re: [R] ploting a comparison of two scores, including the labels in the plot

2007-11-05 Thread Greg Snow
Does the following do what you want (or at least start you in the correct direction)? mydata <- data.frame( job=c("Ambassadör","Läkare","Domare", "Professor","Advokat","Pilot","Verkställande direktör","Forskare", "Civilingenjör","Statsråd"), SAMHM= c(8.32, 8.15, 8.14, 8.13, 7.95, 7.81, 7.7

Re: [R] xtable.by

2007-11-05 Thread Charles C. Berry
See ?ftable and do RSiteSearch("latex ftable") to find some posts relevant to what you need. Chuck On Mon, 5 Nov 2007, A Friedman wrote: > Hi all, > > I have a series of measurements made over different types of road surfaces > and capacity that I want to summarize in ta

Re: [R] order a matrix

2007-11-05 Thread Prof Brian Ripley
On Mon, 5 Nov 2007, Christian Hennig wrote: > Dear list, > > order(x,y,z) returns a permutation to order x, ties broken by y, remaining > ties broken by z. (And so on.) > > What I'd like to do is > order(X), where X is a matrix (or a list or data frame if necessary) of > unspecified size, which or

[R] Heat map with PNGs instead of numbers on axis?

2007-11-05 Thread Karen.Green
Dear R Community, I am trying to create a heat map where, instead of normal text labels, I will use small PNG images. (I know there is a function "heatmap" in the stats package (and also a heatmap.plus package), but it is unclear how to modify it to accomplish the task.) Would anyone have any

[R] OT: Best applied MCMC textbooks?

2007-11-05 Thread Gregory. R. Warnes
Hi All, I'm preparing to co-teach a class on applied MCMC using R as the computational engine in the spring. As a consequence, I'm starting to look at MCMC textbooks. Please send along your recommendations! I will collate the responses and post a summary, so please reply to me directly.

[R] vector graphics/ SVG plots via RSvgDevice

2007-11-05 Thread Sam McClatchie
System: Linux Ubuntu 7.10 Gibbon kernel 2.6.22-14-generic Emacs ver. 22.1.1 ESS ver. 5.3.0 R version 2.6.0 (2007-10-03) Colleagues This is a follow-up note to my earlier post under this header, giving my solution. First, with some trepidation I u

[R] order a matrix

2007-11-05 Thread Christian Hennig
Dear list, order(x,y,z) returns a permutation to order x, ties broken by y, remaining ties broken by z. (And so on.) What I'd like to do is order(X), where X is a matrix (or a list or data frame if necessary) of unspecified size, which orders X[,1], ties broken by X[,2], remaining ties broken

Re: [R] Print list structure

2007-11-05 Thread Martin Morgan
Hi Antje, I know you have a solution, but > l <- list(list(L=1,list(L=2))) > f <- function() { i=1; function(...) {cat("level", i, ":", ...); i<<-i+1 }} > r=rapply(l, f(), "..."="\n") level 1 : 1 level 2 : 2 lets you use R scoping rules and a relatively new addition to the 'apply' family of fu

[R] power function fitting

2007-11-05 Thread Duccio -
I would like to fit a power model of type: y=b*x(^z) to my data (having y as the response and x as the predictor variables). I could not use linear models like y~x since R should estimate the parameter z and not only the coefficient b. Thus I need a package and a function! Any suggestions? Thanks D

[R] xtable.by

2007-11-05 Thread A Friedman
Hi all, I have a series of measurements made over different types of road surfaces and capacity that I want to summarize in tables via LaTeX. Ideally I'd like a table similar to this ( http://www.andy-roberts.net/misc/latex/tutorial4/multirow.png ) with mean/SD of the measurement broken down by

[R] A question regarding two dimensional optimization with constraints

2007-11-05 Thread Saptarshi Guha
Hello, I have an optimization problem which I would like to solve in R but am not sure how to approach this. I have a cost function C which is quadratic in rx and ry (if it helps, the cost function is separable in rx and ry) and is always positive for all rx,ry. I wish

Re: [R] subsetting problem with multiple criteria: Works in some but not all cases.

2007-11-05 Thread John Kane
Excellent, thank you . --- jim holtman <[EMAIL PROTECTED]> wrote: > You can use apropos to find then and then list out > their help pages: > > > apropos("%") > [1] "%%" "%*%" "%/%" "%in%" "%o%" "%x%" > > > On 11/2/07, John Kane <[EMAIL PROTECTED]> wrote: > > Thank you Jim. That seems to w

Re: [R] Print list structure

2007-11-05 Thread Duncan Murdoch
On 11/5/2007 8:34 AM, Antje wrote: > Hello again, > > I was wondering whether there is a command with which I can print the > structure > of a list, containing list of list of ... > If you have any hint let me know... str() can print the structure of any R object. Duncan Murdoch _

Re: [R] Print list structure

2007-11-05 Thread Antje
I found the solution ... "str" does what I need... (sorry for the request) Antje schrieb: > Hello again, > > I was wondering whether there is a command with which I can print the > structure > of a list, containing list of list of ... > If you have any hint let me know... > > Antje > > _

[R] Print list structure

2007-11-05 Thread Antje
Hello again, I was wondering whether there is a command with which I can print the structure of a list, containing list of list of ... If you have any hint let me know... Antje __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Where to ask general stats questions?

2007-11-05 Thread Frank E Harrell Jr
francogrex wrote: > I see that some people ask general statistics questions here sometimes. As I > understand this list is only for "technical" help with R-related issues. But > does anyone know of a list/forum where we can ask help/questions regarding > general statistics problems (and where solut

[R] Identify() : How to set the offset , or a reference

2007-11-05 Thread allergen
Hello, I try to make several zoom in chosen region. So i use identify to indicate in which area to zoom. i want o make it several time. But once I zoom one time, the identify fonction gives bad results. There is a short example, when i try to identify in Fnew it sems that there is an offset ,

[R] Dringende Aufmerksamkeit BITTE LESEN

2007-11-05 Thread MR ANDREW BARENDS
MR. ANDREW L. J. BARENDS Standard Bank Plc. Johannesburg, South Africa1 ID Number: 0092-042. UNTERSTÜTZUNG. Dringend GESCHAEFTSANGEBOT Mein Name ist Andrew L. J. Barends und ich bin der Leiter des Corporate Affairs Committee in der Standard Bank of South-Africa PLC in Südafrika. Ich kontaktie

Re: [R] Why can repeated measures anova with within & between subjects design not be done if group sizes are unbalanced?

2007-11-05 Thread Jonathan Baron
On 11/04/07 16:34, Gilbert G wrote: > Dear R people: > > I wish to switch from SPSS to R, but there is one particular type of > ANOVA design that cannot be done in R. Or more likely, it can be > done, but it is nowhere documented. > > The problem is typical for psychologists: > You have a repeat

Re: [R] R CMD Check fails under Windows XP *under R 2.3.1*

2007-11-05 Thread Prof Brian Ripley
Please note the R posting guide: none of the helpers will still be on R 2.3.1. This looks like a bug in the shell you have 'make' set up to use: it is not an OS-specific issue as that should be sh.exe from the Rtools distribution (and that recommended for R 2.3.1 is no longer available). On M

[R] RE : Help about exception handling in r-project.

2007-11-05 Thread GOUACHE David
?try ?tryCatch worked for me David Gouache Arvalis - Institut du Végétal Station de La Minière 78280 Guyancourt Tel: 01.30.12.96.22 / Port: 06.86.08.94.32 -Message d'origine- De : ANUSHA AIYALU KANNAN [mailto:[EMAIL PROTECTED] Envoyé : dimanche 4 novembre 2007 04:50 À : [EMAIL PROTECTE

[R] R CMD Check fails under Windows XP

2007-11-05 Thread Susanne Töpfer
Hello, I have a problem with the checking and building of R packages that contain C or FORTRAN code. I have implemented R 2.3.1 (2006-06-01) and the corresponding toolset under Windows XP and Windows 2000. The MinGW compiler components are (exactly as recommended for R 2.3.1) gcc-core-3.4.5-2

Re: [R] Help about exception handling in r-project.

2007-11-05 Thread Uwe Ligges
ANUSHA AIYALU KANNAN wrote: > Respected Sir, > > I am working on something in R. I am getting the following error. > > Warning messages:1: the standard deviation is zero in: cor(x, y, na.method, > method == "kendall") > > I like to handle this error. > > I like to know how to do error h

Re: [R] do.call without arguments?

2007-11-05 Thread Antje
Thank you very much! This is exactly what I need... I did not know that there is such a simple way :) Antje Peter Dalgaard schrieb: > Antje wrote: >> Hello, >> >> I have a vector containing strings of simple operation methods. >> >> methods <- c("mean","sd","median")e.g. >> >> Now, I'd like

Re: [R] do.call without arguments?

2007-11-05 Thread Peter Dalgaard
Antje wrote: > Hello, > > I have a vector containing strings of simple operation methods. > > methods <- c("mean","sd","median")e.g. > > Now, I'd like to apply these methods to my data and I thought, I could make a > do.call. But these methods don't need any further arguments... Do I have to

[R] do.call without arguments?

2007-11-05 Thread Antje
Hello, I have a vector containing strings of simple operation methods. methods <- c("mean","sd","median")e.g. Now, I'd like to apply these methods to my data and I thought, I could make a do.call. But these methods don't need any further arguments... Do I have to create an empty argument l

[R] Odp: Fw: Creating a barplot--advice needed

2007-11-05 Thread Petr PIKAL
Hi If your barplot is simple, why not to use plain barplot from basic graphics. Try to look at ?barplot Petr [EMAIL PROTECTED] [EMAIL PROTECTED] napsal dne 04.11.2007 01:15:20: > > > Subject: Creating a barplot--advice needed > > > > Advice needed: I am preparing a computer program to do

Re: [R] How to reconstitute a Product-Outcome table?

2007-11-05 Thread Gabor Grothendieck
This does not answer your question but here is a shorter version of your code: xx <- xtabs(Count ~ Outcome + Product, x) yy <- sum(xx) * xx / outer(rowSums(xx), colSums(xx)) subset(as.data.frame(yy), Freq != 0) On Nov 5, 2007 3:18 AM, francogrex <[EMAIL PROTECTED]> wrote: > > Hi, my question is

Re: [R] Trellis dotplot label keys

2007-11-05 Thread Patrick Connolly
On Thu, 25-Oct-2007 at 04:25PM +0100, Omar Baqueiro wrote: |> Hello, |> |> I am trying to plot a chart similar to the typical barley yield dotplot: |> dotplot(variety ~ yield | site, data = barley, |> groups = year, auto.key = list(space = "right"), |> xlab = "Barley Yield (bushel

Re: [R] cumsum

2007-11-05 Thread ONKELINX, Thierry
apply(matrix, 2, cumsum) ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, methodology and quality

Re: [R] Installing R on Mac OS X Leopard

2007-11-05 Thread Chung-hong Chan
I answered a similar question this morning. "Refer to R Mac SIG list, the mpkg installer in 2.6 binary is broken in Leopard. Until an updated version is release, you can install R by install each package in "Packages" folder one by one. Hope it helps." https://stat.ethz.ch/pipermail/r-sig-mac/200

[R] Installing R on Mac OS X Leopard

2007-11-05 Thread Mitch Ohriner
Hi there, I've used R before, but I just got a new computer with Leopard and I'm having trouble installing. I download the installer, but when I reach the end of the install process, the "install" button remains gray and unclickable. I've tried both standard and custom, as well as installing on

r-help@r-project.org

2007-11-05 Thread Maura E Monville
I have got R GUI working on SuSE 10.3 The workaround is to set an environment variable that prevents the java related error. See http://en.opensuse.org/Xlib.lock I tried to install 3 packages that I need through the R GUI. When I installed "cluster" I noticed on R console the error messages I'm co

[R] Garch() function of tseries package doesnt work anymore

2007-11-05 Thread José Augusto Morais de Andrade J únior - JAMAJ
Hi all, I recently updated my to R 2.6.0 and tseries package ‘tseries’ version: 0.10-11. When i was using R Version 2.3.1 (2006-06-01) with tseries 'tseries' version: 0.10-7, the code > garch(dflnRCLC1) * ESTIMATION WITH ANALYTICAL GRADIENT * Call: garch(x = dflnRCLC1) Coefficient(s):

[R] Fw: Creating a barplot--advice needed

2007-11-05 Thread Thomas L Jones, PhD
Subject: Creating a barplot--advice needed > Advice needed: I am preparing a computer program to do a barchart. Advice > needed: Should I learn the lattice package, or try to? As a > non-statistician, much of the terminology is unfamiliar to me. "grouping > variable," "object of class trelli

[R] Help about exception handling in r-project.

2007-11-05 Thread ANUSHA AIYALU KANNAN
Respected Sir, I am working on something in R. I am getting the following error. Warning messages:1: the standard deviation is zero in: cor(x, y, na.method, method == "kendall") I like to handle this error. I like to know how to do error handling in R. I want to write the WARNING MESS

[R] How to reconstitute a Product-Outcome table?

2007-11-05 Thread francogrex
Hi, my question is technical but maybe a little complicated to express it well. I have written this small code to calculate a relative risk (RR) of a Product-Outcome pairs that I am given: example dataset called test.txt in tab-delimited format: - Pr

[R] R2HTML package and Open Office: text only pasted

2007-11-05 Thread Graham Smith
I am trying to use R2HTML (just downloaded from CRAN) to paste R (2.6.0) results output via the clipboard to OpenOffice Writer and Calc (version 2.3on WinXPPro) Pasting into Excel gives a formatted table of results (as expected), but pasting into Calc simply pastes the HTML code. Trying paste spe