FAQ

# R>r-help>May 2000

## 146 discussions - 509 posts

• 32

#### [R] R Documentation(s)

Dear all, I am interested by the various messages sent to the r-help mailing list these last few days about documentation on R. Yet, there are a lot of issues actually open on this topic, and it is ...
 Emmanuel ParadisMay 2, 2000 at 4:06 pmMay 12, 2000 at 4:56 pm
• 26

#### [R] error with princomp

Dear R people, Thanks to everyone who replied to my questions about environments and lexical scoping. It was very helpful. I am still working on understanding this. My phone line has been dead for ...
 Faheem MithaMay 20, 2000 at 5:08 pmNov 24, 2000 at 12:46 am
• 11

#### [R] Dispersion in summary.glm() with binomial & poisson link (fwd)

As Bill Venables has kindly pointed out, I was a bit sloppy in the above: phi here refers to the appropriate overdispersion parameter in the distribution chosed, negative binomial, beta-binomial, ...
 Jim LindseyMay 9, 2000 at 3:12 pmMay 10, 2000 at 1:41 pm
• 10

#### [R] NA in C/C++

Dear R-people Sorry for asking a question only indirectly related to S/R but since data containing NA values can so easily be handled in S/R, and you can write functions for S/R in C, my question ...
 CstratoMay 28, 2000 at 4:19 pmMay 29, 2000 at 8:31 pm
• 10

#### [R] Interaction Plots in R

Is there a function to do interaction plots in R? I know in Splus I can simply use interaction.plot() Thanks. -- ----------------------------------------------------------------------------------- ...
 Ko-Kang WangMay 9, 2000 at 9:09 amMay 24, 2000 at 3:59 pm
• 9

#### [R] problem on upgrading to RH6.2 (was problem with ts pack

I have similar problems with R 1.0.1 on RH6.2 (pre-compiled rpm binaries). Some of the old packages ceased to work and when I tried to re-install them through R INSTALL package.tar.gz', some just ...
 Jari OksanenMay 25, 2000 at 9:39 amMay 27, 2000 at 5:51 am
• 9

#### [R] using MANOVA in R

Hi All! I wish to use R for MANOVA analysis. Where could I get info on that?
 Mandar oakMay 8, 2000 at 11:25 pmMay 11, 2000 at 1:47 pm
• 8

#### [R] a question about sgeostat

I know hese sorts of questions should be addressed directly to the author of the extensions, but since I'm in a bit of a rush, I thought I'd fire this out to the group at large. Furthermore, one of ...
 Matthew NortonMay 29, 2000 at 5:02 pmMay 30, 2000 at 10:25 am
• 7

#### [R] Drawing Trig Function

Hi there, Two simple questions: 1) How do I comment out several lines in R? Do I need to type # in the beginning of each line? 2) I have got a few lines of codes that draws sin, cos and tan ...
 Ko-Kang WangMay 30, 2000 at 8:40 pmMay 31, 2000 at 5:35 pm
• 7

#### [R] Setting up ESS 5.0

I am running R 1.0.1, ESS 5.0 and GNU Emacs 20.4.1 under SuSe Linux 6.3, but I cannot get ESS to start R. I have tried mailing a bug report from within ESS but have received no reply after a week ...
 John WilliamsMay 14, 2000 at 4:05 pmMay 15, 2000 at 10:18 am
• 6

#### [R] Non linear regression using Levenberg-Marquardt method

Hello, I want to fit some non linear models with the Levenberg-Marquardt algorithm. It doesn't seem to exist any function to do this in R ( well, maybe one does, but I'm a new user, and the only ...
 Marjorie BourgoinMay 15, 2000 at 9:33 amJun 21, 2000 at 3:56 pm
• 6

#### [R] handling dates

howdy R friends, Can anyone help me with converting a 'unix' date (seconds since 1970) into something readable? There doesn't seem to be anything in the 'date' package and the prospect of calculating ...
 Strumila, JohnMay 22, 2000 at 1:50 amMay 23, 2000 at 5:11 pm
• 6

#### [R] problems with outer

Dear R people, I have a mysterious problem I have been tearing my hair over for some time. I have a function that looks as follows: covexp <- function(point,pair,theta,a,b) { pointnum <- ...
 Faheem MithaMay 6, 2000 at 11:37 pmMay 7, 2000 at 3:35 am
• 6

#### [R] including r code in a latex file

Dear R people, The header practically says it all. I was wanting to include r code in a Latex file. Since R code using{ and }, which are interpreted by Latex as control characters, I would expect it ...
 Faheem MithaMay 1, 2000 at 9:05 pmMay 2, 2000 at 9:08 am
• 5

#### [R] Installing add on packages

Hi- I'm a complete newbie trying to install R and the 'tree' package on a linux box. I installed R successfully using an RPM for Redhat 6.2. I downloaded the tree*.gz file, ran tar, the fired up R ...
 Robert SchickMay 31, 2000 at 9:39 pmMay 31, 2000 at 11:09 pm
• 5

#### [R] heap size trouble

Hi , I 've got a trouble with using R. When I want to load a file that contains 93 thousand raws and 22 colums of data (essentially float) R shows me this error message "heap size trouble" Does ...
 KaramianMay 30, 2000 at 11:43 amMay 31, 2000 at 1:36 pm
• 5

#### [R] Invalid Page fault - R ver 1.0.0 on Windows98 SE

Hello, I was wondering if anyone have encountered an invalid page fault by cutting and pasting into R (or using the command line editing) - seems to happen at the same address 017f:7fc0c9da. Here is ...
 Partha_bagchiMay 26, 2000 at 2:43 pmMay 31, 2000 at 12:46 pm
• 5

#### [R] 3D plotting

Hi , I wanted to know it is possible to do 3D plotting with R. If it is possible what shall I do? * Are there special packages to install? * Where can I find them? Thanks a lot for your help An HTML ...
 KaramianMay 26, 2000 at 9:31 amMay 26, 2000 at 9:05 pm
• 5

#### [R] backslash

Hi R-people I am trying to have R write latex-code. "\begin{tabular}" and "\end{tabular} do not produce similar results. I would like to something like write("\begin{tabular} ,file=. . .) . . ...
 Helgi TomassonMay 22, 2000 at 4:56 pmMay 23, 2000 at 3:06 pm
• 4

#### [R] [?] ARIMA in R

I am using R version 1.0.1 both under Linux and Windows 98. A simple question: After fitting an ARIMA model, how can I plot in the same graph both the original series (solid line, say) and the fitted ...
 Francisco CribariMay 22, 2000 at 11:34 amAug 14, 2000 at 6:27 am
• 4

#### [R] Japanese in R

Dear Paul Murrel, this is a little bit late reply to your previous information on the Japanese facility of R. Recently I installed R(1.0.1) from the woody package of Debian GNU/Linux and tested ...
 Shigeru MaseMay 19, 2000 at 3:30 pmJun 4, 2000 at 2:18 pm
• 4

#### [R] Needed: Understading runif() output :-)

Dear all, I have been trying to understand what runif() is telling me. I am generating lots of numbers (billions and billions (wow, I've dreamed about saying that for many years... :-) ), for a ...
 Kjetil KjernsmoMay 25, 2000 at 2:38 pmMay 25, 2000 at 8:30 pm
• 4

#### [R] problem with ts package

Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/local/lib/R/library/ts/libs/ts.so": /usr/local/lib/R/library/ts/libs/ts.so: undefined symbol: ma My ...
 Christian PosseMay 24, 2000 at 7:17 pmMay 25, 2000 at 7:49 am
• 4

#### [R] Problem with MCLUST

Hi, I'm using R 1.0.0 on both a machine running Win95 and another machine running Win98. I'm using the mclust function emclust and creating a bic values file for my data. the strange part is, I keep ...
 Mark HallMay 21, 2000 at 2:05 pmMay 21, 2000 at 10:56 pm
• 4

#### [R] How do I add fitted curves to coplots?

G'day I've been performing an analysis of some data by a follow the leader method (Bad I know but it seems to work and I think I understand all the steps now) and I've run into a problem. The ...
 John S. WalkerMay 16, 2000 at 9:26 pmMay 17, 2000 at 8:30 am
• 4

#### [R] C code: how to handle *double as a matrix t[] []

Helle R people, here's my slightly out of range question: i am in c code (dll call from R - passing a matrix as double * data, int * row and int * col). In C/C++, i'd like to handle this *double as a ...
 Nicolas baurinMay 16, 2000 at 10:40 amMay 16, 2000 at 8:49 pm
• 4

#### [R] truncated regressor

Dear friends. I have the problem of assessing the importance of bleeding times censored at 20 minutes for predicting blood loss incurred after a liver biopsy. How would I use the knowledge that the ...
 Troels RingMay 14, 2000 at 2:32 pmMay 15, 2000 at 10:57 am
• 4

#### [R] Plotting in R

Here is a question that I don't know if it is possible to do in R: If I type: Then, I want to "take out" the first decimal place of each output, plot them based on their appearence frequencies. Then ...
 Ko-Kang WangMay 11, 2000 at 7:21 amMay 11, 2000 at 10:24 am
• 4

#### [R] Q: Problems with eigen() vs. svd()

"c" is not a great choice of identifier! These could have been complex, of course, but as it happens they are real. should be the Not quite. It means Pi2 is symmetric all right, but it implies no ...
 Bill VenablesMay 10, 2000 at 11:27 amMay 10, 2000 at 1:43 pm
• 4

#### [R] Dispersion in summary.glm() with binomial & poisson link

Following p.206 of "Statistical Models in S", I wish to change the code for summary.glm() so that it estimates the dispersion for binomial & poisson models when the parameter dispersion is set to ...
 John MaindonaldMay 9, 2000 at 12:12 amMay 9, 2000 at 1:25 pm
• 4

#### [R]:?alternative to loop

Hello to all R people, for the application of a function to each column of a matrix (ex: function sum()), i'd like to know if there is a simpler (and faster) alternative to a loop like : for (i in ...
 Nicolas baurinMay 3, 2000 at 10:48 amMay 3, 2000 at 3:46 pm
• 3

#### [R] subset of matrix vs data frame

In Splus this works, Error in [<-.data.frame(*tmp*, a == 1, value = 2) : matrix subscripts not allowed in replacement Was this a design decision? Sorry if I missed it in An Introduction to R. Denis ...
 Denis WhiteMay 31, 2000 at 6:29 pmJun 1, 2000 at 7:09 pm
• 3

#### [R] no warning with NULL component in data.frame

Dear all, I am a bit surprised that R does not give a warning (or a message error) when calling, in a data.frame (or a list), an element that does not exist: my.var1 my.var2 1 1 3 2 2 4 [1] 1 2 I ...
 Emmanuel ParadisMay 24, 2000 at 12:53 pmMay 31, 2000 at 4:38 pm
• 3

#### [R] FFT (fast fourier transform) function

I'm having trouble with the fast fourier transform function ("fft"). Apparently, I'm not understanding what R's function is actually doing, let me show you with the example in the R manual: if I put ...
 Mike olsenMay 30, 2000 at 11:54 pmMay 31, 2000 at 2:48 pm
• 3

#### [R] axis function

In S-PLUS, the 'axis' function accepts some arguments that don't exist in the R counterpart. The two that I'm interested in right now are 'pos' and 'ticks'. Any suggestions on how obtain the same ...
 Zivan KaramanMay 25, 2000 at 9:15 amMay 26, 2000 at 6:50 am
• 3

#### [R] order() results

Hi, Let?s consider aux1. I wanted to order its data considering its first column as the index V1 V2 V3 V4 V5 V6 1 0.08506724 150 1956 15.08 233.82 463.295 14 2 0.76205323 203 1922 15.35 218.74 ...
 Manuel Castejon LimasMay 24, 2000 at 10:52 amMay 24, 2000 at 11:35 am
• 3

#### [R] std.error of coefficients in lm

Dear All, sorry for bothering you with a simple (?) question. Is it possible to save the std.error of the estimated coefficients obtained by the summary.lm function? Something analogous to coef( )? ...
 Nina LieskeMay 23, 2000 at 2:21 pmMay 23, 2000 at 4:49 pm
• 3

#### [R] .rpm files

Dear R Forgive my ignorance, but I have not met an .rpm file before. How do I unpack it? Colin ---------------------- C. R. Knowles, Computing Officer Department of Economics University of Bristol 8 ...
 C.R. Knowles, EconomicsMay 22, 2000 at 6:13 pmMay 23, 2000 at 9:36 am
• 3

#### [R] What is an rpm

Forgive my ignorance, but I have not met an .rpm file before. How do I unpack it? Colin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read ...
 Colin KnowlesMay 22, 2000 at 6:11 pmMay 22, 2000 at 8:44 pm
• 3

#### No subject

I have installed r on my pc with windows 95 and I get this message: fatal error: unable to open the base package Any help? Javier ...
 Javier Muñoz CriadoMay 4, 2000 at 3:22 pmMay 19, 2000 at 10:08 am
• 3

#### [R] environments and lexical scoping (conceptual issues)

Dear R people, I have been reading about R in V&R's S programming', specifically Section 3.4, entitled `Databases, frames, and environments'. I have found it useful in helping me understand things ...
 Faheem MithaMay 19, 2000 at 12:00 amMay 19, 2000 at 5:44 am
• 3

#### [R] parameter estimation

Hello, my question is the following: from a data set (assuming the data has a parametric form, gamma, say) how can I estimate the parameters of the data's density. That is, for the gamma, say, how ...
 Vittorio AddonaMay 17, 2000 at 1:04 pmMay 17, 2000 at 3:30 pm
• 3

#### [R] Are multiple range tests (Duncan, Bonferroni, Tukey, ...) available in R?

Dear friends I'm trying to switch to R for my current work, but could not find a more or less direct procedure to perform multiple range tests such as LSD, Duncan, Tukey, etc after an analysis of ...
 Rodolfo Canet-CastelloMay 5, 2000 at 9:01 amMay 5, 2000 at 10:48 pm
• 3

#### [R] Missing dependencies in installing R-base-1.0.0-1

I recently upgraded to LinuxPPC 2000. When I tried to reinstall the R rpm, I was missing the following dependent files: egcs, egcs-g77, and libf2c.so.0 Is there an upgrade or a fix to this? Brian ...
 Joseph Brian Adams, Ph.D.May 1, 2000 at 10:55 pmMay 5, 2000 at 2:46 pm
• 3

#### [R] GLM available book recommendation

Howdy, I looked at the references in the R and S-Plus literature to find a good introduction/reference to GLM. When I then went to Amazon it seemed to me that all the recommended books are out of ...
 Ragnar BeerMay 3, 2000 at 8:26 amMay 4, 2000 at 10:07 am
• 2

#### [R] LaTeX \varrho

Hi, plot( <whatever , xlab=expression(rho)) works fine and plots LaTeX's \rho. How can I plot \varrho ? Torsten -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help ...
 Torsten HothornMay 29, 2000 at 12:40 pmMay 31, 2000 at 9:10 am
• 2

#### [R] scoping problems?

Dear All, This is driving me nuts; I think it should be very simple (and I am sure the answer is in front of me somewhere in ch. 3 of "S programming") but I just don't get it. It seems that "weights" ...
 Ramon Diaz-UriarteMay 29, 2000 at 5:05 pmMay 30, 2000 at 9:03 am
• 2

#### [R] glmm library

It was mentioned on S-News that R has a generalized mixed-effects model library called glmm. I have not been able to locate this on CRAN. Which package should I look for and would this be on CRAN or ...
 Carlos CarrollMay 23, 2000 at 6:37 pmMay 23, 2000 at 7:09 pm
• 2

#### [R] rmeta Package

I want to draw a meta plot with Mantel-Haenszel analysis (meta.MH) in the "rmeta" package. Is it possible to change the confidence interval? The default is 95%, but what if I want, say 99% or 90% ...
 Ko-Kang WangMay 19, 2000 at 11:24 pmMay 20, 2000 at 11:48 am
• 2

#### [R] spatial functions

Hi all, I am considering buying S-Plus but I wonder if that is really necessary since it seems to be possible doing most (all?) things using R instead. More specifically I am interested in the ...
 Tord SnallMay 19, 2000 at 9:23 amMay 19, 2000 at 5:41 pm