RE: [R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
thanks austin, it worked..it was exactly what I was looking for regards Kunal "Austin, Matt" <[EMAIL PROTECTED]> wrote: > x.1$V1 > or > x.1[,1] > or > x.1['V1'] > > and you shouldn't need to call print.default() directly, just call > print(). > > --Matt > -Original Message- > From:

Re: [R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
James Thank you for response. I am working on treatment for missing data for both bivariate and multivariate normal data. Coming back to example. My problem was that once we do execute this command x.1 <- read.table('/tempxx.txt', fill=T) How can access the particular column say X8

[R] [R-pkgs] updated package boolean 1.5

2004-10-07 Thread Bear F. Braumoeller
I have just uploaded an updated version of my boolean package (v1.05), which should be propagating through CRAN's mirrors soon. Boolean permits estimation of Boolean logit and probit models (see Braumoeller (2003), full reference in help file, for derivation). Boolean logit and probit are a f

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread hadley wickham
Ok. That makes sense. Thanks to you all for your help. Hadley __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Re:How to create a R -application

2004-10-07 Thread Kevin Wang
Hi, On Thu, 7 Oct 2004, Kunal Shetty wrote: > Example for calculating the mean of a data set > > x <- c(8,11,16,18,6,4,20,25,9,13) > u <- mean(x) > u R is an interpreted language, not a compiled one like C++ or Java. Therefore you don't compile it. And for such a simple example, there isn't mu

Re: [R] replace a value in a vector

2004-10-07 Thread Peter Dalgaard
"Paul Lepp" <[EMAIL PROTECTED]> writes: > OK, so this is a really stupid question and should be incredibly simple to > do but I can't figure it out. So maybe someone would be so kind as to tell > me. > I have a vector of zeros and ones. I want to replace all of the zeros with > "black" and all of

Re: [R] replace a value in a vector

2004-10-07 Thread Thomas Lumley
On Thu, 7 Oct 2004, Paul Lepp wrote: OK, so this is a really stupid question and should be incredibly simple to do but I can't figure it out. So maybe someone would be so kind as to tell me. I have a vector of zeros and ones. I want to replace all of the zeros with "black" and all of the ones with

Re: [R] Re: problems installing package in R 2.0.0

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004 [EMAIL PROTECTED] wrote: > Hello, I just installed R 2.0.0 in a Win XP machine. As old programs do > not wor I tried to re-install them by: > Another question. I did a full "install packages from CRAN" but then > comparing the list of packages downloaded and installed with thos

Re: [R] replace a value in a vector

2004-10-07 Thread Sundar Dorai-Raj
ifelse(x == 0, "black", "gray") --sundar Paul Lepp wrote: OK, so this is a really stupid question and should be incredibly simple to do but I can't figure it out. So maybe someone would be so kind as to tell me. I have a vector of zeros and ones. I want to replace all of the zeros with "black" and

RE: [R] R-(wiki)-pedia?

2004-10-07 Thread Dan Bolser
On Thu, 7 Oct 2004, Wiener, Matthew wrote: >When you think there should be new links, or can offer an example you think >would be clearer, it might be worth submitting a documentation modification >proposal (through the bug tracking link on the R home page, for example). >That would improve the ba

[R] replace a value in a vector

2004-10-07 Thread Paul Lepp
OK, so this is a really stupid question and should be incredibly simple to do but I can't figure it out. So maybe someone would be so kind as to tell me. I have a vector of zeros and ones. I want to replace all of the zeros with "black" and all of the ones with "gray". That's it. Any help would

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Dan Bolser
On Thu, 7 Oct 2004, Gabor Grothendieck wrote: >Tony Plate blackmesacapital.com> writes: > >: >: At Thursday 11:29 AM 10/7/2004, Dan Bolser wrote: >: >[snip] >: >I just added some pages... I think it would be great if people could get >: >motivated to contribute to something like this. Its one of

Re: [R] How to use alpha transparency channel for colors?

2004-10-07 Thread Roger D. Peng
There happens to be a nice article about this by Paul Murrell in the most recent R Newsletter at http://cran.r-project.org/doc/Rnews/. -roger [EMAIL PROTECTED] wrote: The release notes for R 2.0.0 states: It is now possible to specify colours with a full alpha transparency channel via the new

[R] Read.Table Reading a Text file

2004-10-07 Thread Kunal Shetty
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As

[R] DEAL and Graphviz

2004-10-07 Thread S Peri
Hi all, some vague questions about deal package and graphs. 1. How is DEAL package showing the output network graph? Is that graphviz installed along with R is displaying the graph or it is some inherent module of DEAL package draws the graph. 2. can I take the output from deal in s

Re: [R] 'with' usage question

2004-10-07 Thread Thomas Lumley
On Thu, 7 Oct 2004, RenE J.V. Bertin wrote: On Thu, 07 Oct 2004 13:17:02 -0400, "Roger D. Peng" <[EMAIL PROTECTED]> wrote regarding "Re: [R] 'with' usage question" 8-) I think what's happening is that the function aov.SS1 will look up 8-) variables in the environment in which it was *defined*, whi

Re: [R] How to use alpha transparency channel for colors?

2004-10-07 Thread kwright
Brian Ripley wrote: > As so often happens, the `something wrong' is not reading the help file. > As the NEWS file _also_ says > > o A 'version' argument has been added to pdf() device. If this is > set to "1.4", the device will support transparent colours. > > pdf("alpha.pdf", version="

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Witold Eryk Wolski
Thomas Petzoldt wrote: Tony Plate wrote: > At Thursday 11:29 AM 10/7/2004, Dan Bolser wrote: [snip] I just added some pages... I think it would be great if people could get motivated to contribute to something like this. Its one of those cases of just getting the ball rolling... Do you think yo

Re: [R] 'with' usage question

2004-10-07 Thread Roger D. Peng
T/F are not defined in the global environment, rather they are in the `base' package. That's why you can override them by redefining T/F in the global environment (or somewhere farther up the search list than `base'). attach() is different because it places variables on the search list *after*

RE: [R] Re:How to create a R -application

2004-10-07 Thread Kunal Shetty
Ted Thank you for making me aware about the R library packages ; related to shafer's EM methods for imputing missing data...infact I juat had a look at on of the mailing list queries regarding imputing missing data http://tolstoy.newcastle.edu.au/R/help/04/07/3152.html regards Kunal

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Gabor Grothendieck
Tony Plate blackmesacapital.com> writes: : : At Thursday 11:29 AM 10/7/2004, Dan Bolser wrote: : >[snip] : >I just added some pages... I think it would be great if people could get : >motivated to contribute to something like this. Its one of those cases of : >just getting the ball rolling... :

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Thomas Petzoldt
Tony Plate wrote: > At Thursday 11:29 AM 10/7/2004, Dan Bolser wrote: [snip] I just added some pages... I think it would be great if people could get motivated to contribute to something like this. Its one of those cases of just getting the ball rolling... Do you think you can dump the existing

RE: [R] Re:How to create a R -application

2004-10-07 Thread Ted Harding
On 07-Oct-04 Kunal Shetty wrote: > Dear R- users and Helpers > >I am a beginner for R. I am using R to implement EM algorithm > for treating Missing values. I would like to know how can save or > compile my logical R commands to an application; so that the next time > I could just execute

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Frank E Harrell Jr
hadley wickham wrote: a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), levels=c("a","b"))) levels(subset(a, b=1, drop=T)$c) # [1] "a" "b" Is this a bug? Thanks,, Hadley This is always controversial. I am apparently in the small minority in believing that the default behavior is what yo

RE: [R] R-(wiki)-pedia?

2004-10-07 Thread Wiener, Matthew
When you think there should be new links, or can offer an example you think would be clearer, it might be worth submitting a documentation modification proposal (through the bug tracking link on the R home page, for example). That would improve the basic documentation, which is what most people wil

[R] Re: problems installing package in R 2.0.0

2004-10-07 Thread r . ghezzo
Hello, I just installed R 2.0.0 in a Win XP machine. As old programs do not wor I tried to re-install them by: >C:\R\RW2000\bin>Rcmd INSTALL c:\r\r_src\src\autologi > >--Making package autologi -- > adding build stamp to DESCRIPTION > installing R files > installing data

RE: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Liaw, Andy
> From: hadley wickham > > a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), > levels=c("a","b"))) > levels(subset(a, b=1, drop=T)$c) > # [1] "a" "b" > > Is this a bug? Don't think so: > args("[.data.frame") function (x, i, j, drop = if (missing(i)) TRUE else length(cols) == 1)

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Peter Dalgaard
hadley wickham <[EMAIL PROTECTED]> writes: > a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), levels=c("a","b"))) > levels(subset(a, b=1, drop=T)$c) > # [1] "a" "b" > > Is this a bug? In some older versions of R (at least older than 1.9.0), there was a documentation bug in that the he

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Tony Plate
At Thursday 11:29 AM 10/7/2004, Dan Bolser wrote: [snip] I just added some pages... I think it would be great if people could get motivated to contribute to something like this. Its one of those cases of just getting the ball rolling... Do you think you can dump the existing R-docs into this wiki a

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Sundar Dorai-Raj
hadley wickham wrote: a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), levels=c("a","b"))) levels(subset(a, b=1, drop=T)$c) # [1] "a" "b" Is this a bug? Also, I think you meant: levels(subset(a, b==1, drop=T)$c) (Note the double-equals for logical equality) --sundar

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Sundar Dorai-Raj
hadley wickham wrote: a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), levels=c("a","b"))) levels(subset(a, b=1, drop=T)$c) # [1] "a" "b" Is this a bug? No, drop = TRUE is not doing what you're thinking it's doing. From ?subset (R-1.9.1): The 'drop' argument is passed on to the ind

Re: [R] read.delim problem with trailing spaces

2004-10-07 Thread Uwe Ligges
Michael Friendly wrote: I'm trying to read a comma delimited dataset that uses '.' for NA. I found that if the last field on a line was a missing '.' it was not read as NA, but just a '.', and the life variable was made a factor. The data looks like this, income,imr,region,oilexprt,imr80,gnp80

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Gabor Grothendieck
Dan Bolser mrc-dunn.cam.ac.uk> writes: : : On Wed, 6 Oct 2004, Gabor Grothendieck wrote: : : >Dan Bolser mrc-dunn.cam.ac.uk> writes: : > : >: : >: Is there an R wiki? : >: : >: Looking at the huge amount of traffic on this list, I think wiki could be : >: an exelet outlet for all the constru

[R] Subset doesn't drop unused factor levels

2004-10-07 Thread hadley wickham
a <- data.frame(b = rep(1:5, each=2), c=factor(rep("a",10), levels=c("a","b"))) levels(subset(a, b=1, drop=T)$c) # [1] "a" "b" Is this a bug? Thanks,, Hadley __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] R-(wiki)-pedia?

2004-10-07 Thread Dan Bolser
On Wed, 6 Oct 2004, Gabor Grothendieck wrote: >Dan Bolser mrc-dunn.cam.ac.uk> writes: > >: >: Is there an R wiki? >: >: Looking at the huge amount of traffic on this list, I think wiki could be >: an exelet outlet for all the constructive enthusiasm here. >: >: I don't think it would be too ha

Re: [R] 'with' usage question

2004-10-07 Thread Roger D. Peng
I think what's happening is that the function aov.SS1 will look up variables in the environment in which it was *defined*, which in your case (I'm guessing) is the global environment/workspace. Therefore, if `speed' and `Subject' are not defined in the global environment, they will not be foun

Re: [R] 'with' usage question

2004-10-07 Thread Prof Brian Ripley
Default arguments are evaluated in the function frame, not in the calling environment (nor in the same place as explicit arguments). > Which to me reads that a with statement as above is equivalent to > > > attach(data) ; aov.SS1(y=Obs) ; detach(data) > > Or is that just wishful thinking?? The l

Re: [R] Re:How to create a R -application

2004-10-07 Thread Adaikalavan Ramasamy
This is not answering your question directly. I usually use the BATCH command for running R non-interactively. You can also use commandArgs() to get any arguments from the command line. For more information, see help(BATCH) or help(commandArgs). On Thu, 2004-10-07 at 16:14, Kunal Shetty wrote: >

Re: [R] How to use alpha transparency channel for colors?

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004 [EMAIL PROTECTED] wrote: > The release notes for R 2.0.0 states: Would that be the NEWS file? R does not have `release notes' per se. > It is now possible to specify colours with a full alpha > transparency channel via the new 'alpha' argument to the > rgb() and hsv() f

Re: [R] Problem compiling R 2.0.0 on windows

2004-10-07 Thread Roman Belenov
Roman Belenov <[EMAIL PROTECTED]> writes: >>> making bootstrap versions of packages ... >> >> There should be lines here, so if this were a fresh build something is >> badly wrong. > > No, it was just another 'make' run on partly built system. $(RHOME)/library > directory is already populated w

Re: [R] How to use alpha transparency channel for colors?

2004-10-07 Thread Deepayan Sarkar
On Thursday 07 October 2004 10:01, [EMAIL PROTECTED] wrote: > The release notes for R 2.0.0 states: > > It is now possible to specify colours with a full alpha > transparency channel via the new 'alpha' argument to the > rgb() and hsv() functions, or as a string of the form "#RRGGBBAA". > >

Re: [R] Remove Indeterminate Level

2004-10-07 Thread Thomas Lumley
On Thu, 7 Oct 2004, Neil Leonard wrote: Hi, I have imported some data to R from stata and my factor variables have an Indeterminate level which I don't really want. For example the variable sex has the levels Male, Female and Indeterminate. There are no 'Indeterminate' values in the data. Can so

[R] how to use chinese font in R/tcltk

2004-10-07 Thread 陳明輝
I can use Chinese fonts in R. I can also use Chinese fonts in tcl/tk. But I can not write Chinese using tkgrid in R. The attached file is an example trying to write Chinese. The Chinese font can not be displayed correctly. Can anyone help me ? Sincerely library(tcltk) tkt.test<-tktoplevel()

[R] Re:How to create a R -application

2004-10-07 Thread Kunal Shetty
Dear R- users and Helpers I am a beginner for R. I am using R to implement EM algorithm for treating Missing values. I would like to know how can save or compile my logical R commands to an application; so that the next time I could just execute the R- file. Example for calculating the m

[R] question about df in linear mixed model function lme

2004-10-07 Thread Bill Shipley
I have looked through Pinheiro and Bates (2000) but have not found an explanation, so I post my question to the group. Pages 90-92 explain how the denominator df are calculated, but not why. Consider a mixed model with two predictor variables (Y, Z) in which Y only varies between groups while Z v

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Robin Hankin
Bryan you may find R-and-octave.txt useful here. This is a list of Matlab/Octave commands, and their R equivalents. It is in the "contributed docs" section of CRAN. HTH rksh Sorry if these questions have been asked recently--I'm new to this list. I'm primarily a Matlab user who is attempting

Re: [R] crossprod vs %*% timing

2004-10-07 Thread Robin Hankin
thanks everyone who replied. Brian Ripley wrote: t(a) %*% A %*% a is a quadratic form. What varies `many many times'? If A does not vary (often), you want to find B with B'B = A (e.g. via chol, Yes indeed! For me, "A" varies only very rarely, so it makes sense to use this fact. However, kee

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Gabor Grothendieck
Bryan L. Brown mail.utexas.edu> writes: : : Sorry if these questions have been asked recently--I'm new to this list. : : I'm primarily a Matlab user who is attempting to learn R and I'm searching for possible equivalents of : commands that I found very handy in Matlab. So that I don't seem

[R] How to use alpha transparency channel for colors?

2004-10-07 Thread kwright
The release notes for R 2.0.0 states: It is now possible to specify colours with a full alpha transparency channel via the new 'alpha' argument to the rgb() and hsv() functions, or as a string of the form "#RRGGBBAA". NOTE: most devices draw nothing if a colour is not opaque, but PDF a

RE: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Liaw, Andy
There's also the `cheat sheet' http://cran.r-project.org/doc/contrib/R-and-octave-2.txt that might be useful for Matlab speakers. Andy > From: Dimitris Rizopoulos > > Hi Bryan, > > 1. which(x==1) > 2. X[2:nrow(X),] or X[,2:ncol(X)] > > The "An Introduction to R" document is very usdeful for th

Re: [R] Problems with merge

2004-10-07 Thread Don MacQueen
At 10:44 AM +0530 10/6/04, Vikas Rawal wrote: This issue has been discussed on this list before but the solutions offerred are not satisfactory. So I thought I shall raise it again. I want to merge two datasets which have three common variables. These variables DO NOT have the same names in both

Re: [R] Remove Indeterminate Level

2004-10-07 Thread Dimitris Rizopoulos
Hi Neil, you could try sex <- sex[,drop=TRUE] I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/16/396887 Fax: +32/16/337015 Web: http://www.med.kule

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004, Bryan L. Brown wrote: > Sorry if these questions have been asked recently--I'm new to this list. > > I'm primarily a Matlab user who is attempting to learn R and I'm > searching for possible equivalents of commands that I found very handy > in Matlab. So that I don't seem u

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Gavin Simpson
Bryan L. Brown wrote: Sorry if these questions have been asked recently--I'm new to this list. Hi Bryan, A useful resource is Robin Hankin's contributed document "R and Octave": http://cran.r-project.org/doc/contrib/R-and-octave-2.txt The first is Matlab's 'find' command. This is one of the most u

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Deepayan Sarkar
On Thursday 07 October 2004 09:10, Bryan L. Brown wrote: > Sorry if these questions have been asked recently--I'm new to this > list. > > I'm primarily a Matlab user who is attempting to learn R and I'm > searching for possible equivalents of commands that I found very > handy in Matlab. So that I

RE: [R] Remove Indeterminate Level

2004-10-07 Thread Liaw, Andy
Try: > sex <- factor(sample(c("M", "F"), 10, replace=TRUE), levels=c("M", "F", "I")) > sex [1] F F M F F F M M M F Levels: M F I > sex2 <- sex[, drop=TRUE] > sex2 [1] F F M F F F M M M F Levels: M F HTH, Andy > From: Neil Leonard > > Hi, > > I have imported some data to R from stata and my f

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Tony Plate
At Thursday 08:10 AM 10/7/2004, Bryan L. Brown wrote: Sorry if these questions have been asked recently--I'm new to this list. I'm primarily a Matlab user who is attempting to learn R and I'm searching for possible equivalents of commands that I found very handy in Matlab. So that I don't seem u

Re: [R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Dimitris Rizopoulos
Hi Bryan, 1. which(x==1) 2. X[2:nrow(X),] or X[,2:ncol(X)] The "An Introduction to R" document is very usdeful for this kind of things. I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapuc

Re: [R] Problem compiling R 2.0.0 on windows

2004-10-07 Thread Roman Belenov
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > We do not support cygwin (too many bugs over the years) even with > -mno-cygwin, so you are on your own. That's OK, I don't expect any "formal" support in any sence. > Suggestion: build under the supported tools first so you know what to > expect.

[R] Remove Indeterminate Level

2004-10-07 Thread Neil Leonard
Hi, I have imported some data to R from stata and my factor variables have an Indeterminate level which I don't really want. For example the variable sex has the levels Male, Female and Indeterminate. There are no 'Indeterminate' values in the data. Can somebody tell me how to get rid of this l

[R] Equivalents of Matlab's 'find' and 'end'

2004-10-07 Thread Bryan L. Brown
Sorry if these questions have been asked recently--I'm new to this list. I'm primarily a Matlab user who is attempting to learn R and I'm searching for possible equivalents of commands that I found very handy in Matlab. So that I don't seem ungrateful to those who may answer, I HAVE determine

Re: [R] title in bold - simple question in R 1.9.0

2004-10-07 Thread Dimitris Rizopoulos
Hi Bruno, you'd probably need the following: plot(0) title(main=expression(paste(bold("Hello"), " world")), font.main=1) I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leu

Re: [R] title in bold - simple question in R 1.9.0

2004-10-07 Thread Deepayan Sarkar
On Thursday 07 October 2004 08:39, Bruno Cutayar wrote: > Hi, > how can i write this simple sentence : "Hello world" with "Hello" > only in bold ? > I try > > > plot(1:5) > > title(main=paste(expression(bold("Hello")),"world",sep=" ")) > > but the result is wrong. This seems to work: title(main

Re: [R] confidence interval for nls

2004-10-07 Thread Henrik Andersson
I tried the example and it works fine, but why o why, do I not get any gradient from another prediction? #example code yran <- c(0.0118821538311157, 0.323340819569374, 0.525108551769669, 0.648173528359086,

[R] title in bold - simple question in R 1.9.0

2004-10-07 Thread Bruno Cutayar
Hi, how can i write this simple sentence : "Hello world" with "Hello" only in bold ? I try > plot(1:5) > title(main=paste(expression(bold("Hello")),"world",sep=" ")) but the result is wrong. thanks, Bruno Si vous n'etes pas destinataires de ce message, merci d'avertir l'expediteur de l'erreur d

Re: [R] Computing and testing transition probabilities?

2004-10-07 Thread Gabor Grothendieck
Ajay Shah mayin.org> writes: : : Folks, I have a situation with many firms, observed for many years : (but it's not panel data, so every now and then data for a firm just : goes missing). : : Let me show you an example. There are 3 firms "a", "b" and "c". There : are 3 years: 1981, 1982 and 198

Re: [R] Problem compiling R 2.0.0 on windows

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004, Roman Belenov wrote: > I'm trying to compile R 2.0.0 on windows using cygwin. The program itself > compiled fine (I added -mno-cygwin to compilation/linkage rules so that mingw > runtime is used), but the build process fails to make packages. Here are the > error messages: We

Re: [R] confidence interval for nls

2004-10-07 Thread Peter Dalgaard
Henrik Andersson <[EMAIL PROTECTED]> writes: > Do I have the right impression that it's currently not possible to > produce confidence intervals for the nls predictions using R? > > I had a course were we used SAS PROC nlin and there you could get > intervals for the parameters and the prediction

[R] Problem compiling R 2.0.0 on windows

2004-10-07 Thread Roman Belenov
I'm trying to compile R 2.0.0 on windows using cygwin. The program itself compiled fine (I added -mno-cygwin to compilation/linkage rules so that mingw runtime is used), but the build process fails to make packages. Here are the error messages: -

Re: [R] Repeated measures

2004-10-07 Thread Sean Davis
Dan, Thanks for the reply. To be a bit more specific, the "time" variable continuous and the measurement is a real value at random intervals. I would, ultimately, like to define a state for each measured point through time. In my specific case right now, the state could be described as a bin

[R] confidence interval for nls

2004-10-07 Thread Henrik Andersson
Do I have the right impression that it's currently not possible to produce confidence intervals for the nls predictions using R? I had a course were we used SAS PROC nlin and there you could get intervals for the parameters and the prediction but I do not have access to SAS. Would it be diffic

[R] R 2.0.0. startup fast! (was ... slow)

2004-10-07 Thread Thomas Petzoldt
Hello and many thanks for all who replied! I was wondering, why R 2.0.0/Windows with the complete CRAN set starts so slow from an NT 4.0 Server. Then I run a lot of systematic tests and found that only the NT4 server had this behavior but other servers (Windows 2003 and Linux/Samba) responded qu

RE: [R] Repeated measures

2004-10-07 Thread Dan Bebber
Hi Sean, I'm not sure I quite understand your question. Am I right in thinking that: state = a binomial dependent variable measure = a continuous predictor If so, perhaps you could try using glmmPQL (Generalized Linear Mixed Models fitted by Penalized Quasi-Likelihood) in library MASS. The model

Re: [R] library/utils/man/utils.RD.gz : Nosuch file or directory

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004, Luis Rideau Cruz wrote: > R-help > > I have installed R 2.0.0 ( Windows) on my machine and had several > 'crashes' while working on it. > > I have reinstalled a couple of times and still got strange behaviour > from time to time(screen goes white and no prompt is printed out,

[R] library/utils/man/utils.RD.gz : Nosuch file or directory

2004-10-07 Thread Luis Rideau Cruz
R-help I have installed R 2.0.0 ( Windows) on my machine and had several 'crashes' while working on it. I have reinstalled a couple of times and still got strange behaviour from time to time(screen goes white and no prompt is printed out,,,) Last time I have reinstalled I checked the md5sum.txt

Re: [R] as.complex

2004-10-07 Thread Patrick Burns
Perhaps there could be an extra argument to as.complex that controls whether parsing is standard or loose. Patrick Burns Burns Statistics [EMAIL PROTECTED] +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User") Prof Brian Ripley wrote: On Thu, 7 Oct

Re: [R] Re: creating new varFunc classes in nlme .. error: "Don't know how to get coefficients for .. object"

2004-10-07 Thread JJ
Thanks much Dr. Ripley. Looks like the setMethod statment was unneeded. If anyone can help, Im still looking for some insight into the error message I receive using nlme: Warning in conLin$Xy * varWeights(object) : longer object length is not a multiple of shorter object length Error in recalc.v

Re: [R] library in R2.0.0

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004, Petr Pikal wrote: > Hi all > > I upgraded to 2.0.0 version and did everything as I used to do > before. > > I installed windows binary, copy/paste other than bundled > packages. > > I got e.g. > > library(chron) > Error in library(chron) : 'chron' is not a valid package -

Re: [R] update.packages() with R 2.0.0

2004-10-07 Thread Uwe Ligges
Joseph J. Gazaille wrote: Good day to all of you and thank you for reading this. I certainly must have done something awfully wrong when I downloaded and installed R 2.0.0 on a PC with Windows 98. You will find below what happens when I try to 'update.packages()'. Beside other things that might h

[R] library in R2.0.0

2004-10-07 Thread Petr Pikal
Hi all I upgraded to 2.0.0 version and did everything as I used to do before. I installed windows binary, copy/paste other than bundled packages. I got e.g. > library(chron) Error in library(chron) : 'chron' is not a valid package -- installed < 2.0.0? so I loaded it from CRAN and everythin

Re: [R] as.complex

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004, Erich Neuwirth wrote: > as.complex("2+1i") -> 2+1i > as.complex("2+i") -> NA > > Does somebody have a modified version of as.complex > which does the coercion in a less strict manner and > produces a complex number also for strings like the > second example? > > Perhaps it wo