Re: [R] How to create an R RPM from source

2007-05-21 Thread Martyn Plummer
On Mon, 2007-05-21 at 07:46 -0700, Waichler, Scott R wrote: I use some computers that run older versions of Redhat Linux such as EL3. RPMs for the current version of R are no longer provided via CRAN for these older operating system versions. How can I compile my own RPM for the current

Re: [R] Bayesian Information Criterion

2006-10-24 Thread Martyn Plummer
On Mon, 2006-10-23 at 20:59 +0200, Alexander Geisler wrote: Hello! I calculate a Bayesian logistic regression with the function MCMClogit from the package MCMCpack. After the calculation I use the package CODA to test the model in respect to convergence. Is there a compatible package

Re: [R] Old packages or Update R?

2006-10-14 Thread Martyn Plummer
On Fri, 2006-10-13 at 21:40 -0700, Marc Fischer wrote: Folks, I've got a box running Redhat 9 with R 1.7.1. I need the foreign package but the one on CRAN is for the current rev of R (i.e., 2.4). Problem is I am naive and also can't find the R-2.4.rpm appropriate for RedHat 9. Can

Re: [R] package GLLMGibbs

2006-07-13 Thread Martyn Plummer
On Thu, 2006-07-13 at 11:32 +0100, Oarabile Molaodi wrote: Tried to look for package GLLMGibbs-(package for fitting mixed models by Gibbs samppling contributed by Myles' and Clayton) in CRAN but not found it, Does anybody know if it is still available? thanks Oarabile You will find it

Re: [R] detach

2006-07-12 Thread Martyn Plummer
My guess is that even though the zoo namespace is unloaded. The S3 method as.Date.numeric is still registered, and the name space will be reloaded whenever it is dispatched. library(zoo) loadedNamespaces() [1] base graphics grDevices methods stats utils [7] zoo unloadNamespace(zoo)

Re: [R] installing R on RedHat

2006-06-28 Thread Martyn Plummer
, As far as I know, the R RPMS provide either by Martyn Plummer et al on CRAN, or more recently via Fedora Extras, are generally not relocatable. In other words, they must be installed as root into a pre-defined location. I checked the list archive and this had come up last year

Re: [R] Griddy-Gibbs sampler

2006-06-27 Thread Martyn Plummer
OpenBUGS has a Griddy Gibbs sampler, written in Component Pascal http://www.mathstat.helsinki.fi/openbugs/ The source code is not in plain text format. You will need to install the Black Box Component Builder to read it. I hope this helps. Martyn On Mon, 2006-06-26 at 14:52 -0700, Elizabeth

Re: [R] command line boa problems...

2006-06-23 Thread Martyn Plummer
You need to give the file name in quotes. If you do not, R will look for an object of that name in your work space. Note that the error message is object practice not found, not file practice.txt not found. You might also need to give the file extension, if this is not added by the

Re: [R] Random number generation

2006-06-01 Thread plummer
That certainly sounds like the behaviour you would get if you had a .Random.seed in your work space. If you do not save your workspace at the end of the session then the random seed will be in exactly the same state every time you start a new R session, and you will get identical simulations from

Re: [R] removing ROWS with missing values

2006-03-16 Thread plummer
Quoting mark salsburg [EMAIL PROTECTED]: I am trying to find out if R can recognize specific criteria for removing rows (i.e. a prexisting function) I have a matrix myMatrix that is 12000 by 20 I would like to remove rows from myMatrix that have: -999 across all columns -999 across all

Re: [R] does ctest package exist?

2006-03-01 Thread Martyn Plummer
On Wed, 2006-03-01 at 10:08 +, Luis Ridao Cruz wrote: R-help, I was searching the R archives for information on multiple comparisons and found that ctest package may contain something useful for my study. But there seems not to be such a package on CRAN. Anything I am missing?

Re: [R] importing data from BUGS format to R?

2006-02-24 Thread Martyn Plummer
On Fri, 2006-02-24 at 08:48 +0100, Uwe Ligges wrote: Gabor Grothendieck wrote: Just source the file: source(mywinbugsfile.R) head(y) ... and don't forget to transpose the matrix afterwards, if this was BUGS code. Uwe Ligges If this were a WinBUGS data file (or initial values

Re: [R] RHOME

2006-02-03 Thread Martyn Plummer
Far be it for me to tell people what they can and cannot do. Perhaps I can rephrase myself in a less inflammatory way. R runs from the build directory as a convenience for developers, so you don't have to reinstall R every time you change something. But for users, the standard mechanism make

Re: [R] RHOME

2006-02-02 Thread plummer
Quoting Daniel A. Powers [EMAIL PROTECTED]: R-help -- I built R-2.2.1 in my own directory on a sun (solaris). Now I would like the sysadmin to move the contents to /usr/local/lib and place the binary in /usr/local/bin. No problem. However, the RHOME variable defaults to the directory from

Re: [R] Timeliness of precompiled binaries--R-2.2.1 still not available as RPM

2006-01-31 Thread Martyn Plummer
it takes so long to make RPMs available? I would be happy to help make the RPMs for el4 and el3 if such help is needed. Because someone has to volunteer their time to create such things - these are not automatically built by R-Core members. Martyn Plummer has done this for as long

Re: [R] R software on 64bit - Intel Xeon processor

2005-11-30 Thread Martyn Plummer
Many packages in Fedora Extras, including R, have been recompiled for CentOS (a RHEL clone). You can find them here: http://centos.karan.org/ They should be compatible with RHEL, but of course your mileage may vary. Martyn On Tue, 2005-11-29 at 20:43 +, Prof Brian Ripley wrote: You don't

Re: [R] modifying code in contributed libraries - changes from versions 1.* to 2.*

2005-11-22 Thread Martyn Plummer
On Tue, 2005-11-22 at 08:35 -0700, Brian S Cade wrote: Having finally updated from R 1.91 to R 2.2.0 with my installation of a new computer, I discovered that something has changed drastically about the way code for contributed packages is stored when installed in a local version of R. In

Re: [R] expand.grid problem

2005-10-13 Thread Martyn Plummer
On Thu, 2005-10-13 at 12:19 +0200, Muhammad Subianto wrote: Hi all, I want to make all possible combination from dataset below: V1 - c(0,1,2) V2 - c(0,1) V3 - c(0,1) V4 - c(0,1) V5 - c(0,1) V6 - c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20) V7 -

Re: [R] About Coda Package

2005-09-27 Thread Martyn Plummer
Dear Juan Pablo, It is best to send package-specific queries the package maintainer (me in this case) which you can find out by typeing library(help=coda) The inconsistency comes from two different ways of estimating the spectral density at frequency 0: spectrum0() adapted from Heidelberger

Re: [R] using weighted.mean with tapply()

2005-08-04 Thread Martyn Plummer
On Wed, 2005-08-03 at 17:00 -0400, roger bos wrote: I am trying to calculate the weighted mean for a of 10 deciles and I get an error: decile - tapply(X=mat$trt1m, INDEX=mat$Rank, FUN=weighted.mean, w=mat$mcap) Error in FUN(X[[1]], ...) : 'x' and 'w' must have the same length All three of

Re: [R] initial points for arms in package HI

2005-07-19 Thread plummer
Quoting Christoph Buser [EMAIL PROTECTED]: Dear R-users I have a problem choosing initial points for the function arms() in the package HI I intend to implement a Gibbs sampler and one of my conditional distributions is nonstandard and not logconcave. Therefore I'd like to use arms. But

Re: [R] how to make R faster under GNU/Linux

2005-06-20 Thread Martyn Plummer
On Mon, 2005-06-20 at 08:29 -0400, bogdan romocea wrote: Dear useRs, I timed the same code (simulation with for loops) on the same box (dual Xeon EM64T, 1.5 Gb RAM) under 3 OSs and was surprised by the results: Windows XP Pro (32-bit): Time difference of 5.97 mins 64-bit GNU/Linux

Re: [R] Fedora Core 4

2005-06-19 Thread plummer
The Fedora upgrade process should normally install backward compatibility libraries when it finds an RPM linked to a library (or library version) that isn't in the new release. In this case compat-libf2c-32 provides libg2c on FC4, and it should be installed on your system if you previously had R

Re: [R] extracting components of a list

2005-06-13 Thread Martyn Plummer
On Mon, 2005-06-13 at 15:23 +0100, Robin Hankin wrote: Hi how do I extract those components of a list that satisfy a certain requirement? If jj - list(list(a=1,b=4:7),list(a=5,b=3:6),list(a=10,b=4:5)) I want just the components of jj that have b[1] ==4 which in this case would be

Re: [R] Overlaying Barplots

2005-06-08 Thread Martyn Plummer
On Wed, 2005-06-08 at 12:07 +0200, Sven C. Koehler wrote: Hello! I would like to overlay barplot(1:10) with a barplot(seq(1:5, each=2)), indicating that 50% of each bar belongs to category X. How do I do this in R? If you pass a matrix to barplot, it will stack values from the same column

Re: [R] Solve f(x) = 0

2005-06-08 Thread Martyn Plummer
On Wed, 2005-06-08 at 17:08 +0200, Fredrik Thuring wrote: Hi! Im need a function that solves the equation f(x) = 0 (i.e. the root of the function) when f is a nonlinear function. Is there any? Ive tried nlm and optim on the square of the function but the solution is very unstable. Your

Re: [R] install R packages--sorry last letter that I sent I had an error, this one is the right one

2005-05-19 Thread Martyn Plummer
On Thu, 2005-05-19 at 10:09 -0400, Li, Jia wrote: Dear All, When I tried to install R packages I found this error: library(survival) Loading required package: splines This is for your information. It is not an error message and is not asking you to do anything (i.e. it says loading not

Re: [R] Difference

2005-04-19 Thread Martyn Plummer
On Tue, 2005-04-19 at 10:19 +0200, Ralf Strobl wrote: Dear List, can anyone explain me this result (Windows XP, R 2.0.1): (0.2-0.1)==0.1 [1] TRUE (0.3-0.2)==0.1 [1] FALSE Yes. Floating point arithmetic isn't as accurate as you think. Your numbers have a simple representation in

Re: [R] French Curve

2005-04-01 Thread Martyn Plummer
On Fri, 2005-04-01 at 09:30 +0200, Martin Maechler wrote: dream == dream home [EMAIL PROTECTED] on Wed, 30 Mar 2005 12:27:08 -0800 writes: dream Dear R experts, Did someone implemented French Curve dream yet? Or can anyone point me some papers that I can dream follow to

Re: [R] gR - installation and computation

2005-03-15 Thread Martyn Plummer
On Tue, 2005-03-15 at 16:13 +0100, Depire Alexandre wrote: Hello everyone, I would like to use R to compute some special hidden markov chain. I see that such those models are like dynamic bayesion network. So, I find some doc about computation of those models in R, but I don't know how to

Re: [R] Problems with html help system: help.start()

2005-02-24 Thread Martyn Plummer
There was a packaging error. A new RPM version is on its way to CRAN. Thanks. Martyn On Wed, 2005-02-23 at 21:35 -0500, John Sorkin wrote: I am having problems installing R under Fedora Core 3. I installed R using YUM yum -install R. The basic installation appears to have worked, I can

Re: [R] Failure of update.packages()

2005-02-10 Thread plummer
Quoting Jari Oksanen [EMAIL PROTECTED]: On Thu, 2005-02-10 at 13:52 +0100, Peter Dalgaard wrote: I M S White [EMAIL PROTECTED] writes: Can anyone explain why with latest version of R (2.0.1) on FC3, installed from R-2.0.1-0.fdr.2.fc3.i386.rpm, update.packages() produces the message

Re: [R] logit link + alternatives

2005-02-07 Thread Martyn Plummer
I am not sure that fully answers Jeff's question. If the available link functions (even with the quasi family) are not sufficient for your needs, then you need to make your own constructor for a family object - which provides the necessary information to the glm engine - and use this as the

[R] Split RPMS for Fedora Core 3

2005-02-01 Thread Martyn Plummer
I have split up the R RPMS for Fedora Core 3 into two subpackages - R and R-devel. Following the usual RPM naming convention, the basic R package is now for users, and R-devel package is for people wishing to do program development with R. This includes installing R packages from source

Re: [R] switching to Linux, suggestions?

2004-12-13 Thread Martyn Plummer
On Mon, 2004-12-13 at 23:59 +0100, Peter Dalgaard wrote: Jonathan Baron [EMAIL PROTECTED] writes: Fedora uses yum as well as rpm. I haven't installed an RPM in months, except for R. Yum is great. Actually, Martyn set up CRAN as a yum repository. I have $ more /etc/yum.repos.d/R.repo

[R] RPMS for Fedora/RedHat

2004-11-17 Thread Martyn Plummer
An RPM for R 2.0.1 on Fedora Core 3/i386 should now be available on a CRAN mirror near you. Unfortunately, I am temporarily unable to build RPMS for previous versions of Fedora and Red Hat Linux due to problems with the mach chroot system on FC3. I expect this situation will be resolved soon

Re: [R] R works on Fedora Core 3

2004-11-11 Thread Martyn Plummer
On Wed, 2004-11-10 at 09:19 +0100, Martyn Plummer wrote: On Tue, 2004-11-09 at 19:47, Jonathan Baron wrote: On 11/09/04 20:37, Jari Oksanen wrote: On 9 Nov 2004, at 19:44, Jonathan Baron wrote: The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window

Re: [R] R works on Fedora Core 3

2004-11-10 Thread Martyn Plummer
On Tue, 2004-11-09 at 19:47, Jonathan Baron wrote: On 11/09/04 20:37, Jari Oksanen wrote: On 9 Nov 2004, at 19:44, Jonathan Baron wrote: The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window got smaller, but I'm sure there is a setting for that.) That

Re: [R] getting started on Bayesian analysis

2004-09-16 Thread Martyn Plummer
On Wed, 2004-09-15 at 02:19, Tamas K Papp wrote: I am an economist who decided it's high time that I learned some Bayesian statistics. I am following An Introduction to Modern Bayesian Econometrics by T. Lancaster. The book recommends using BUGS, but I wonder if there are any alternatives

Re: [R] BUGS and OS X

2004-09-16 Thread Martyn Plummer
On Wed, 2004-09-15 at 20:29, Tamas K Papp wrote: On Wed, Sep 15, 2004 at 02:21:18PM -0400, Liaw, Andy wrote: That's more of a question for the BUGS developers. BUGS is not open source, so whatever binary is provided, that's all you can use. If I'm not mistaken, WinBUGS is the only version

RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3)

2004-08-09 Thread Martyn Plummer
On Sun, 2004-08-08 at 22:22, Prof Brian Ripley wrote: On Sun, 8 Aug 2004, Marc Schwartz wrote: On Sun, 2004-08-08 at 14:10, Dr Mike Waters wrote: snip Thanks for the responses guys. I used to have RH9 installed on this machine and I found out about the separate developer

RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3)

2004-08-09 Thread Martyn Plummer
On Mon, 2004-08-09 at 15:13, Dr Mike Waters wrote: [SNIP] Once all this had been sorted out, I was then left with a compilation error which pointed to a missing dependency or similar, which was not due to missing developer packages, but, as you and Prof Ripley correctly point out, from the

Re: [R] rgl installation problems

2004-06-30 Thread Martyn Plummer
On Wed, 2004-06-30 at 00:52, E GCP wrote: Thanks for your replies. I do not HTML-ize my mail, but free email accounts do that and there is not a switch to turn it off. I apologize in advance. I installed R from the redhat package provided by Martyn Plummer. It installed fine and without

Re: [R] installing R on Fedora Core 2 test 2

2004-04-28 Thread Martyn Plummer
On Tue, 2004-04-27 at 17:21, Peter Dalgaard wrote: Jonathan Baron [EMAIL PROTECTED] writes: The one thing I cannot figure out is that readline does not work. It was installed, but apparently not detected. Grepping config.site for readline gets stuff like this: configure:21256:

Re: [R] Fedora 1 RPM Packages

2004-04-28 Thread Martyn Plummer
From the response that I have had from the list it appears that not many people use the shared lib from R, and that it wouldn't make sense to build it that way by default. The generic answer to this kind of request is that if a feature isn't enabled by default, then it doesn't go in the RPM.

Re: [R] Turnbull estimate

2004-01-23 Thread Martyn Plummer
On Fri, 2004-01-23 at 01:33, Denise wrote: Hi everyone, I've been looking for a function that calculates the Turnbull estimate for left, right and interval censored data. None of the data that I am using has exact failure times. The only function I seem to find can handle data that has no

Re: [R] matrix exponential: M^0

2004-01-21 Thread Martyn Plummer
On Tue, 2004-01-20 at 16:58, Peter Dalgaard wrote: Federico Calboli [EMAIL PROTECTED] writes: Dear All, I would like to ask why the zeroeth power of a matrix gives me a matrix of ones rather than the identity matrix: Because arithmetic on a matrix works element-wise. M^2 is not

Re: [R] fedora and yum

2004-01-21 Thread Martyn Plummer
On Fri, 2004-01-16 at 01:53, Erich Neuwirth wrote: I just installed Fedora in VMWare. Can somebopdy tell me what lines i have to put in yum.conf so R will be automatically integrated in the package system and updated when a new release is available? I don't think this is possible, yet. My

Re: [R] Probelm with read.table

2003-12-11 Thread Martyn Plummer
On Thu, 2003-12-11 at 11:31, [EMAIL PROTECTED] wrote: Hi All, I have the following text file (mytextfile.txt) 738307 527178 714456 557955 #N/A 17.42 6.22 4.73 #N/A 17.3 6.23 4.75 #N/A 17.29 6.17 4.7 #N/A 17.07 6.12 4.6 #N/A 17.27 6.19 4.7 #N/A 17.72 6.4

Re: [R] Error in model.frame

2003-12-10 Thread Martyn Plummer
On Wed, 2003-12-10 at 10:34, Göran Broström wrote: I recently ran into the following: x - c(1,2,4,3) lm(x ~ 1:length(x)) Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : variable lengths differ but lm(x ~ c(1:length(x))) Call:

Re: [R] R for various ports of linux

2003-11-06 Thread Martyn Plummer
On Wed, 2003-11-05 at 22:07, Nathan Leon Pace, MD, MStat wrote: To all: I currently download the R binaries for Redhat 7.x Linux. There is considerable turmoil in the vendors of Linux. Redhat apparently is changing it's business model to paid versions. This might motivate my department

Re: [R] Installing R in Linux 8.0

2003-10-07 Thread Martyn Plummer
On Tue, 2003-10-07 at 01:00, Peter Dalgaard BSA wrote: Javier Arsuaga [EMAIL PROTECTED] writes: I am trying to install R in Linux 8.0 and I downloaded R-1.7.1-1.i386.rpm and did rpm -hiv R-1.7.1-1.i386.rpm and I am getting the following message: warning: R-1.7.1-1.i386.rpm: V3 DSA

Re: [R] Plots default to Rplots.ps

2003-08-20 Thread Martyn Plummer
On Wed, 2003-08-20 at 09:22, Simon Woodhead wrote: Dear All, Hello I'm a newbie to the list. I recently installed R on a Redhat 9.0 system, when I come to plot anything it does not bring up a graphics window but rather stores it in a file Rplots.ps. I tried x11() but that doesn't bring

Re: [R] Does the RPM for RH9 know about TCL/Tk

2003-06-13 Thread Martyn Plummer
On Wed, 2003-06-11 at 12:10, Peter Dalgaard BSA wrote: Jonathan Baron [EMAIL PROTECTED] writes: On 06/10/03 18:30, Morgan Hough wrote: Sorry for the probable repeat post but I can only search the list up to 2002 (is there a better way?). Yes, see my search page below. I am

Re: [R] Does the RPM for RH9 know about TCL/Tk

2003-06-12 Thread Martyn Plummer
On Wed, 2003-06-11 at 12:10, Peter Dalgaard BSA wrote: Jonathan Baron [EMAIL PROTECTED] writes: On 06/10/03 18:30, Morgan Hough wrote: Sorry for the probable repeat post but I can only search the list up to 2002 (is there a better way?). Yes, see my search page below. I am

Re: [R] modules in RedHat

2003-05-29 Thread Martyn Plummer
On Wed, 2003-05-28 at 17:18, Roy, Supratik wrote: I am having problems when calling supsmu in R 1.6.2 installed on RedHat 8.0. I used the rpm provided on the R site. supsmu seems to have not been installed by default - (i.e., as part of the modreg package). It also does not occur as part of

Re: [R] Poisson Regression

2003-03-28 Thread Martyn Plummer
On Fri, 2003-03-28 at 12:49, Meles MELES wrote: Hi, somebody asked me to do a Poisson regression on cancer incidence over years to see wether if there is a descending or an ascending tendancy. I tried with R, but it complains that the data are not integer but floating poing data. So,

Re: [R] error installing R on linux 8.0

2003-03-14 Thread Martyn Plummer
The problem in this case is that the RPM file is corrupted. Try downloading a fresh copy from CRAN. To check if the package has been corrupted type: rpm -K --nosignature /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm It is possible to install a gpg-signed RPM package without importing the

RE: [R] Q: libreadline.so.4.1 problems on Alpha/Linux

2003-02-19 Thread Martyn Plummer
On Wed, 2003-02-19 at 08:18, [EMAIL PROTECTED] wrote: ...snip... ¤ ¤ You need to install the readline41 package ¤ (readline41-4.1-10.ia64.rpm) ¤ which is part of the Red Hat 7.2 distribution and provides ¤ the required ¤ library. ¤ ¤ Martyn ¤ ¤ Thanks - Are you shure

Re: [R] Q: libreadline.so.4.1 problems on Alpha/Linux

2003-02-18 Thread Martyn Plummer
On Mon, 2003-02-17 at 11:15, [EMAIL PROTECTED] wrote: Dear List I'm trying to run R on a DIGITAL Alpha / Linux RedHat 7.2 The .rpm requires libreadlin.so.4.1 RedHat 7.2 comes with libreadline.so.4.2 I installed the R-1.6.0-1.aplha.rpm with option --nodeps, since it otherwise complained