[R] problem downloading Red Hat R-1.7.1-1.i386.rpm

2003-10-01 Thread Sam McClatchie
System info: Red Hat 9.0 R Version 1.7.0 ESS 5.1.21 Emacs 21.2.1 --- Colleagues At work I've had to migrate from Mandrake 9.1 to Red Hat 9.0 and I'm reinstalling R. I am having a problem downloading from R-1.7.1-1.i386.rpm from /bin/linux/redhat/9/i386. Basically the download

Re: [R] problem downloading Red Hat R-1.7.1-1.i386.rpm

2003-10-01 Thread Peter Dalgaard BSA
Sam McClatchie [EMAIL PROTECTED] writes: System info: Red Hat 9.0 R Version 1.7.0 ESS 5.1.21 Emacs 21.2.1 --- Colleagues At work I've had to migrate from Mandrake 9.1 to Red Hat 9.0 and I'm reinstalling R. I am having a problem downloading from R-1.7.1-1.i386.rpm

Re: [R] problem downloading Red Hat R-1.7.1-1.i386.rpm

2003-10-01 Thread Arne Henningsen
*right* click the link and then left click Save Target As (or something similar. Arne On Wednesday 01 October 2003 08:31, Sam McClatchie wrote: System info: Red Hat 9.0 R Version 1.7.0 ESS 5.1.21 Emacs 21.2.1 --- Colleagues At work I've had to migrate from Mandrake

[R] installing DBI_0.1-6.tar.gz

2003-10-01 Thread Joke Allemeersch
Dear, I tried to install the DBI package in R-1.7.1, but this gave the following error: /volume1/scratch/jallemee/R/lib/R/bin/INSTALL: line 1: 1856 Done( echo options(save.image.defaults=${save_image_defaults}); if test -s R_PROFILE.R; then

Re: [R] truncating axis

2003-10-01 Thread Jason Turner
Diego Riano wrote: Hello Does anyone know how to truncate and axis in R? Not sure what you mean, but do to plot arguments xlim and ylim do what you want? See help(par) for these and other plot controls. Cheers Jason -- Indigo Industrial Controls Ltd. http://www.indigoindustrial.co.nz

Re: [R] truncating axis

2003-10-01 Thread Ko-Kang Kevin Wang
On 1 Oct 2003, Diego Riano wrote: Does anyone know how to truncate and axis in R? What do you mean by truncate? Do you mean to change the range of the axes? If so then something like plot(x, xlim = range(), ylim = range()) should do (just put the desired range -- Cheers, Kevin

[R] FW: error predicting values from the LME

2003-10-01 Thread Andrej Kveder
Thanks for the hint. And it's a general one I intend to use more often. I managed to sort out the problem proceeding with the simpler models first and getting to more komplex ones. Even the one I presented in my question suddenly worked. However I think I found the problem, but I'm unable to solve

[R] R-1.7.1 for Redhat 9

2003-10-01 Thread Joke Allemeersch
Dear, I have problems with installing R-1.7.1 for Redhat 9. When I applied `./configure' and `make', I get the following error: make check make[1]: Entering directory `/volume1/scratch/jallemee/R-1.7.1/tests' make[2]: Entering directory `/volume1/scratch/jallemee/R-1.7.1/tests' make[3]:

[R] Evaluating outer, numeric, variables in an lme object.

2003-10-01 Thread C-G Pettersson
Hello! I´m working with a dateset from twelve fertilizer experiments (Trial) with a block structure of three replicats (Block). The treatment levels consist of application method and product but only one intensity. The factor TrCode could for example be BC(CAN) for broadcast calcium ammonium

[R] Text cutoff in legends

2003-10-01 Thread Marcel Sutter
Dear r-help If I display plots on the X11 device, the legends looks fine. But if make an EPS, the longer entry in the legend is cutoff (and also in the .pdf I do from the .eps) Can you give me a hint and tell me what I do wrong, please ?

RE: [R] R-1.7.1 for Redhat 9

2003-10-01 Thread Liaw, Andy
Tell us the output of something like tail -20 /volume1/scratch/jallemee/R-1.7.1/tests/Examples/base-Ex.Rout so we know where it bombed (and may be how it bombed). Andy -Original Message- From: Joke Allemeersch [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:02 AM

Re: [R] Text cutoff in legends

2003-10-01 Thread Jason Turner
Marcel Sutter wrote: Dear r-help If I display plots on the X11 device, the legends looks fine. But if make an EPS, the longer entry in the legend is cutoff (and also in the .pdf I do from the .eps) Can you give me a hint and tell me what I do wrong, please ? Probably nothing. The X11 and

[R] Simulation of Levy Processes and Fractional Brownian motion

2003-10-01 Thread Paul Divid
Dear R users, Are there any functions that can be used for the Simulation of Levy Processes and Fractional Brownian motion? Paul. - ÁðïêôÞóôå ôçí äùñåÜí [EMAIL PROTECTED] [[alternative HTML version deleted]]

RE: [R] R-1.7.1 for Redhat 9

2003-10-01 Thread Joke Allemeersch
In that Examples directory I have the files base-Ex.Rout.fail and base-Ex.R. If I perform tail -50 on base-Ex.R, I get data(esoph) # following on from help(esoph) model3 -

RE: [R] Simulation of Levy Processes and Fractional Brownian mot

2003-10-01 Thread Ted Harding
On 01-Oct-03 Paul Divid wrote: Dear R users, Are there any functions that can be used for the Simulation of Levy Processes and Fractional Brownian motion? Warning: computer simulation of fractal/chaotic processes can be danegrously misleading: chaos-function(xstart,n) { x-xstart;

[R] Solving a tridiagonal system

2003-10-01 Thread Will Harvey
I need to find solutions to a tridiagonal system. By this I mean a set of linear equations Ax = d where A is a square matrix containing elements A[i,i-1], A[i,i] and A[i,i+1] for i in 1:nrow, and zero elsewhere. R is probably not the ideal way to do this, but this is part of a larger problem that

[R] Re: Mandelbrot set and C code

2003-10-01 Thread ucgamdo
I decided to take on the 'proper' solution to calculate the Mandelbrot set in R, i.e. to do the raw calculations in C and then link that code with R. I thought it would be a hard task, but I was pleasantly surprised when I saw how easily was to write the bit of C code (I am not a C

Re: [R] installing DBI_0.1-6.tar.gz

2003-10-01 Thread David James
Hi, I've never seen R core dumping during a package installation, if indeed the 1857 Segmentation Fault message applies to R. Could you give us more details (OS, etc.)? Also, have you had problems with any other packages or is this the only one you're having problems with, etc.? Regards, --

[R] Acces violation ???

2003-10-01 Thread Juan Ramon Gonzalez
Dear R-listers, I have created a dll and I call it from a R function. However R stops and shows the message: Unhandled exception in Rgui.exe (R.DLL): 0xC005: Access Violation I get this error in other situations and I solved it verifying that all parameters are called fine. (e.g., double

Re: [R] Solving a tridiagonal system

2003-10-01 Thread Roger Koenker
SparseM is really intended for arbitrary sparse structure, for banded structural there are much more efficient methods, some of which are, if I'm not mistaken, now available in lapack. url:www.econ.uiuc.edu/~roger/my.htmlRoger Koenker email [EMAIL PROTECTED]

RE: [R] Solving a tridiagonal system

2003-10-01 Thread Gabor Grothendieck
The following will create a matrix x with given sub diagonal, diagonal and super diagonal. # define test vectors for a, b and c va - -(1:4); vb - 11:15; vc - 1:4 # diag.num is a matrix whose ith super diagonal equals i and # sub diagonal equals -i diag.num - -outer(seq(vb),seq(vb),-) x -

RE: [R] Solving a tridiagonal system

2003-10-01 Thread Gabor Grothendieck
I just noticed that you defined a to be the lower diagonal whereas I had it as the upper diagonal so the previous email should be as follows to correspond to your notation: # define test vectors for a, b and c va - -(1:4); vb - 11:15; vc - 1:4 # diag.num is a matrix whose ith diagonal equals i

RE: [R] Solving a tridiagonal system

2003-10-01 Thread Liaw, Andy
I see that the LAPACK routine DGTSV is in the R source, and defined in R_ext/lapack.h, but I don't know how to get to it from R. Andy -Original Message- From: Roger Koenker [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:33 AM To: Thomas W Blackwell Cc: [EMAIL

RE: [R] Solving a tridiagonal system

2003-10-01 Thread Will Harvey
Thanks. This works, but still seems too slow for my application. It looks like my best option is to figure out how to interface the LAPACK routine DGTSV to R. The inputs to DGTSV are four vectors: the three diagonals and the RHS vector. Will --- Gabor Grothendieck [EMAIL PROTECTED] wrote: I

[R] fitting Markov chains

2003-10-01 Thread Tamas Papp
I need to find a computationally simple process for the movement of interest rates. In this simplified model, an interest rate can have 3--5 possible values, and its movement is characterized by a matrix of transition probabilities (ie, it is a Markov process). I would like to estimate this

[R] SOS Cor

2003-10-01 Thread carla piccini
Ho iniziato ad utilizzare R da pochi giorni e onestamente ho delle difficoltà. Devo correlare una variabile con il resto del dataframe (quindi una variabile con tutte), ma sbaglio nella sintassi e onestamente non so dove. Le singole correlazioni riesco a farle, ma è un lavoro un pò

[R] Macintosh binaries; was: Rcmdr and Macintosh

2003-10-01 Thread Aniko Szabo
I am a Windows user and trying to make life easier for my Mac-using students. After investigating the Mac situation more, it appears that the key to easy use is having precompiled binaries. However the packages I am interested in (Rcmdr and its required package, car) do not have one. I do not

RE: [R] fitting Markov chains

2003-10-01 Thread Ted Harding
On 01-Oct-03 Tamas Papp wrote: I need to find a computationally simple process for the movement of interest rates. In this simplified model, an interest rate can have 3--5 possible values, and its movement is characterized by a matrix of transition probabilities (ie, it is a Markov process).

[R] question about predictions with linear models

2003-10-01 Thread Rajarshi Guha
Hi, this question is probably very obvious but I just cant see where I might be going wrong. I'm using the lm() function to generate a linear model and then make predictions using a different set of data. To generate the model I do (tdata pdata are matrices of observations and parameters,

[R] hypergeometric population estimates

2003-10-01 Thread Jesse . Whittington
help We want to estimate the number of caribou in Jasper. We recently conducted an aerial survey and saw 70 uncollared caribou and 8 of 11 collared caribou. We want to estimate the number of caribou in this population with 95% confidence limits. Gary White uses the hypergeometric distribution

Re: [R] sas.get problem

2003-10-01 Thread Duncan Murdoch
On Wed, 01 Oct 2003 14:02:15 -0400, Peter Flom [EMAIL PROTECTED] wrote : When I try citypro - sas.get('c:/ndri/cvar/data', member = 'citypro2') I get the following errors and warnings: 'sas' is not recognized as an internal or external command, operable program or batch file. That's an

RE: [R] hypergeometric population estimates

2003-10-01 Thread RBaskin
I'm not sure I understand your notation: (1) We recently conducted an aerial survey and saw 70 uncollared caribou and 8 of 11 collared caribou. (2) k - 70# number caribou seen (# balls drawn) It's the number of balls drawn parenthetical remark that bothers me - I think the total number

Re: [R] sas.get problem

2003-10-01 Thread Marc Schwartz
On Wed, 2003-10-01 at 13:23, Duncan Murdoch wrote: On Wed, 01 Oct 2003 14:02:15 -0400, Peter Flom [EMAIL PROTECTED] wrote : When I try citypro - sas.get('c:/ndri/cvar/data', member = 'citypro2') I get the following errors and warnings: 'sas' is not recognized as an internal or

Re: [R] sas.get problem

2003-10-01 Thread James MacDonald
It's actually in the Hmisc package. The error looks like Hmisc hasn't been attached yet, so you might try library(Hmisc) first. In addition, it does appear from the help file that you need SAS installed to output the ASCII files that are required to import the data. HTH, Jim James W.

Re: [R] Macintosh binaries; was: Rcmdr and Macintosh

2003-10-01 Thread Don MacQueen
Did you try install.packages()? I know this is not exactly what you're looking for, but with the sometimes-called 'Darwin' version of R 1.7.1 for Mac OS X, installed from source code, not a precompiled binary, and using X Windows, install.packages('Rcmdr') install.packages('car') were

Re: [R] sas.get problem

2003-10-01 Thread Peter Flom
Thanks to all who responded Marc Schwartz wrote A quick follow up. I installed Frank's Hmisc under R 1.8.0 beta. If Hmisc is not attached (ie. library(Hmisc)), you get: citypro - sas.get('c:/ndri/cvar/data', member = 'citypro2') Error: couldn't find function sas.get which you would reasonably

Re: [R] sas.get problem

2003-10-01 Thread Marc Schwartz
On Wed, 2003-10-01 at 13:43, Marc Schwartz wrote: On Wed, 2003-10-01 at 13:23, Duncan Murdoch wrote: On Wed, 01 Oct 2003 14:02:15 -0400, Peter Flom [EMAIL PROTECTED] wrote : When I try citypro - sas.get('c:/ndri/cvar/data', member = 'citypro2') I get the following errors

[R] curious error with tkcheckbutton

2003-10-01 Thread solares
Hello, the following code produces an error when executing it, it is a code that produces 6 checkbutton that at the beginning are empty, when selecting the first checkbox he says that doesn't know the second variable tcl, he say: [1] 1 Error in structure(.External(dotTcl, ..., PACKAGE =

Re: [R] Re: Mandelbrot set and C code

2003-10-01 Thread Jason Turner
[EMAIL PROTECTED] wrote: I decided to take on the 'proper' solution to calculate the Mandelbrot set in R, i.e. to do the raw calculations in C and then link that code with R. This is very cool. I did a slight tweak to your mandelbrot.R code, so that x can be a list with components x and

Re: [R] hypergeometric population estimates

2003-10-01 Thread Remington, Richard
# another vote for 107 n - 1:500 x - 8 m - 11 totaldrawn - 78 MLE - floor(m * totaldrawn / x) likelihood - choose(m,x)*choose(n-m,totaldrawn-x)/choose(n,totaldrawn) plot(n, likelihood) abline(v=MLE) [EMAIL PROTECTED] wrote: I'm not sure I understand your notation: (1) We recently conducted an

[R] R on fairly large machines

2003-10-01 Thread Allan Tingey
Hi, We are considering using R on a large problem that will require four 64 bit cpu's and 64Gb of ram and some flavor of unix. We are just wondering if R is going to be happy in this environment. If have experience with this please let me know. Thanks, Allan Tingey [EMAIL PROTECTED]

[R] lda source code

2003-10-01 Thread Wei Geng
I am new to R. Trying to find out how lda() {in MASS R1.8.0 Windows} was implemented in R. Does anyone know where to find out lda source code ? Thanks. Wei __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] lda source code

2003-10-01 Thread Jason Turner
Wei Geng wrote: I am new to R. Trying to find out how lda() {in MASS R1.8.0 Windows} was implemented in R. Does anyone know where to find out lda source code ? Thanks. Here: http://cran.r-project.org Hint: MASS is a *package*. You want to view its *source*. Same with most other R packages.

Re: [R] lda source code

2003-10-01 Thread Spencer Graves
Consider the following: library(MASS) lda function (x, ...) UseMethod(lda) environment: namespace:MASS methods(lda) [1] lda.data.frame lda.defaultlda.formulalda.matrix Now type lda.data.frame or lda.default, etc., at a command prompt to see the corresponding R code. Is this

RE: [R] lda source code

2003-10-01 Thread Wei Geng
Hi Jason, Spencer, Thanks for the prompt response. The strange thing about MASS is that it's not in Package Sources as most of other R packages are. It seems to come with the binary R installation. I checked out the Rxx/library/MASS on my laptop, there are source code (script) for Venables

Re: [R] lda source code

2003-10-01 Thread Frank Gibbons
Wei Geng, I asked the same question about six weeks ago, so let me try to answer it. The source for the entire package 'MASS' is in a single file, I believe (at least this is true on my Linux setup). The exact location of that file you'll have to determine by searching the directory/folder

Re: [R] lda source code

2003-10-01 Thread Spencer Graves
With R 1.7.1 on Windows 2000, I got fine R source code for each of the 4 options. What version of R and what exactly did you do? I can't reproduce your error. hope this helps. spencer graves Wei Geng wrote: Hi Jason, Spencer, Thanks for the prompt response. The strange thing about MASS

Re: [R] lda source code

2003-10-01 Thread Gavin Simpson
Wei Geng wrote: Does anyone know where to find out lda source code ? Try typing lda.default at the prompt. That should get you started. Also see: methods(lda) as lda.default isn't the only bit of code used in lda() Alternatively, grab the source from CRAN and read it at your leisure. HTH Gav

Re: [R] lda source code

2003-10-01 Thread Gavin Simpson
Wei Geng wrote: Hi Jason, Spencer, Thanks for the prompt response. The strange thing about MASS is that it's not in Package Sources as most of other R packages are. It seems to come with the binary R installation. I checked out the Rxx/library/MASS on my laptop, there are source code (script)

Re: [R] lda source code

2003-10-01 Thread Jason Turner
Wei Geng wrote: Hi Jason, Spencer, Thanks for the prompt response. The strange thing about MASS is that it's not in Package Sources as most of other R packages are. It seems to come with the binary R installation. I checked out the Rxx/library/MASS on my laptop, there are source code (script) for

Re: [R] lda source code

2003-10-01 Thread Roger D. Peng
You are using a *beta* version of R 1.8.0 and in that version lda.default is not visible to the user (hidden in a namespace). You can access it though by using the ::: (triple colon) operator, as in library(MASS) MASS:::lda.default Actually, the first library() call is not necessary. -roger

[R] install from source again

2003-10-01 Thread Erin Hodgess
What does Error 255 stand for in the make bitmapdll, please? Thanks, erin [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] Re: Mandelbrot set and C code

2003-10-01 Thread Jason Turner
Jason Turner wrote: ...I did a slight tweak to your mandelbrot.R code, so that x can be a list with components x and y. This allows you to keep zooming in using your mouse to click on the plot (one of the incredibly nifty features of such sets). Using the tweaked version below, call the

[R] how calculate mean for each group

2003-10-01 Thread szhan
Hello, R experts: I got data like this: group duplicate treatment A Y 5 A Y 3 A N 6 B Y 2 B N 4 B Y 1 How to sort the data and calculate the average treatment value for each group in two

Re: [R] how calculate mean for each group

2003-10-01 Thread Spencer Graves
Have you considered aggregate? hope this helps. spencer graves [EMAIL PROTECTED] wrote: Hello, R experts: I got data like this: group duplicate treatment A Y 5 A Y 3 A N 6 B Y 2 B N 4 B Y

Re: [R] how calculate mean for each group

2003-10-01 Thread Marc Schwartz
On Wed, 2003-10-01 at 20:15, [EMAIL PROTECTED] wrote: Hello, R experts: I got data like this: group duplicate treatment A Y 5 A Y 3 A N 6 B Y 2 B N 4 B Y 1 How to sort the data and