Re: [R] how to make a contour plot in R?

2006-03-13 Thread Uwe Ligges
Arnau Mir Torres wrote: Hello. I am an nxn data frame in the variable frame. I want to make a contour plot with it. That is, I want to plot a square of dimensions [1,n]x[1,n] with the gray level of square [i,i+1]x[j,j+1] equal to frame[i,j]. How can I make it? See ?image Uwe

Re: [R] Newbie error or bug?

2006-03-13 Thread Uwe Ligges
, sub = Sampling 5KHz source(blue) at 8KHz (dots) gives 2.5KHz alias(red)) lines(time, alias, lty=2, col=red) points(undersamplingtimes, undersampled, pch=16) abline(h=0) Uwe Ligges Paul Vickers wrote: Hi I used R for the first time yesterday. I wanted to plot the aliasing

Re: [R] Analyze Fmri package

2006-03-12 Thread Uwe Ligges
* example to the package miantainer of Fmri. Uwe Ligges Regards, Seungshin Rhee [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Misalignment of secondary axis on boxplot

2006-03-12 Thread Uwe Ligges
wrong please? 1. We do not have the object ld, hence we do not see anything ... 2. I guess you do not want to call lines() rather than plot() when adding elements to the boxplot Uwe Ligges #DATA f-factor(ld$Name[ld$Order==5],levels=c(SVR,MKF,DRCH,TNC,MTN,WLB,HMB)) g-c(0.0213750

Re: [R] tapply with unequal length of arguments

2006-03-12 Thread Uwe Ligges
that the argument ... is passed to FUN which is mean() in this case. mean() has an argument na.rm, see ?mean. So we get: tapply(x, y, mean, na.rm = TRUE) Please read the help pages more carefully. Uwe Ligges Steffi __ R-help@stat.math.ethz.ch mailing list

Re: [R] Misalignment of secondary axis on boxplot

2006-03-12 Thread Uwe Ligges
Ah, I see. This is not that easy, I'd try something like: par(lend=1) bp - boxplot(g~f,ylab=,xlab=,main=) pu - par(usr) temp - 0.05*diff(range(s.f)) par(usr = c(pu[1:2], min(s.f)-temp, max(s.f)+temp)) lines(s.f,type=b,pch=19) axis(4) Uwe Ligges [EMAIL PROTECTED] wrote: Dear Uwe, Thankyou

Re: [R] error message in cph

2006-03-11 Thread Uwe Ligges
, please report to the package maintainer. Uwe Ligges platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major2 minor2.0 year 2005 month10 day 06 svn rev 35749 language R Auston Wei Statistical Analyst Department

Re: [R] weird! QDA does not depend on priors?

2006-03-11 Thread Uwe Ligges
and MASS (?) are we talking about? Can you specify a reproducible example, please? The follwing example works for me: library(MASS) qdaObj - qda(Species ~ ., data = iris, prior = c(1, 0, 0)) predict(qdaObj)$class Uwe Ligges Thanks a lot! [[alternative HTML version deleted

Re: [R] summary tables with tapply

2006-03-11 Thread Uwe Ligges
? Is it possible to extract a single value out of these repeated structures? I guess you want sapply(community, [, 1) Uwe Ligges Thanks for any suggestions! Steffi __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Identifying or searching for labels in a hclust/dendrogram/heatmap

2006-03-10 Thread Uwe Ligges
michael watson (IAH-C) wrote: Hi Sean Thanks for the help, but I really wanted to do this in R :) Not sure whether it works for your example, but perhaps you will find Klimt useful: http://stats.math.uni-augsburg.de/Klimt/ Uwe Ligges Any suggestions? Mick

Re: [R] ifelse problem

2006-03-10 Thread Uwe Ligges
? No, ifelse() works vetorized, see ?ifelse. You do not want such a behaviour. In fact, you do not want if in any combination with else, but: aa[!(nchar(aa) 3)] Uwe Ligges Using if and else separately, I get the correct result... if (any(nchar(aa) 3)) { aa[-which(nchar(aa

Re: [R] lapply and list attributes

2006-03-10 Thread Uwe Ligges
[[2]]) Uwe Ligges I want to use those attributes in a function and then use lapply to apply that function to every element of the list, eg for simplicity's sake: my.fun - function(x) { attributes(x) } Then l2 - lapply(lis, my.fun) It seems that attributes(x) within

Re: [R] Read.table

2006-03-08 Thread Uwe Ligges
=read.table(123.txt or you have used another call without the syntax error in it. In any case, please be more specific what you did. You might also want to copy the first few lines of file 123.txt in your mail. Uwe Ligges Where is the problem? Matías University

Re: [R] How to solve lazy-loading faiolure for pkg gstat - was (disable lazy-loading in install.packages() ?)

2006-03-07 Thread Uwe Ligges
' Obviously, gstat requires package sp. What about installing it at first? Uwe Ligges Execution halted ERROR: lazy loading failed for package 'gstat' ** Removing '/usr/local/lib/R/site-library/gstat' ** Restoring previous '/usr/local/lib/R/site-library/gstat

Re: [R] RODBC fail install

2006-03-07 Thread Uwe Ligges
of that package has a file called README. Please read it. It tells you about requirements and how to install RODBC. ta v much Your keyboard seems to be seriously damaged, you might want to replace it by a better one. Uwe Ligges Prof R Gott Durham UNiv, UK install.packages(c(RODBC

Re: [R] Boxplot Help Needed

2006-03-07 Thread Uwe Ligges
, mean(x), pch=16, col=red) Uwe Ligges Sumanta Basak. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] combinatorics again

2006-03-06 Thread Uwe Ligges
Robin Hankin wrote: Thank you Jacques but your solution misses (eg) c(1,1,2) which I need. See ?combinations which should point you to combinations(5,3, repeats.allowed=TRUE) Best, Uwe best wishes Robin On 6 Mar 2006, at 09:17, Jacques VESLOT wrote: library(gtools)

Re: [R] Disconnect all MySQL connections

2006-03-06 Thread Uwe Ligges
manuals. Uwe Ligges __ R-help@stat.math.ethz.ch 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] matrix pakcage

2006-03-06 Thread Uwe Ligges
fixed the error in the archive (fix will appear on CRAN master within 24 hours). Uwe Ligges Erlend Myre Bremset __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] text labels in 3d scatter

2006-03-06 Thread Uwe Ligges
), labels=dat$label, pos=1) Uwe Ligges __ R-help@stat.math.ethz.ch 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] R for Windows GUI front-end has encountered a problem

2006-03-06 Thread Uwe Ligges
. Uwe Ligges Sincerely yours, Nantachai From: Uwe Ligges [EMAIL PROTECTED] To: Nantachai Kantanantha [EMAIL PROTECTED] CC: r-help@stat.math.ethz.ch, [EMAIL PROTECTED] Subject: Re: [R] R for Windows GUI front-end has encountered a problem Date: Fri, 03 Mar 2006 08:21:21 +0100 Nantachai

Re: [R] plots - paper vs presentation colors

2006-03-05 Thread Uwe Ligges
Deepayan told us about lattice, for standard graphics I am using default background (transparent) and set par(fg=white, col.main=white, col.axis=white, col.lab=white) Uwe Ligges Thanks, Darren D.L. Weber, Ph.D. UCSF Dept. of Radiology [[alternative HTML version deleted

Re: [R] plotting partial deriviatives

2006-03-05 Thread Uwe Ligges
?plotmath: There is partialdiff! text(1.6, 1, expression(slope == frac(partialdiff * f(hat(theta)), partialdiff * hat(theta Uwe Ligges dev.off() plot(NA, xlim=c(-3,3), ylim=c(0,1.6), xlab=, ylab=, tck=-0.015) text(1.6, 1, expression(paste(slope = , frac(paste( f( , hat(theta

Re: [R] RWeka

2006-03-05 Thread Uwe Ligges
(incl. version) - version of R - version of RWeka - version of rJava - version of Java Uwe Ligges Best wishes, Volker Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit

Re: [R] RWeka

2006-03-05 Thread Uwe Ligges
is not set Erro: pacote 'rJava' não pôde ser carregado” Is there any requested package or software I missed? Yes, probably you missed to install Java (http://java.sun.com). Uwe Ligges PS: I’m using windows XP home edition 2002 R version 2.2.1 RWeka 0.2-1 rJava 0.3-6 Thanks

Re: [R] how to make plotmath expression work together with paste

2006-03-05 Thread Uwe Ligges
. But the two things just won't work together. See my article R Help Desk: Automation of Mathematical Annotation in Plots in R News 2(3), 32-34. Uwe Ligges Here is some example code that shows what I mean. plot(NA,xlim=c(0,100),ylim=c(0,100)) #show plot math works text(16, 22, expression

Re: [R] R for Windows GUI front-end has encountered a problem

2006-03-02 Thread Uwe Ligges
maintainer (hence CC: Roger Koenker). Uwe Ligges __ R-help@stat.math.ethz.ch 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] prepared query with RODBC ?

2006-02-28 Thread Uwe Ligges
... People might be able to help if you are more specific. See the posting guide. Uwe Ligges Thanks, Laurent __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] relative referencing for filenames etc

2006-02-28 Thread Uwe Ligges
? Perhaps you are looking for ?setwd Uwe ligges Kind regards, Greg __ R-help@stat.math.ethz.ch 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] How to do it without for loops?

2006-02-28 Thread Uwe Ligges
On Tue, 28 Feb 2006, ronggui wrote: This is the code: x-matrix(rnorm(20),5) y-list() for (i in seq(nrow(x))) y[[i]]-t(x[i,,drop=F])%*%x[i,,drop=F] y[[1]]+y[[2]]+y[[3]]+y[[4]]+y[[5]] How can I do it without using for loops? crossprod(x) Uwe Ligges Thank you in advance

Re: [R] install RPM file on Redhat

2006-02-26 Thread Uwe Ligges
://www.google.com 2. Type RedHat rpm install 3. Click I'm Feeling Lucky Uwe Ligges Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help

Re: [R] automatic generation of variable names

2006-02-23 Thread Uwe Ligges
Benjamin Otto wrote: Hi, is there some way to generate a varaible name automatically? See the R FAQs: How can I turn a string into a variable? Uwe Ligges What I would like to do is: Instead --- table1 - orderbysomecolumn table2 - orderbysomecolumn table3

Re: [R] Bug in setting GUI to SDI mode?

2006-02-23 Thread Uwe Ligges
on a running console, and that I need to save. So I click Save, and am met with a Save As dialogue box with the default file called Rconsole, the file type as All files. I have no idea where I actually have to save this. See ?Rconsole and the R for Windows FAQs Uwe Ligges I saved it in C

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

2006-02-23 Thread Uwe Ligges
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 On 2/23/06, Jeffrey Moore [EMAIL PROTECTED] wrote: For those who use WinBUGS (or for those who are just

Re: [R] How do I tell it which directory to use?

2006-02-21 Thread Uwe Ligges
confuse other R-help readers and try to be more precise in your answers. Uwe Ligges Is it of any help to you? Cheers, Augusto Augusto Sanabria. MSc, PhD. Mathematical Modeller Risk Research Group Geospatial Earth Monitoring Division

Re: [R] need a R-code formatter?

2006-02-20 Thread Uwe Ligges
will be happy, certainly. Uwe Ligges Best Søren Fra: [EMAIL PROTECTED] på vegne af Michael Sendt: on 15-02-2006 07:05 Til: R-help@stat.math.ethz.ch Emne: [R] need a R-code formatter? Hi all, I am using Tin-R as my editor; I use it because it allows me

Re: [R] how to close all windows?

2006-02-20 Thread Uwe Ligges
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html See ?graphics.off Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Group a dinamic number of vectors in a data.frame

2006-02-20 Thread Uwe Ligges
, get)) names(D) - lab Uwe Ligges Cheers __ R-help@stat.math.ethz.ch 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] how to make plot output to JPG or GIF

2006-02-16 Thread Uwe Ligges
is to then automatically run my source.r file with the plot commands which then automatically generates a web-ready graphic file in a folder for my server. See ?bitmap Uwe Ligges thanks! -revansx __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] about list

2006-02-14 Thread Uwe Ligges
]] are from the same group, [[3]] and [[4]] are from the same group. And how can I arrange [[1]] [[2]] together(the same as [[3]] and [[4]])? In other words,the result I want is: For example for a List L: list(L[1:2], L[3:4]) Uwe Ligges group1 genename comp diff lwr upr

Re: [R] Trying to save a *.jpg file from a PHP system call

2006-02-14 Thread Uwe Ligges
device ... Uwe Ligges Thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R

Re: [R] Extracting Data form Simpleboot Output

2006-02-14 Thread Uwe Ligges
=cholost, span=.5, degree=2, family=gaussian, method=loess) lo.b - loess.boot(lo, R=50, rows = TRUE, new.xpts = NULL, ngrid = 100, weights = NULL) lo.b$boot.list$1$fitted[60] sapply(lo.b$boot.list, function(x) x$fitted) gives you the corresponding 100x50 matrix ... Uwe Ligges

Re: [R] Inf values in a matrix

2006-02-14 Thread Uwe Ligges
) A[cbind(3:4, 5:6)] - Inf recorded - which(apply(A, 1, function(x) any(is.infinite(x A[-recorded,] Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] Turning on helpful errors in interpreter? was Re: problem with simple if() statement

2006-02-13 Thread Uwe Ligges
. Uwe Ligges This is a debian (ubuntu breezy) build; happens even when I run R --vanilla R.version _ platform i486-pc-linux-gnu arch i486 os linux-gnu system i486, linux-gnu status major2

Re: [R] Windows GUI package install annoyance

2006-02-13 Thread Uwe Ligges
://cran.cnr.berkeley.edu/; . Uwe Ligges My apologies for wasted bandwidth if I have overlooked something obvious, which I believe is the case. Many thanks. -- Bert Bert Gunter Genentech __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] one legend for multiple plots

2006-02-12 Thread Uwe Ligges
if I were to construct the legend from scratch. You can simply use legend, but specify par(xpd=TRUE) before... Uwe Ligges Thanks for any help. Lucy Crooks Theoretical Biology Universitätstrasse 16 ETH Zentrum, CHN 75.1 CH-8092 Zurich Tel.: 0041 44 632 8326 Fax: 0041 44 632 1271

Re: [R] R2WinBUGS - formating data for winbugs

2006-02-10 Thread Uwe Ligges
() function. Uwe Ligges Thanks, Chris Christopher Behr Principal Analyst eDesign Dynamics www.edesigndynamics.com 4024 Calvert St. NW Washington DC 20007 (202) 298-6437 (t/f) (551) 998-4823 (c) __ R-help@stat.math.ethz.ch mailing list https

Re: [R] plot(...., type = h, lwd = 10) results in square tops

2006-02-10 Thread Uwe Ligges
see ?par and its argument lend. Uwe Ligges Thanks __ R-help@stat.math.ethz.ch 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] echo output to screen

2006-02-09 Thread Uwe Ligges
Chun-Ying Lee wrote: Hi all, I want to echo output to screen before next step, like the following when i type library(pkname), library(pkname) a few description about the package how should I do to get this? ?cat Uwe Ligges Thanks in advanced

Re: [R] echo output to screen

2006-02-09 Thread Uwe Ligges
Chun-Ying Lee wrote: On Thu, 09 Feb 2006 10:02:49 +0100, Uwe Ligges wrote Chun-Ying Lee wrote: Hi all, I want to echo output to screen before next step, like the following when i type library(pkname), library(pkname) a few description about the package how should I do

Re: [R] rotating axis / mtext labels

2006-02-08 Thread Uwe Ligges
) /code doesn't seem to work in R 2.2.0 on SUSE linux. Suggestions would be appreciated thanks. mtext does not support string rotation. You can rather use text() with par(xpd=TRUE) if you need it. Uwe Ligges Iain __ R-help

Re: [R] R loop

2006-02-07 Thread Uwe Ligges
in the old versions as it is now, wasn't it? Yes, AFAIR, and just tested in 1.2.2. Uwe Ligges Cheers Petr On 7 Feb 2006 at 8:56, Uwe Ligges wrote: Date sent:Tue, 07 Feb 2006 08:56:10 +0100 From: Uwe Ligges [EMAIL PROTECTED] Organization: Fachbereich

Re: [R] install package in Mac

2006-02-07 Thread Uwe Ligges
the package (built in Windows) to install in Mac. On Windows, build a source package (hence ending .tar.gz) and install this source package on the Mac. You cannot use Windows binary packages on the Mac. Uwe Ligges Thanks in advance !! __ R-help

Re: [R] cdf of multivariate normal

2006-02-07 Thread Uwe Ligges
Juan Pablo Lewinger wrote: I was wondering if anybody has written R code to compute the cdf of a multivariate (or at least a bivariate) normal distribution with given covariance structure. See ?pmvnorm in package mvtnorm. Uwe Ligges __ R-help

Re: [R] prehistoric versions of R -- 1995!

2006-02-07 Thread Uwe Ligges
Paul Gilbert wrote: Martin Maechler wrote: UweL == Uwe Ligges [EMAIL PROTECTED] on Tue, 07 Feb 2006 08:56:10 +0100 writes: UweL Petr Pikal wrote: Hi On 6 Feb 2006 at 15:57, ivo welch wrote: Date sent: Mon, 6 Feb 2006 15:57:30 -0500

Re: [R] problem with simple if() statement

2006-02-06 Thread Uwe Ligges
in if (seq[i] = I guess you mean == Uwe Ligges Sincerely, Norman Goodacre - - [[alternative HTML version deleted]] __ R-help

Re: [R] R loop

2006-02-06 Thread Uwe Ligges
in 1998. The oldest version I found on CRAN is a pre-alpha R.sea.hqx for the Mac dated 07-Nov-1996. Uwe Ligges ago and I believe that data frame subsetting was done in **very** similar manner as it is performed now. Cheers Petr Look at ?order. I know. This is why

Re: [R] GetBioC install issue

2006-02-02 Thread Uwe Ligges
to create temporary directory 'C:\Program Files\R\R-2.2.1\release\file1eb26e9' If this is not a connection, permission or free-space issue you can only resolve yourself, please ask on the BioC mailing list. Uwe Ligges The download just ends there. Does anyone have any idea what the problem

Re: [R] changing the default repositories

2006-01-31 Thread Uwe Ligges
/CRAN;, CRANextra = http://www.stats.ox.ac.uk/pub/RWin;)) Uwe Ligges Thx for any help. Assa -- Assa Yeroslaviz Loetzener Str. 15 51373 Leverkusen [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch

Re: [R] SVM question

2006-01-31 Thread Uwe Ligges
is not the best one. What does it mean and what could I do to ameliorate my model ? Do you mean 3 *support vectors* in 5 observations? So you are heavily overfitting. Try to tune the svm better. Uwe Ligges Jerzy Orlowski __ R-help

Re: [R] R on dual-core machines

2006-01-30 Thread Uwe Ligges
Yes, you are right, and you found some relevant posts. Uwe Ligges Aleš Žiberna wrote: Dear expeRts! I'm thinking of buying a new computer and am considering dual-core processors, such as AMD Athlon64 X2. Since I'm not a computer expert, pleas forgive me if some of my questions are silly

Re: [R] 'all' inconsistent?

2006-01-30 Thread Uwe Ligges
Seth Falcon wrote: On 29 Jan 2006, [EMAIL PROTECTED] wrote: On Sun, 29 Jan 2006, Elizabeth Purdom wrote: I came across the following behavior, which seems illogical to me. What did you expect and why? I don't know if it is a bug or if I'm missing something: all(logical(0)) [1] TRUE

Re: [R] 'all' inconsistent?

2006-01-30 Thread Uwe Ligges
Seth Falcon wrote: On 30 Jan 2006, [EMAIL PROTECTED] wrote: Current behaviour is consistent in so far that identical(all(x), !any(!x)) is TRUE and definition of any() is obvious. That helps, thanks. I'm not sure I've had enough coffee to continue, but, for the set analogy I think we are

Re: [R] lme4_0.995-2/Matrix_0.995-4 upgrade introduces error messages (change management)

2006-01-27 Thread Uwe Ligges
today is to maintain my own repository of contributed packages that I use. Stuff happens and change management is good. Yes, old packages are in CRAN/src/contrib/Archive/ You have to compile them from source yourself, though. Uwe Ligges Chuck Charles E. White, Senior Biostatistician, MS

Re: [R] efficiency with %*%

2006-01-26 Thread Uwe Ligges
!): system.time(crossprod(x, y)) Uwe Ligges Thanks, Dimitri Szerman __ R-help@stat.math.ethz.ch 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] efficiency with %*%

2006-01-26 Thread Uwe Ligges
. It is even fast enough for my 5 year old laptop. For your super computer, please replace 1e6 by 1e8 in the example above. ;-) Uwe Uwe Ligges wrote: [EMAIL PROTECTED] wrote: Hi, x and y are (numeric) vectors. I wonder if one of the following is more efficient than the other: x%*%y

Re: [R] DOS command using system

2006-01-26 Thread Uwe Ligges
jim holtman wrote: Why don't you use 'unlink': unlink('c:/Program Files/DOSPROGRAM/input.dat') If you really want to use 'del', then you have to invoke the command processor: system('cmd /c del c:\\Program Files\\DOSPROGRAM\\input.dat') See also ?shell Uwe Ligges On 1/26/06, Taka

Re: [R] persp() and character labels for axis

2006-01-25 Thread Uwe Ligges
to ?trans3d which is useful to calculate coordinates for calls to 2D functions such as text(). Uwe Ligges ( http://www.r-project.org/nocvs/mail/r-help/2002/9009.html ) was not answered. Perhaps this time? ;) __ R-help@stat.math.ethz.ch mailing

Re: [R] persp() and character labels for axis

2006-01-25 Thread Uwe Ligges
So your R is outdated. Please upgrade! Uwe Ligges Thomas Steiner wrote: I want to plot dates on the y-axis of a persp() plot. ?persp points you to ?trans3d which is useful to calculate coordinates for calls to 2D functions such as text(). ?trans3d gives this: No documentation

Re: [R] language setting of the R Window in Windows XP Korean ed.

2006-01-24 Thread Uwe Ligges
mentioned above suggests! One exclamation discussed therein is: I want R in English (and not in French/Chinese/...)! Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

Re: [R] R and Eclipse?

2006-01-24 Thread Uwe Ligges
for eclipse as well). Thomas __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html RSiteSearch(Eclipse) and try the first hit ... Uwe

Re: [R] Latest revision of lme4 requires 'Matrix' = 0.995.2 but that version is not available on CRAN

2006-01-23 Thread Uwe Ligges
, it does not help to have the tools. The Windows binary package maintainer has had his reasons not to publish the most recent Matrix version. I also notice that the numbering format has changed. Is this intentional? Yes. Uwe Ligges Best wishes John John Logsdon

Re: [R] chm.help in windows

2006-01-23 Thread Uwe Ligges
to chm, and this happens for CRAN binary packages for Windows. Uwe Ligges I use R 2.1.1 under Windows2000 Thomas __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] R-2.2.1 doesn't compile under cygwin/Win2000

2006-01-23 Thread Uwe Ligges
mirrors. Uwe Ligges Regards and thanks, David Vonka __ R-help@stat.math.ethz.ch 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] Creating an R package file

2006-01-23 Thread Uwe Ligges
and Administration explains how to collect the required tools (your mail header tells us you are on Windows) to perform R CMD INSTALL, R CMD check and R CMD build Uwe Ligges Many thanks, Marco Tommasi [[alternative HTML version deleted]] __ R-help

Re: [R] Latest revision of lme4 requires 'Matrix' = 0.995.2 but that version is not available on CRAN

2006-01-22 Thread Uwe Ligges
back one version. This is another error in the former version. But since Matrix 0.995-3 is on its way to CRAN, there are hopefully completely working versions available within 24 hours. Uwe Ligges / Søren [...] Yes, but implementing this would require an even higher computational

Re: [R] Latest revision of lme4 requires 'Matrix' = 0.995.2 but that version is not available on CRAN

2006-01-21 Thread Uwe Ligges
present in Matrix_0.995-1, but in that case (and by chance) it did not cause a crash during the examples or tests (what happens for Matrix_0.995-2 under Windows). Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Latest revision of lme4 requires 'Matrix' = 0.995.2 but that version is not available on CRAN

2006-01-21 Thread Uwe Ligges
/bin/windows/contrib/2.2/last/ The error was also present in Matrix_0.995-1, but in that case (and by chance) it did not cause a crash during the examples or tests (what happens for Matrix_0.995-2 under Windows). Uwe Ligges Dear Uwe, Thats fine, but what puzzles me

Re: [R] converting help files with Sd2Rd

2006-01-21 Thread Uwe Ligges
and type: setwd(path_to_.d_files) f - list.files(pattern=\\.d$) fo - paste(sapply(strsplit(f, \\.), [, 1), .Rd, sep=) for(i in seq(along=f)) shell(paste(R CMD Sd2Rd, f[i], , fo[i])) q(no) Uwe Ligges Best wishes Fredrik __ R-help

Re: [R] Downloads -- possible bug?

2006-01-19 Thread Uwe Ligges
Elizabeth Purdom wrote: Hi, When I go to the CRAN page to download a new version of R, there are not the same versions available depending on which mirror I pick. When I go to http://cran.cnr.berkeley.edu/, for example, I get 2.2.1, but if I go http://cran.stat.ucla.edu/ the option is

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-18 Thread Uwe Ligges
Andrew Gelman wrote: Hi all. Sorry for any confusion. At one point, close to a year ago I think, I put in the effort to get the bugs() function in R to work with OpneBUGS. But at the time, I couldn't get OpenBUGS to do much. After some effort I got it to work on some simple examples

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Uwe Ligges
system. Uwe Ligges Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R

Re: [R] Legends in xyplot

2006-01-17 Thread Uwe Ligges
See ?xyplot and its argument legend. Uwe Ligges Ravi Varadhan wrote: Hi, How can I add legends in the xyplot function, in the lattice library? Here is a simulation example: x - runif(90) z - sample(1:3, 90, rep=T) y - rnorm(90, mean = x^2 + z, sd=1) library

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Uwe Ligges
. If anybody has done this, please let me know of your experience. Yes, several tried, among them Andrew Thomas and Uwe Ligges, and then I invited Andrew Thomas to Dortmund and we tried together (I have to admit that I was clueless all the time and in fact Andrew tried). Andrew's conclusion

Re: [R] Matrix package download problem

2006-01-16 Thread Uwe Ligges
information is stored and should be refreshed after a R is restarted. How long is your R process already opened? Hence: Please start a fresh R session and try again. Uwe Ligges 'http://cran.uk.r-project.org/src/contrib/Matrix_0.99-4.tar.gz' In addition: Warning message: cannot open: HTTP status

Re: [R] Problem with plot()

2006-01-16 Thread Uwe Ligges
guide! http://www.R-project.org/posting-guide.html The title is hardcoded in plot.TukeyHSD(). Type plot.TukeyHSD and see its code. Simply adapt it as you need ... Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] run-time of an R function

2006-01-16 Thread Uwe Ligges
, exec time = 7.1 min. Removing all objects via rm(list=(all=TRUE)) and initiating gc (gc(reset=TRUE)) helps, but only slightly (exec time = 5.0 min). any thoughts on why this happens? Quite probably due to memory fragmentation. Smaller objects and more RAM might help a little bit. Uwe Ligges

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-16 Thread Uwe Ligges
: Real programmers won't consider R2WinBUGS to be an interface at all - it might be useful, though. ;-) Uwe Ligges -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas __ R-help@stat.math.ethz.ch mailing

Re: [R] Dynamic load

2006-01-16 Thread Uwe Ligges
object file under UNIX and load them with dyn.load but I don't have access to those old manuals at the moment. I am new to R, so I wonder what is the best way of It might surprise many R-help posters, but R has manuals as well... Uwe Ligges loading a FORTRAN file with all its dependencies

Re: [R] problems installing lattice on Windows; was: (no subject)

2006-01-14 Thread Uwe Ligges
, and I hope a recent copy such as R-2.2.1. Uwe Ligges Apologies if it is something really obvious. Michael Anyadike-Danes Economic Research Institute of Northern Ireland Floral Buildings 2-14 East Bridge Street Belfast BT1 3NQ Tel: (028) 90727362 Fax: (028) 90319003

Re: [R] matrix logic

2006-01-11 Thread Uwe Ligges
want to know which()? na - is.na(a) c[na] - b[na] Uwe Ligges __ R-help@stat.math.ethz.ch 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] reading contigency tables

2006-01-11 Thread Uwe Ligges
are organized as follows: order--family--species--location--number of individuals What is the problem with read.table()? Uwe Ligges I couldn't figure out how to change the data on my text file to be imported into R; and after you do that, is it possible to convert the table into a data frame? Any

Re: [R] graphics: axis label

2006-01-11 Thread Uwe Ligges
Johannes Hüsing wrote: Hello, par(las=1) sets the orientation of the axis labels to horizontal. That is, the tick mark labels. How do I set the orientation of the axis label, which annotates the variable plotted along the axis, to horizontal? Sorry for asking such a basic question here,

Re: [R] Obtaining the adjusted r-square given the regression coefficients

2006-01-11 Thread Uwe Ligges
it. Uwe Ligges regression, you enter the dataset and have in summary the adjusted r-square. But this is calculated using the coefficients that R obtained,and I want other coefficients that i calculated separately and differently (without the intercept term too). I have made a function based

Re: [R] matrix logic

2006-01-11 Thread Uwe Ligges
as follows: data.frame(mapply(function(x,y,z) ifelse(is.na(y), z, y), names(D), D, D2, SIMPLIFY=FALSE)) Uwe Ligges Uwe Ligges [EMAIL PROTECTED] wrote: Tom wrote: On Tue, 10 Jan 2006 20:25:23 -0500, r user wrote: I have 2 dataframes, each with 5 columns and 20 rows

Re: [R] automatic start of RWinEdt

2006-01-10 Thread Uwe Ligges
to compile (?) a certain file. (I am usind R in the latest version on Win XP) For example add the line library(RWinEdt) to your Rprofile file. For details see ?Startup. Uwe Ligges Thank You Stefan __ R-help@stat.math.ethz.ch mailing list

Re: [R] graphics pages?

2006-01-10 Thread Uwe Ligges
on a separate page. Uwe Ligges R version 2.2.1 windows Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help

Re: [R] exporting methods/classes

2006-01-10 Thread Uwe Ligges
Jean-Christophe BOUETTE wrote: -- Message transféré -- From: Uwe Ligges [EMAIL PROTECTED] To: Erin Hodgess [EMAIL PROTECTED] Date: Sun, 08 Jan 2006 15:09:06 +0100 Subject: Re: [R] exporting methods/classes Erin Hodgess wrote: Dear R People: I'm still struggling with sending

Re: [R] (no subject)

2006-01-10 Thread Uwe Ligges
you to ?par and ?par tells it all. Uwe Ligges __ R-help@stat.math.ethz.ch 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] A comment about R:

2006-01-09 Thread Uwe Ligges
François Pinard wrote: [Uwe Ligges] François Pinard wrote: [David Forrest] [...] A few end-to-end tutorials on some interesting analyses would be helpful. I'm in the process of learning R. While tutorials are undoubtedly very useful, and understanding that working and studying

<    1   2   3   4   5   6   7   8   9   10   >