[R] Sections for help files

2003-07-10 Thread Rob Hyndman
When compiling a package, is there any way of making the help files (html or chtml) have separate sections for functions and data sets? When looking at the help file for a package with a large number of help pages, it would be nice to have the functions appear first and the data sets appear second

RE: [R] postscript/eps label clipping

2003-07-10 Thread Mulholland, Tom
I guess I was wrong there. However it does seem that it will come down to fontsize 9 without clipping (or if it does I find it hard to see). -Original Message- From: Mulholland, Tom Sent: Friday, 11 July 2003 1:38 PM To: David Forrest; [EMAIL PROTECTED] Subject: RE: [R] postscript/eps lab

RE: [R] postscript/eps label clipping

2003-07-10 Thread Mulholland, Tom
Never having used postscript as an output method I looked to see what you were talking about. I noted that "ps.options needs to be called before calling postscript". ps.options does have pointsize within it and silly though it may seem, its what I would do next. ___

[R] postscript/eps label clipping

2003-07-10 Thread drf5n
The following code produces an eps file with the tops of each of the ylabs clipped off. par(mfrow=c(2,2)) plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction") plot(runif(10), ylab=expression(Delta * Beta^2),xlab="Prediction") plot(runif(10), ylab="Function(Le

Re: [R] R and XP

2003-07-10 Thread Duncan Murdoch
On Fri, 11 Jul 2003 10:58:35 +1000, you wrote: >Dear whom this may concern, > >I am having problems running R under windows XP. I can source files and get all the >functions loaded, but when directing it to a file to carry out analyses it comes up >with an error message. I am using R for analyse

[R] FITS File Reader

2003-07-10 Thread Nicholas Konidaris
Dear R users, I have searched the web and CRAN fairly carefully. Does a FITS format file reader for R currently exist that I can download? Thank you! n __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] R and XP

2003-07-10 Thread Andrew C. Ward
Jan, perhaps you could give an example of the syntax and output so we can see what the problem is. There are lots of users of R under Windows, so I don't anticipate a major compatibility issue. There have been a number of question on the list about directing input to and from R, so searching the ar

RE: [R] Version Number of a Package

2003-07-10 Thread Paul Boutros
Thanks to all for the help: works like a charm now. :) Paul > -Original Message- > From: Jeff Gentry [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 4:24 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [R] Version Number of a Package > > > > I am documenting a

[R] R and XP

2003-07-10 Thread bart rossel
Dear whom this may concern, I am having problems running R under windows XP. I can source files and get all the functions loaded, but when directing it to a file to carry out analyses it comes up with an error message. I am using R for analyses of gpr files generated from microarray slides usin

[R] Random Numbers

2003-07-10 Thread dcum007
I thank all who replied to my first post regarding random number gereration in R. I have taken all your advice and read much about the gereration of random numbers. I have managed to find a few pieces of code that I have converted for my Java program and am now at the stage of testing these syst

Re: [R] packaged datasets in .csv format (David Firth)

2003-07-10 Thread Peter Dalgaard BSA
"Andrew C. Ward" <[EMAIL PROTECTED]> writes: > This information and advice is indeed very useful. > > Some would wonder, however, whether a file delimited with semi- > colons can still be called a CSV file. Excel Help has "CSV (Comma > delimited) format") ;-) Well, Excel will itself generate CSV

Re: [R] packaged datasets in .csv format (David Firth)

2003-07-10 Thread Andrew C. Ward
This information and advice is indeed very useful. Some would wonder, however, whether a file delimited with semi- colons can still be called a CSV file. Excel Help has "CSV (Comma delimited) format") ;-) Regards, Andrew C. Ward CAPE Centre Department of Chemical Engineering The University of Q

Re: [R] ordering of alphanumeric strings

2003-07-10 Thread Tony Plate
I would be very surprised if any version of R ever ordered strings in the manner you want. R has no way of knowing that some digit strings nestled amongst alphabetic characters should be treated as numbers. To achieve what you want you need to parse the strings yourself, e.g.: > x <- c("ABC 10"

[R] ordering of alphanumeric strings

2003-07-10 Thread kschlauc
Can someone tell me which version of R began to order alpha-numeric strings in this manner: "ABC 10" < "ABC 2" rather than "ABC 2" < "ABC 10" ? And, is there a way to force "ABC 2" to be ordered as a value less than "ABC 10"? thank you, Karen [EMAIL PROTECTED] _

[R] HTML Help

2003-07-10 Thread bb2
Hi, I'm new to R having recently migrated from Splus 2000. I'm having trouble using help.start(). When I launch R help using help.start(), the index.html page comes up with the various manuals, etc. If I click on one of the links, e.g. Search Engine and Keywords, the next page (Keywords by T

Re: [R] Version Number of a Package

2003-07-10 Thread Jeff Gentry
> I am documenting an analysis procedure in a DB and I would like to know the > specific version number of each package that I use. Is there a standardized > way of getting that information out from R, or should I parse it out from the > source-code files? Ideally I would like a function like

[R] Contour Plots

2003-07-10 Thread Riley Metzger
Hello, I'm a grad. student in statistics and am looking for some information on how R draws its contours. I suspect you are using a Bezier spline. I have the C code but am curious about how it works. Riley A. Metzger University of Waterloo Waterloo, Ontario, N2L 3G1 (519) 888-4567 Ext. 3715 [

Re: [R] Help with R Installation on Debian 2.2.19 (old stable/potato)

2003-07-10 Thread Jameson C. Burt
I have avoided crossing Debian versions (eg, installing woody packages over a Debian potato distribution) unless I do a full upgrade to, eg, woody. However, R was and is available for the Debian potato version, but it is version 0.90. If you would be satisfied with that version, and I got good u

Re: [R] Version Number of a Package

2003-07-10 Thread Christian Schulz
pack <- installed.packages() christian - Original Message - From: "Paul Boutros" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 6:59 PM Subject: [R] Version Number of a Package > Hello, > > Apologies if this is a stupid question. I googled and skimmed the arc

[R] Version Number of a Package

2003-07-10 Thread Paul Boutros
Hello, Apologies if this is a stupid question. I googled and skimmed the archives and didn't see anything specific about this. I am documenting an analysis procedure in a DB and I would like to know the specific version number of each package that I use. Is there a standardized way of gettin

Re: [R] GLS in R

2003-07-10 Thread Peter Dalgaard BSA
Simon Wood <[EMAIL PROTECTED]> writes: > > do I choleski decompose > > the inverse of the covariance matrix and weight the observations - > > risking precision loss. > - I think you'd be better off choleski decomposing the cov matrix itself > wouldn't you? e.g. if V is the covariance matrix use

[R] Re: Help with R Installation on Debian 2.2.19 (oldstable/potato)

2003-07-10 Thread Mahmood ARAI
Shashank Bhide writes: Hi all, I hope this is the correct list to post such a question. I was trying to install the R-project on Debian and encountered significant problems with the same. The main problem is the installation of the libc6 package. I need this package in order to install the

[R] Help with R Installation on Debian 2.2.19 (old stable/potato)

2003-07-10 Thread Shashank Bhide
Hi all, I hope this is the correct list to post such a question. I was trying to install the R-project on Debian and encountered significant problems with the same. The main problem is the installation of the libc6 package. I need this package in order to install the R-core package. However,

Re: [R] please help on frag polynoms

2003-07-10 Thread Thomas Lumley
On Thu, 10 Jul 2003 [EMAIL PROTECTED] wrote: > hi there, > > can anyone help me on the topic of frag polynoms? I don't think there is anything currently available for fractional polynomials along the lines of -fracpoly- in Stata. You could construct an equivalent fairly easily using step(), or y

Re: [R] .Internal(optim)

2003-07-10 Thread Thomas Lumley
On Wed, 9 Jul 2003, Spencer Graves wrote: > I haven't used optim enough to know, but simular functions ostensibly > with box constraints would still test values outside the box and quite > if it got an NA or possibly Inf. I've had good luck transforming the > inputs to remove constraints. For ex

Re: [R] A problem with using the "outer" function

2003-07-10 Thread Thomas Lumley
On Wed, 9 Jul 2003, Duncan Murdoch wrote: > On Wed, 09 Jul 2003 15:33:11 -0400, Ravi Varadhan <[EMAIL PROTECTED]> > wrote : > > >Hi: > > > >I am using R 1.7.0 on Windows. I am having trouble getting "outer" to > >work on one of my functions. > > Most likely the problem is that the function you gi

Re: [R] Simple linear regression

2003-07-10 Thread Gorazd Brumen
Dear all, Thank you all a lot for the help. The commands given by prof. Bates were the most direct way to the solution of the problem. Once again thank you all, Gorazd Brumen V čet, 10.07.2003 ob 16:42, je Douglas Bates poslal(a): > Martin Maechler <[EMAIL PROTECTED]> writes: > > > > "KKW

Re: [R] The question is on Symmetry model for square table.

2003-07-10 Thread Spencer Graves
Did you try "traceback()"? This might help you identify the offending line in your function. If that doesn't help, I step through the function one line at a time (copy and paste from an editor) until R bombs on me. If it doesn't bomb, then there is a "scoping" problem: Are you using gl

Re: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Spencer Graves
It is not obvious to me what parameters in what model you want to fit. Function "optim" does very well with many different kinds of problems. If you just want to estimate parameters of a probability distribution, function "fitdistr" in library(MASS) will do that. A couple of days ago, I needed

Re: [R] GLS in R

2003-07-10 Thread Simon Wood
> do I choleski decompose > the inverse of the covariance matrix and weight the observations - > risking precision loss. - I think you'd be better off choleski decomposing the cov matrix itself wouldn't you? e.g. if V is the covariance matrix use chol() to get V=L^T L and then form L^{-T}y and L^

FW: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread David Barron
Have a look at ?optim. I don't think it has the BHHH algorithm as an option, though. === David Barron Jesus College University of Oxford -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Harold Doran Sent: 10 July 200

Re: [R] Simple linear regression

2003-07-10 Thread Douglas Bates
Martin Maechler <[EMAIL PROTECTED]> writes: > > "KKWa" == Ko-Kang Kevin Wang <[EMAIL PROTECTED]> > > on Thu, 10 Jul 2003 23:00:00 +1200 (NZST) writes: > > KKWa> Try: ?lm > > no. see below > > KKWa> On 10 Jul 2003, Gorazd Brumen wrote: > > >> Date: 10 Jul 2003 12:54:46

RE: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Harold Doran
Well, lm() produces an OLS solution, which are also MLE solutions for the fixed effects. I think this is an easy way, although maybe not the best. BHHH is a numerical approximation that can be used when a closed form solution is not available. It is less sophisticated than Newton-Raphson. Is t

[R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Fohr, Marc [AM]
Hello, I want to calculate a maximum likelihood funktion in R in order to solve for the parameters of an estimator. Is there an easy way to do this in R? How do I get the parameters and the value of the maximum likelihood funktion. More, I want to specify the algorithm of the optimisation abov

[R] GLS in R

2003-07-10 Thread John Janmaat
Hello All, Looking for an easy way to feed a non-identity covariance matrix to a regression. Is there a function to do this, or do I choleski decompose the inverse of the covariance matrix and weight the observations - risking precision loss. Thanks, John. --

RE: [R] please help on frag polynoms

2003-07-10 Thread Liaw, Andy
I'm guessing you meant "fracpoly" in Stata, which is fractional polynomial smoothing. If that's the case, check out http://www.homepages.ucl.ac.uk/~ucakgam/r/. Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 4:53 AM > To: [EM

Re: [R] packaged datasets in .csv format (David Firth)

2003-07-10 Thread David Firth
Many thanks to those who replied to my question. Dirk's suggestion, to use a .R file in the "data" directory of the package, specifying how the .csv should be read, works fine as an answer to the question about making comma-separated files available. Uwe's answer to my other question (; vs ,)

Re: [R] group sequential and adaptive designs

2003-07-10 Thread Frank E Harrell Jr
On Thu, 10 Jul 2003 14:13:20 +0200 (MEST) Marc Vandemeulebroecke <[EMAIL PROTECTED]> wrote: > Hello R users, > > I am looking for R (or S) code related to group sequential or adaptive > designs for clinical trials. (The most prominent examples are the designs of > Pocock or O'Brien/Fleming, the a

[R] The question is on Symmetry model for square table.

2003-07-10 Thread Adejumo Adebowale Olusola
Please help, I tried a program on S-plus, and it worked. Also I tried the same program on R but not worked. Here is the programme. I put it in a function form. The model and assumption are at the bottom. where counts<-c(22,2,2,0,5,7,14,0,0,2,36,0,0,1,17,10) which is name.data, i is row size and

Re: [R] XML Package.

2003-07-10 Thread Uwe Ligges
Stephen C. Upton wrote: Eryk, If you go here on the CRAN, you should be able to find an XML.zip /pub/languages/R/CRAN/bin/windows/contrib a) That directory is of your local CRAN mirror, please use soemthing like "CRAN/bin/windows/contrib" as a mirror-independent way to specify the location.

[R] R and Spatial index

2003-07-10 Thread Hisaji Ono
Hi. (B (B S-Plus has a function "quad.tree" which performs a recursive partitioning (Bof a numeric matrix. (B (B Does R have similar function or functions support other spatial index(ex. (BR-tree, K-D tree, etc.)? (B (B Regards. (B (B__ (B[EM

[R] Does anyone know R interface for METIS(graph partioningprogram)?

2003-07-10 Thread Hisaji Ono
Hi. (B (B Does anyone know availability of R interface for (BMETIS(http://www-users.cs.umn.edu/~karypis/metis/index.html, graph (Bpartioning program)? (B (B I think METIS is very useful for routing analysis(finding shortest path) (Bfor more than 10 thousands nodes. (B (B Regards. (B (B_

Re: [R] Simple linear regression

2003-07-10 Thread Martin Maechler
> "KKWa" == Ko-Kang Kevin Wang <[EMAIL PROTECTED]> > on Thu, 10 Jul 2003 23:00:00 +1200 (NZST) writes: KKWa> Try: ?lm no. see below KKWa> On 10 Jul 2003, Gorazd Brumen wrote: >> Date: 10 Jul 2003 12:54:46 +0200 From: Gorazd Brumen >> <[EMAIL PROTECTED]> To: [EMAIL P

[R] group sequential and adaptive designs

2003-07-10 Thread Marc Vandemeulebroecke
Hello R users, I am looking for R (or S) code related to group sequential or adaptive designs for clinical trials. (The most prominent examples are the designs of Pocock or O'Brien/Fleming, the alpha-spending function approach, or Fisher's combination test and the inverse normal method.) I am part

Re: [R] XML Package.

2003-07-10 Thread Duncan Temple Lang
Brian Ripley has kindly compiled the package for Windows and has made it available at http://www.stats.ox.ac.uk/pub/RWin along with selected other packages. D. Wolski wrote: > Hi! > I have installed the new R on windows. > I wanted to reinstall the XML package. I am not able to find the

Re: [R] XML Package.

2003-07-10 Thread Stephen C. Upton
Eryk, If you go here on the CRAN, you should be able to find an XML.zip /pub/languages/R/CRAN/bin/windows/contrib HTH steve Wolski wrote: Hi! I have installed the new R on windows. I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they whe

[R] XML Package.

2003-07-10 Thread Wolski
Hi! I have installed the new R on windows. I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they where a windows binary version. Has anyone old XML windows binary? Eryk Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate Genomic

Re: [R] RE: packaged datasets in .csv format (David Firth)

2003-07-10 Thread Uwe Ligges
Andreas Christmann wrote: -- Message: 1 Date: Wed, 9 Jul 2003 10:53:27 +0100 From: David Firth <[EMAIL PROTECTED]> Subject: [R] packaged datasets in .csv format To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Typ

Re: [R] Simple linear regression

2003-07-10 Thread Ko-Kang Kevin Wang
Try: ?lm On 10 Jul 2003, Gorazd Brumen wrote: > Date: 10 Jul 2003 12:54:46 +0200 > From: Gorazd Brumen <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [R] Simple linear regression > > Dear all, > > My friend wants to fit a model of the type > > z = a x^n y^m + b, > > where x, y, z ar

[R] Simple linear regression

2003-07-10 Thread Gorazd Brumen
Dear all, My friend wants to fit a model of the type z = a x^n y^m + b, where x, y, z are data and a, b, n, m are unknown parameters. How can he transform this to fit in the linear regression framework? Any help would be appreciated. With regards, Gorazd Brumen -- Mail 1: [EMAIL PROTECTED

[R] RE: packaged datasets in .csv format (David Firth)

2003-07-10 Thread Andreas Christmann
-- Message: 1 Date: Wed, 9 Jul 2003 10:53:27 +0100 From: David Firth <[EMAIL PROTECTED]> Subject: [R] packaged datasets in .csv format To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset

Re: [R] Add a legend to a pairs plot??

2003-07-10 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: All, Can someone tell me if it is possible to add a legend to a plot produced with pairs()? It is possible, but it depends on where you want the legend(s) to be placed. One for each variable (argument diag.panel helps inthis case)? Just one for the whole pairs() plot (

[R] size of graphics device

2003-07-10 Thread guerreau
Dear all, In many cases, I need a plotting region much bigger than the screen (e.g. for maps or for graphs with many labels). if I try windows(width=15, height=15, rescale="fixed") it seems to be OK (a screen with scrollbars, exactly what I need) but if I try then plot(faithful$eruptions, faith

[R] please help on frag polynoms

2003-07-10 Thread joerg-burmester
hi there, can anyone help me on the topic of frag polynoms? i just heard of a friend of mine, that i could build in a functioon called fragpoly (he was talking of such a function in the 'stata' language) in order to improve my process of finding an optimal linear model. instead of trying a vast

[R] clim.pact (fwd)

2003-07-10 Thread Agustin Lobo
I'm trying to use the clim.pact package but I cannot find the descritions of "map object or "field object". For example, according to the man page of function "map": " Description Produces maps. Usage map(x,y=NULL,col="black",lwd=1,lty=1,sym=TRUE, plot=TRUE,inv.col=FALSE) Ar