Re: [R] opening files in directory

2006-09-04 Thread Uwe Ligges
FAQ ... Uwe Ligges Ffenics wrote: Hi there I want to be able to take all the files in a given directory, read them in one at a time, calculate a distance matrix for them (the files are data matrices) and then print them out to separate files. This is the code I thought I would be able

Re: [R] labels in biplot

2006-09-03 Thread Uwe Ligges
the %??? Uwe Ligges Thanks ../Murli [[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-project.org

Re: [R] Reading many files at once

2006-09-03 Thread Uwe Ligges
as the posting guide asks you to do. Use myFiles - list.files( ..., pattern=^hsa-) to get the filenames, loop ober the files and insert the values into you matrix or data.frame. Uwe Ligges thank you. __ R-help@stat.math.ethz.ch mailing list

Re: [R] repeating the same procedure with a number of files within a directory

2006-09-03 Thread Uwe Ligges
the result of each iteration in a loop into a separate file?), and search the mailing list archives. You can read ?list.file for your particular problem. Uwe Ligges [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] Frequency tables without underlying data

2006-08-31 Thread Uwe Ligges
(100, 200, 100, 5), ncol=2)) dimnames(X) - list(wealth = c(rich, poor), use = c(useR, useStatA)) Uwe Ligges but i don't have the underlying data to set up factors. Can I still make a frequency table? Cheers, Geoff Russell [[alternative HTML version deleted

Re: [R] Dendrogram troubles

2006-08-31 Thread Uwe Ligges
pixel between each line of text. Most current 17 and 19 TFT displays have 1280 pixels in width Uwe Ligges Please help. Thank you very much. -DS. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] forestplot fucntion in rmeta package

2006-08-31 Thread Uwe Ligges
a patch to the package maintainer, who certainly will be happy if people are contributing features and bugfixes, or send a feature request to the package maintainer. Uwe Ligges Shirley [[alternative HTML version deleted]] __ R-help

Re: [R] get ylim of current plot()

2006-08-31 Thread Uwe Ligges
with lattice's xyplot(): (obj - xyplot(rnorm(100), rnorm(100))) print(obj$y.limits) par(usr) tells you the size in user coordinates. Uwe Ligges Thanks in advance, Will =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dr William Valdar ++44 (0)1865 287 589

Re: [R] How to put title Vertically

2006-08-30 Thread Uwe Ligges
(pauto.cor, axes=F,xlim=c(max(pauto.cor), min(pauto.cor)), space=0, col=green4,border=green,horiz=T) #This plots PACF vertically Now I want to put a title of above plot but NOT horizontally rather Vertically. Can anyone please tell me how to do that? Use mtext() Uwe Ligges Thanks

Re: [R] density() with from, to or cut and comparrison of density()

2006-08-30 Thread Uwe Ligges
different density estimates that the bandwidth should be the same for all of them? Yes. Uwe Ligges Thanks in advance for your help, Rainer __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Firefox extension fo R Site Search

2006-08-30 Thread Uwe Ligges
/ it's not on the extension ... because that side is update once a month, hence simply wait for a couple of days until it will show up. Uwe Ligges Cheers, Romain __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Adding Grid lines

2006-08-22 Thread Uwe Ligges
Arun Kumar Saha wrote: Dear all R users, Can anyone please tell me how to add grid lines in any plot in R including in Histogram, QQ plot etc? Have you ever typed ?grid before posting? Uwe Ligges Thanks and regards, Arun [[alternative HTML version deleted

Re: [R] R2WinBugs

2006-08-21 Thread Uwe Ligges
for Andrew Gelman (CCing), who wrote the underlying code for automatically setting the adaptive phase. Uwe Ligges Jack __ 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] lapply?

2006-08-19 Thread Uwe Ligges
eugene dalt wrote: Hi folks, I would like to know if the following loop can be rewritten with lapply list1 - as.list(0) testv - c(4,6,7,8) for( i in 1:4){ list1[[i]] - rep(5,testv[i]) } Please do not cross-post! lapply(testv, rep, x = 5) Uwe Ligges Thanks in Advance

Re: [R] mtext uses the typographical descender to align text

2006-08-14 Thread Uwe Ligges
at once. Solutions as Peter suggested: plot(1:10) mtext(expression(Hello World * phantom(g)), 3) Uwe Ligges /A Peter Dalgaard wrote: Andreas Svensson [EMAIL PROTECTED] writes: Hello One sometimes (quite often really ) marvel at the choice of defaults in R's graphic engine

Re: [R] adding columns to a table after a loop

2006-08-12 Thread Uwe Ligges
b - matrix() while (a = 4) { + b-rnorm(10) + a- a +1 + } Staying in your example: a - 1 b - matrix(nrow=10, ncol=4) while(a = 4){ b[,i] - rnorm(10) a - a + 1 } Uwe Ligges # I have tried several methods but without succes so far. result - as.data.frame(cbind(b)) result

Re: [R] Re : adding columns to a table after a loop

2006-08-12 Thread Uwe Ligges
= 10, ncol = 4) while(a = 4) { b - 1 while(b = 10){ pvalue[b, a] - rnorm(1) b - b+1 } a - a+1 } or much shorter pvalue - matrix(nrow = 10, ncol = 4) for(a in 1:4) { for(b in 1:10){ pvalue[b, a] - rnorm(1) } } Uwe Ligges To get

Re: [R] hist() and bar spacing

2006-08-10 Thread Uwe Ligges
, 1,1,1,1,1,1,1,1,4,1,3,3,1,2,1,2,3,4,1,0,2,2,1,2,1,2,3,0,0,2,3,2,4,1,0,1,1,0, 1,3,2,3,3,1,3,1,0,2,1,1,1,1,1,1,3,0,0,1,1,1,1,1,1,3,1,3,3,0,1,2,1,2,3,1,2,1, 2,2,2,1,1,1,1,0,2,2,1,2,2,2,1,1,2,2,1,1,1,2,2,1,1,1) You data follows a *discrete* distribution, hence a barplot seems to be more appropriate here: barplot(table(testtest)) Uwe Ligges hist(test) I

Re: [R] finding x values to meet a y

2006-08-08 Thread Uwe Ligges
)) Numerical optimization might help: optimize( function(x) (1/(sqrt(2*pi)*10) * exp(-((x-50)^2)/(2*10^2)) - 0.02)^2, interval = c(0, 50)) Uwe Ligges Thanks for any help, Antonio Olinto - WebMail Bignet - O seu provedor do litoral

Re: [R] prefixing list names in print

2006-08-08 Thread Uwe Ligges
: P$A [1] a P$B [1] b I tried to add a name attribute to the list or to add a prefix=P to print but nothing works. Any hint? This is a very internal feature of print(). At a first quick look, I think you will have to change the R sources and recompile. Conclusion: Don't do it. Uwe

Re: [R] Finding points with equal probability between normal distributions

2006-08-07 Thread Uwe Ligges
)) != 0) dr1$x[w] plot(dr1, ylim = c(0, 0.33)) lines(dr2, col = red) abline(v = dr1$x[w], col = blue) Uwe Ligges Is there a way in R to compute/estimate the point(s) x where the density of the two distributions cross (ie where x has equal probability of belonging to either of the two

Re: [R] CPU Usage with R 2.1.0 in Windows (and with R 2.3.1)

2006-08-07 Thread Uwe Ligges
will find many of such impressive examples ... Uwe Ligges Duncan Murdoch Sincerely, Markus Markus Preisetanz Consultant Client Vela GmbH Albert-Roßhaupter-Str. 32 81369 München fon: +49 (89) 74217-113 main: +49 (89) 74217-150 fax: +49 (89) 74217-250

Re: [R] CPU Usage with R 2.1.0 in Windows (and with R 2.3.1)

2006-08-07 Thread Uwe Ligges
, each R process runs with only one thread, i.e. on only one (virtual) processor. Uwe Ligges In my case no hardisk nor any network device is involved (data in RAM, 600 of 1024 MB filled) - and the CPU usage of the rgui-process does not exceed 50%. Has anybody an idea? Is there a setting a can

Re: [R] levels of an array (strings and numbers)

2006-08-03 Thread Uwe Ligges
with a numerical csv file as: 1,6 0,6 0,7 R (i.e. read.csv) assumes this is numeric rather than categorical data. Hence specify the class of each variable in read.cvs' argument colClasses. Uwe Ligges the same instruction returns an empty output instead of 6 7 Any idea about

Re: [R] missing value

2006-08-02 Thread Uwe Ligges
. Uwe Ligges x - c(1,2,3,9,4) y - c(3,6,9,2,3) z - c(9,9,2,2,8) w - c(6,5,3,0,9) dat - cbind(x,y,z,w) summary(dat) x[x==9] - NA y[y==9] - NA z[z==9] - NA w[w==9] - NA summary(dat) summary(x) summary(y) summary(z) summary(w) Thank you all, Mauricio

Re: [R] rgb and col2rgb color conversion/modification/shading

2006-08-01 Thread Uwe Ligges
, but is probably easier than the other cool tricks. Uwe Ligges Error in rgb(col2rgb(red)) : argument green is missing, with no default __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] resampling mean distances

2006-08-01 Thread Uwe Ligges
(x),size),] mat- matrix(c(x$V6,x$V7,x$V8), ncol=3) mean.dist- mean(dist(mat,euclidean)) # insert some return value such as: return(mean.dist) } Now replicate() the stuff, e.g.: replicate(1, sampling(x, 10)) Uwe Ligges x is the file where the data are stored size is the size

Re: [R] Fw: na.rm problem

2006-08-01 Thread Uwe Ligges
use: cor(x, y, use = complete) Uwe Ligges Thanks, Sonal __ 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 and provide commented

Re: [R] Please HELP: Problem with BUILD command

2006-07-31 Thread Uwe Ligges
in, the build fails. The file is only 14Kb long. Strange. Can you make this file available, please? Uwe Ligges Any help or suggestions are greatly appreciated. Thank you for your time. John Zajd Constella Group Raleigh, NC 919 313-7746 [[alternative HTML version deleted

Re: [R] uniroot

2006-07-30 Thread Uwe Ligges
nurza m wrote: Hello, I am struggling to find the root of a exponent function. uniroot is complaining about a values at end points not of opposite sign? And you think it is not the case? Why? We cannot help because you have not given a reproducible example (What is w and gp?), which the

Re: [R] Log color scale

2006-07-30 Thread Uwe Ligges
result in more appropriate colors and palettes than those that are quickly hacked... Uwe Ligges build your own color palette, specific to your problem. It's not very difficult, see ?rgb et al. a small example (not a log scale) : palblancbleu = rgb(15:0, 15:0, 15, max=15); palrougeblanc

Re: [R] mirror vector?

2006-07-28 Thread Uwe Ligges
6 10 14 [4,]159 13 or a lot faster: mat[nrow(mat):1, ] Uwe Ligges --- Jacques VESLOT CNRS UMR 8090 I.B.L (2ème étage) 1 rue du Professeur Calmette B.P. 245 59019 Lille Cedex Tel : 33 (0

Re: [R] Moving from Splus to R - advice/opinions request from a management perspective

2006-07-27 Thread Uwe Ligges
anonymous messages to Insightful? No surprise that you receive unconvincing replies. Beside beeing impolite, it is also hard to recommend consultants in such a case: If you live in New Zealand, it certainly is not that helpful to recommend someone in Germany ... Uwe Ligges

Re: [R] command completion in R-WinEdt

2006-07-26 Thread Uwe Ligges
to the Command Completion Wizard. Uwe Ligges Thanks Franco __ 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 and provide commented

Re: [R] running jobs in background

2006-07-25 Thread Uwe Ligges
are logged on, a windows appears when the job is running. For other jobs such as simulations, I am always using a Linux machine. Uwe Ligges Thanks ../Murli [[alternative HTML version deleted]] __ R-help

Re: [R] table elemets testing

2006-07-22 Thread Uwe Ligges
assumptions re. the *exact* distributions of element 1 and element 2 (are you assuming iid?). And if you assume the exact distribtion, you do not need to test on equality any more, but you want to know if element x is from this distribution, and you can simply use the quantiles themselves. Uwe

Re: [R] Putting x into the right subset

2006-07-22 Thread Uwe Ligges
John Wiedenhoeft wrote: Dear all, I'm sorry I have to bother you with this newbie stuff. Within a loop I obtain pairs of values x - c(a, b). An empty set M is defined before the loop (as a list or whatever). Now I want to do the following: if there is a vector y in M that contains at

Re: [R] different csv files; was: (no subject)

2006-07-22 Thread Uwe Ligges
read ?read.csv 5. You might want to check if the format of that csv files are really identical and check if the column names are strange (including comments or separators). If it still does not work, send us the first few lines of that file. We cannot look at it otherwise! Uwe Ligges

Re: [R] How to add a line on the boxplot

2006-07-22 Thread Uwe Ligges
(data.frame(df)) aline - apply(df, 2, max) # , now you might want either abline(h = aline, col = green, lty=dotted) # or segments(seq(along = aline) - 0.2, aline, seq(along = aline) + 0.2, aline, lwd = 2, col = red) Uwe Ligges [[alternative HTML version deleted

Re: [R] How to add a line on the boxplot

2006-07-22 Thread Uwe Ligges
from it. Uwe Ligges On 7/22/06, Uwe Ligges [EMAIL PROTECTED] wrote: Jiantao Shi wrote: Hi, I have a data frame, df=rnorm(1000) dim(df)=c(100,10) And i can get the boxplot, boxplot(data.frame(df)) So how can add a line (aline) on the existing boxplot,eg

Re: [R] Progress in a loop

2006-07-19 Thread Uwe Ligges
appears only at the end of the loop. Can someone help me please ? Please read the R for Windows FAQ: When using Rgui the output to the console seems to be delayed. Uwe Ligges

Re: [R] Quantreg error

2006-07-17 Thread Uwe Ligges
, some of the variables are probably linear dependent, or you do not have any degrees of freedom left... Uwe Ligges Thanks a lot, Ricardo Gonçalves Silva, M. Sc. Apoio aos Processos de Modelagem Matemática Econometria Inadimplência Serasa S.A. (11

Re: [R] Error in Quantile Regression - Clear Message

2006-07-15 Thread Uwe Ligges
output of the str() function would be fine. Uwe Ligges Thanks, Ricardo Gonçalves Silva, M. Sc. Apoio aos Processos de Modelagem Matemática Econometria Inadimplência Serasa S.A. (11) - 6847-8889 [EMAIL PROTECTED] __ Hi

Re: [R] Invoke operating system command

2006-07-13 Thread Uwe Ligges
Gang Chen wrote: Hi all, How can I invoke an operating system command in R? I mean something like exclamation mark (!) inside Matlab. See ?system (and additionally ?shell if you are on Windows). Uwe Ligges Thanks, Gang __ R-help

Re: [R] Problem installing local additional packages of Rcmdr (WinXP)

2006-07-13 Thread Uwe Ligges
. Uwe Ligges If I make the same procedure with the internet conexion it works fine, but I need to install all the packages in computers without internet conexion. Thank you for your help. Kenneth $platform [1] i386-pc-mingw32 $arch [1] i386 $os [1] mingw32 $system [1] i386

Re: [R] Choice of repository and outdated vs unusable... was (Hunting for snow...)

2006-07-10 Thread Uwe Ligges
Brian Lunergan wrote: Uwe Ligges wrote: Where did you find them? At least not in their current versions on the official repository on CRAN master for R-2.3.x, I hope. FracSim_0.2.zip http://cran.stat.ucla.edu/bin/windows/contrib/2.3/ RDCOMClient_0.91-0.zip http://www.omegahat.org/R/bin

Re: [R] Hunting for snow...

2006-07-09 Thread Uwe Ligges
than were tested in the check summary, perhaps? The check summary is recent. I can only imagine that you found earlier versions... Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Hunting for snow...

2006-07-09 Thread Uwe Ligges
Brian Lunergan wrote: Uwe Ligges wrote: Brian Lunergan wrote: Prof Brian Ripley wrote: On Sat, 8 Jul 2006, Brian Lunergan wrote: Evening folks: I did an install.views of finance and econometrics and between the two of them R reported 'FracSim', 'RDCOMClient', 'snow', 'VGAM

Re: [R] Non-Numeric Histograms

2006-07-08 Thread Uwe Ligges
A, B,C, D, E, F and I want to find out how many of each letter there are, what is the easiest way to do this in R and use the information to make a plot? barplot(table(c(A, A, B))) Uwe Ligges jdr __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Availability of quadplot3d package (UseR!2006 Four Dimensional Barycentric Plots in 3D)

2006-07-08 Thread Uwe Ligges
contributed to some other CRAN package such as misc3d. Uwe Ligges Thanks in anticipation, Carlos Ortega [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Crosstabs

2006-07-07 Thread Uwe Ligges
to recode it? How should I do that? Works for me: table(c(a, a, b), c(a, c, c)) Uwe Ligges Thanks in advance, Wilfred __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Polynomial kernel in SVM in e1071 package

2006-07-07 Thread Uwe Ligges
, but that's very improbable. Uwe Ligges Thanks, Wuming __ 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] Editors which have strong/solid support for SWeave?

2006-07-05 Thread Uwe Ligges
to be careful?) No, not at the same time. I planned to add such a feature for the last two years or so, but there were always topics with higher priority on my ToDo list. Anyway, these days Tinn-R seems to be the Windows way to go. It already supports R, LaTeX and SWeave. Best, Uwe Ligges On 7/5/06

Re: [R] auto load package splines

2006-07-05 Thread Uwe Ligges
Xiaodong Jin wrote: May I ask how to include following procedures into R script (such as first.r) such that it will do an automatical call next time after I open R? Packages - Load Packages - splines See ?Startup Uwe Ligges Thanks, Shelton

Re: [R] Invoking SAS in order to use sas.get

2006-07-05 Thread Uwe Ligges
are on Windows (your mail header suggests, but you have not told it), this might begin with c:/Program files/. unless you have sas in your PATH already. Uwe Ligges Cody Hamilton, Ph.D Institute for Health Care Research and Improvement Baylor Health Care System (214) 265-3618

Re: [R] Invoking SAS in order to use sas.get

2006-07-05 Thread Uwe Ligges
Hamilton, Cody wrote: Sas.get is a function available from the Hmisc library. I am using Windows (sorry for not mentioning that). Same as mentioned in my former mail also applies for sas.get() in Hmisc. Uwe Ligges -Original Message- From: Uwe Ligges [mailto:[EMAIL PROTECTED

Re: [R] IMPORTING FILE FROM EXCEL

2006-07-04 Thread Uwe Ligges
, but I know it is there! Uwe Ligges Warning message: file.show(): file 'C:Documents and SettingsstatsDesktopSUMIplasma2.txt' does not exist I have understood the programming part but i cannot go ahead unless i have imported the file. I have consulted the R-help archive without success

Re: [R] xlab, ylab in balloonplot(tab)?

2006-07-04 Thread Uwe Ligges
version: 2.3.0 on WinXP SP1 Please send feature requests and bug reports of contributed packages to the package maintainer (CCing) rather than to R-help. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] parameter las (function par / graphics) on right axis

2006-07-04 Thread Uwe Ligges
() axis(side=4,las=1) Uwe Ligges I use R 2.3.1, running under Windows XP. My monitor is a Samsung SyncMaster 794MB+, resolution is 1024 x 768 pixels. (The problem also occurs at the lower resolution 800 x 600 pixels). Some simple examples - barplot: # right scale shows correctly, labels

Re: [R] removing for loop

2006-07-04 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Dear Rusers, Trying to reduce my for loops addiction, could somebody tell me if there are ways to simplify (and perhaps accelerate ?) the following line for (i in 1:N) for (j in 1:N) m[i,j] = b[i]-b[j]; outer(b, b, -) Uwe Ligges (where m is a NxN matrix

Re: [R] problem with --vanilla in R

2006-07-03 Thread Uwe Ligges
access? What happens after R --vanilla script.r BTW: I'd rather use R CMD BATCH, and I'd call the script script.R... Uwe Ligges Thanks for your help. With kind regards, Katrin __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] problems with simple statistical procedures

2006-07-02 Thread Uwe Ligges
, rae.df$VOL_DEP != rae.df$POINT_Y_CH I think this is really strange. Are you sure this is the exact call and its output? If so, please tell us the output of str(rae.df) Uwe Ligges But when i look into the dataframe the column is characterized as numeric. Sorry for bothering

Re: [R] send output to printer

2006-07-02 Thread Uwe Ligges
() helps to send stuff to a connection. 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] Problem with package sem

2006-06-29 Thread Uwe Ligges
) the following error showed up: Error in library(sem) : 'sem' is not a valid package -- installed 2.0.0? Please read the R Installation and Administration manual on how to install packages (e.g. with R CMD INTALL in the OS' console or install.packages() in R) Uwe Ligges Why is this? Thank you

Re: [R] R project question (SEM)

2006-06-29 Thread Uwe Ligges
not know where it is...I can¹t figure out how to organize the files...When I type ?sem in R it says object sem not found...I can¹t seem to find help on the web on how to set-up the packages Same answer: There is the R Installation and Administration manual. Uwe Ligges Well, thanks

Re: [R] Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

2006-06-29 Thread Uwe Ligges
read related posts. It said the solution is to set options(expressions = 1000). I wanted to know where in my code or system to set options(expressions = 1000)? Bewore you start the problematic code, but probably you really have infinite recursion Uwe Ligges Thanks. Aarti

Re: [R] write.table csv help

2006-06-27 Thread Uwe Ligges
append columns with write.table(). Uwe Ligges Current O/p: x0.287816-0.81803-0.15231-0.25849x 2.268310.8631740.2699140.181486 Desired output x1 x20.287816 2.26831-0.81803 0.863174-0.15231 0.269914

Re: [R] analyze summary data

2006-06-27 Thread Uwe Ligges
for the next R News issue, if nobody is willing to contribute to the Help Desk column (hint, hint!!!). 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] Package struction question (second try)

2006-06-26 Thread Uwe Ligges
(anyone - is that true?). Yes, R CMD INSTALL --build is preferable to R CMD build --binary but R CMD build (without --binary) builds a source package rather than a binary package. Uwe Ligges See you next week in Groton, Max snip Sorry, gmail seemed to have made

Re: [R] number of iteration s exceeded maximum of 50

2006-06-16 Thread Uwe Ligges
with this experience tell me how to fix it? Thanks in advance! We cannot make suggestions unless you tell us what you tried yourself. Id possible, please gib´ve a reproducible examle. Uwe Ligges Leaf [[alternative HTML version deleted

Re: [R] 2 Courses Near You - (1) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor, (2) R/Splus Fundamentals and Programming Techniques

2006-06-13 Thread Uwe Ligges
and Vienna's useR!2006 conference! Uwe Ligges [EMAIL PROTECTED] wrote: XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce: (1) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor *** San Francisco / July 17-18, 2006

Re: [R] memory.limit function not found

2006-06-06 Thread Uwe Ligges
to use it on Solaris: You will get as much as available for your process automatically. Uwe Ligges Am I missing anything? I do that all the time under Windows. Any help would be appreciated. Thanks Priscila [[alternative HTML version deleted

Re: [R] Status of data.table package

2006-06-05 Thread Uwe Ligges
/src/contrib/Archive/D/data.table_1.0.tar.gz AFAIR, the author (I am CCing) decided to remove it from CRAN's main repository because R has improved issues the package tries to address. Hence the package is no longer that beneficial in newer versions of R. Uwe Ligges Roger Andy From: Eric

Re: [R] A coding question

2006-06-03 Thread Uwe Ligges
distributed random numbers). Uwe Ligges On 6/2/06, Uwe Ligges [EMAIL PROTECTED] wrote: xpRt.wannabe wrote: Dear List: I have the follow code: y - replicate(10,replicate(8,sum(rnorm(rpois(1,5) Now I need to apply the following condition to _every_ randomly generated Normal

Re: [R] basic array question

2006-06-02 Thread Uwe Ligges
. Any help would be appreciated. Example: X - matrix(1:9, 3) col(X)[X == 4] row(X)[X == 4] Uwe Ligges Tim __ 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] A coding question

2006-06-02 Thread Uwe Ligges
xpRt.wannabe wrote: Dear List: I have the follow code: y - replicate(10,replicate(8,sum(rnorm(rpois(1,5) Now I need to apply the following condition to _every_ randomly generated Normal number in the code above: x - max(0,x-15) + max(0,x-90), where x represents the individual

Re: [R] Intercept of confidence interval with a constant

2006-06-02 Thread Uwe Ligges
for the x-axis)? Uwe Ligges I want to answer the question: What is the value of x when the y-value of the lower confidence interval is equal to 3.0? Visually, it is the place on the example where the abline intersects the lower confidence interval, or about 4.2. Can R calculate

Re: [R] FW: How to create a new package?

2006-06-01 Thread Uwe Ligges
of what is mentioned in that manual (how to set stuff up in Windows), you might additionally want to take a look into the article R Help Desk: Make `R CMD' Work under Windows - an Example in R News 5 (2), 27-28. Best, Uwe Ligges -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [R] FW: How to create a new package?

2006-06-01 Thread Uwe Ligges
, and it is up to date! What's so difficult with the manual, please? Uwe Ligges -Original Message- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: 01 June 2006 12:43 To: michael watson (IAH-C) Cc: Gabor Grothendieck; Rita Sousa; r-help@stat.math.ethz.ch Subject: Re: [R] FW: How

Re: [R] line over multiplot

2006-05-29 Thread Uwe Ligges
between the plot. I hope my problem is clear and there is somebody who can help me par(mfrow=c(1,4)) replicate(4, plot(1:10)) par(xpd=NA) abline(h=5) Uwe Ligges Thanks in advance Thomas H. __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Is there a way to draw 3d plot?

2006-05-26 Thread Uwe Ligges
also drag in the graphic window and see from different visual angle and perspective of the 3D plot... Are there similar functions in R that (1) show 3D plot; (2) let me manipulate view angles easily? (1) See ?persp (1) *and* (2): See package rgl. Uwe Ligges Thanks a lot

Re: [R] Indexing vector with repeated values

2006-05-26 Thread Uwe Ligges
an interval with 1 in it. You were looking for table(cut(Z,seq(0,5,1))) but don't need cut() here at all. Can I get from vector Z a smal vector Zs 1,2,3,4,5 ? seq(min(Z), max(Z)) Uwe Ligges Thanks a lot! Andris Jankevics __ R-help

Re: [R] upgrade or recompile

2006-05-26 Thread Uwe Ligges
-2.3.1 beta release instead anyway. Uwe Ligges mike [[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-project.org

Re: [R] LARS error

2006-05-25 Thread Uwe Ligges
/suggestions will be appreciated. Probably y[omit] is of length 0 here... Anyway, hard to see the real reason without a reproducible example. Note that seq(0,0.1,100) produces 0, while you probably want seq(0, 0.1, length=100). Uwe Ligges Thanks. Harsh

Re: [R] Building Libraries

2006-05-25 Thread Uwe Ligges
to look at it). Uwe Ligges Execution halted ERROR: lazy loading failed for package 'aspace' /usr/local/lib/R/bin/INSTALL: test: argument expected ERROR Installation failed. ~/RWork Can somebody please help me dicypher these error messages? Thank you, Tarmo

Re: [R] Get list of ODBC data sources?

2006-05-23 Thread Uwe Ligges
in select.list(). Any hints? I'm running 2.3.0 on Win XP SP2. Simply type odbcConnect() 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

Re: [R] Environment problems

2006-05-23 Thread Uwe Ligges
already been fixed. Please try the beta version of R-2.3.1. Uwe Ligges This example is done in R.Version()$version.string [1] Version 2.3.0 Patched (2006-04-25 r37924) on WindowsXP Cheers, Hans __ R-help@stat.math.ethz.ch mailing list https

Re: [R] normality testing with nortest

2006-05-22 Thread Uwe Ligges
, and that it does what it should do. I suspect so as well. If you think something is wrong, please contact the package maintainer (CCing; he's not reading R-help posts). Uwe Ligges cheers, Rolf Turner

Re: [R] normality testing with nortest

2006-05-22 Thread Uwe Ligges
Raymond Wan wrote: On Mon, 22 May 2006, Uwe Ligges wrote: Rolf Turner wrote: If the nortest package does it differently (and I don't really see how it possibly could!) then it is confusingly designed. I rather suspect that its design is just fine, and that it does what it should do

Re: [R] Matrix in 3D

2006-05-22 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Dear R Users, Is it possible to add another (third) index to matrix (as in MATLAB). For some analysis e.g. finite mixture models is necessary. Simple example i-3 matrix[, , i]-matrixA[, ,i]%*%matrixB[, , i] See ?array Uwe Ligges I would appreciate any help

Re: [R] odd feature

2006-05-22 Thread Uwe Ligges
Gabor Grothendieck wrote: On 5/22/06, Martin Maechler [EMAIL PROTECTED] wrote: TL == Thomas Lumley [EMAIL PROTECTED] on Mon, 22 May 2006 07:09:09 -0700 (PDT) writes: TL On Mon, 22 May 2006, Gabor Grothendieck wrote: Due to lazy evaluation, I don't think a and b are fully evaluated:

Re: [R] writing 100 files

2006-05-22 Thread Uwe Ligges
to posting! 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] checking package dependencies

2006-05-20 Thread Uwe Ligges
. Access is denied suggests this is not an R but a problem of your (OS/cygwin ? ) setup. Uwe Ligges [EMAIL PROTECTED] ~/HH-R.package $ PATH=.:/cygdrive/c/progra~1/R/tools/bin:/cygdrive/c/MinGW/bin:/cygdrive/c/Perl /bin:/cygdrive/c/texmf/miktex/bin:/cygdrive/c/progra~1/R/R-2.3.0/bin:/usr/local

Re: [R] A question on memory size

2006-05-16 Thread Uwe Ligges
, as the posting guide asks you to do. In particular of interest: - What do you mean with commend line in the shortcut? - OS - R version - amount of physical and virtual memory in your machine Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Large database help

2006-05-16 Thread Uwe Ligges
, but only works if you do not need several variables at once and depends on the methods you are going to apply. Uwe Ligges Thanks in advance. Rogerio. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] bitwise addition

2006-05-16 Thread Uwe Ligges
with the numbers given above, better a machine with 1Gb. Uwe Ligges Thanks once again all of you. Nameeta Quoting Charles C. Berry [EMAIL PROTECTED]: Here is a solution that finds the 2042975 25-bit words with 9 bits 'on' in under 5 seconds on my PC. It finds the 5200300 25-bit words

Re: [R] memory

2006-05-16 Thread Uwe Ligges
to the various objects in memory, I get an error that R cannot allocate the matrix. Is there an internal RAM limit for R? Are there any work-arounds? There is a theoretical limit is 2Gb - and this is an operating system issue. Anyway, ?Memory-limits describes how to get more. Uwe Ligges

Re: [R] pattern instead of colors in bargraph

2006-05-15 Thread Uwe Ligges
to see which is which. I didn't find anything in the help which showed me how to do it. Then please re-read it and look at the arguments desnity and angle. Uwe Ligges Is it possible, and if yes how? Thanks a lot, Rainer __ R-help

Re: [R] Title for secondary y-axis (axis(4)) in barplot?

2006-05-15 Thread Uwe Ligges
, at=seq(0, 8, by=2), labels=seq (0, 80, by=20)) dev.off() See ?mtext 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] Basic function help

2006-05-12 Thread Uwe Ligges
, it will work in both. Uwe Ligges Thanks, Sumanta. - What makes Sachin India's highest paid sports celebrity?, Share your knowledge on Yahoo! India Answers Send instant messages to your online friends - NOW [[alternative HTML

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