Re: [R] Matrices with a single column

2005-09-01 Thread Uwe Ligges
[4:6,,drop=FALSE] Uwe Ligges cheers, crispin This email is confidential and intended solely for the use o...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https

Re: [R] controlling where *.Rout gets printed. Possible?

2005-09-01 Thread Uwe Ligges
call R by something like R CMD BATCH /usr/local/bin/R_installAll.R /path/to/R_installAll.Result Uwe Ligges Here's the shell script I will schedule with cron R_installAll.sh -- #!/bin/bash R CMD BATCH /usr/local/bin/R_installAll.R

Re: [R] Strange build message: request help w/resolving

2005-09-01 Thread Uwe Ligges
Any help that can be provided is appreciated. One obvious point: Continuation lines should begin with a white space (such as a tab). See the Writing R Extensions manual for more details. Uwe Ligges Thank you, John Zajd [[alternative HTML version deleted

Re: [R] Who can help me?

2005-08-30 Thread Uwe Ligges
(but probably not the result you want to get) ... Uwe Ligges thank you in advance. Chris __ 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

Re: [R] seeking advice for manipulating matrices to find the difference

2005-08-30 Thread Uwe Ligges
what they say about for loops... Thanks, Roger For example merge() by row numbers and calculate the differences in the next step. Uwe Ligges out.r[1:5, 1:3] 1 2 3 1100 -0.0992 -0.0802 -0.0653 1200 -0.1242 -0.0417 0.0082 1300 -0.1681 -0.0211 -0.0958 1400 -0.0985 -0.1217 0.0026 1500

Re: [R] Console not found

2005-08-29 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, I'm interested in LaTeX notations in R graphics. For example, i would like to know how to obtain this picture http://www.r-project.org/screenshots/power.png. See ?plotmath Uwe Ligges Thanks __ R-help

Re: [R] printCoefmat with more p-values?

2005-08-28 Thread Uwe Ligges
such table without writing my own complicated function? Yes, I think you have to write your own function, but no need for a complicated one. ;-) Uwe Ligges Thank you in advance, __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Packages

2005-08-25 Thread Uwe Ligges
Roger D. Peng wrote: What version of R are you using? 'modreg' no longer exists---its functions have been moved to the 'stats' package. Let me add that the URL cited below is not an official one. Plaese take a look at some CRAN mirror close to you. Uwe Ligges -roger Amir Safari wrote

Re: [R] Re : Packages

2005-08-25 Thread Uwe Ligges
to the poster who might not be subscribed on the list. Thanks, Uwe Ligges Sincerly ! - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] reading special text files

2005-08-24 Thread Uwe Ligges
., in a data.frame): 1 1 2 3 2 1 2 3 4 3 1 5 6 7 8 is there any way to do so? Yes, with e.g. sep=\t and sep= the number of separators is taken into account. No, with sep= the separator is *any* white space. Uwe Ligges

Re: [R] randomize

2005-08-24 Thread Uwe Ligges
package is it in? In principle, you are looking for sample(). If you don't need other values for the restrict argument than the default, you can simply define: randomize - function(x) sample(seq(nrow(x))) Uwe Ligges Thanks! Luis __ R-help

Re: [R] axis label justified

2005-08-19 Thread Uwe Ligges
in this case. You need the regular adj here, which cannot do the trick for axis(), but you can workaround with mtext(): plot(1:50, yaxt=n) axis(2, at=1:50, labels=FALSE) mtext(paste('a',1:50,sep=''), 2, at=1:50, las=2, cex=0.5, adj=0, line=1.5) Uwe Ligges plot(1:50,axes = FALSE,ylab

Re: [R] plot and legend

2005-08-19 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, I would like make a plot with a legend. How can I take the legend outside of the plot frame? Use par(xpd = .) See ?par for details. Uwe Ligges Greetings, Sven Knüppel (Berlin, Germany

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Uwe Ligges
This is perfect, \ is *printed* escaped, hence for file access you can perfectly use this character vector. 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] using paste and \ to create a valid filename

2005-08-19 Thread Uwe Ligges
Don't know about the details with RODBC here, why not just use forward slashes as in (used it in all of my courses and never tried \\ before): rankFile - paste(R:/New Ranks/SMC/SMC/, rankDate, .xls, sep=) Uwe Ligges roger bos wrote: I was surprise myself that I was having

Re: [R] Unload a library

2005-08-19 Thread Uwe Ligges
the problem is because the packages Rggobi, RGtk and tcltk are running together. I thought about a solution that would be unload the Rggobi and RGtk packages after I use them. Do you know how I do that? And if someone has another solution for that problem please help me. See ?detach Uwe Ligges

Re: [R] Problem with building R packages under Windows

2005-08-18 Thread Uwe Ligges
the path (in control panel) of C:\texmf\miktex\bin 4. Added the path (in control panel) referencing R (this version being R2.0patched) which is C:\Program Files\R\rw2000pat\bin Above you told us about R-2.1.1 .! Please, really use a recent version. Uwe Ligges 5. Since my codes are all

Re: [R] help with unknown function

2005-08-18 Thread Uwe Ligges
? Don't know. I'd rather ask someone. ;-) I mean the same someone you got the code from, because getareahr() might be his/her private invention. Uwe Ligges thanks! Agnès --- Agnès

Re: [R] How to repeat code snippet for several variables in a data frame?

2005-08-16 Thread Uwe Ligges
! Sander. Many ways, a very basic one is to make it a function with an argument corresponding to names of columns of the data.frame (code given below). Uwe Ligges do_it - function(varname){ library(lattice) tmp - aggregate(test[[varname]], list(test$bins, test$groups), mean

Re: [R] missing sh.exe file when running R CMD INSTALL test

2005-08-16 Thread Uwe Ligges
it is really in the path of the shell from which you are executing R CMD? I think this is not the case. Try typing sh.exe therein directly ... Uwe Ligges I saw in an old FAQ a suggestion to move sh.eve to the C:\bin\ folder, but my C: root does not have a bin folder. Nonetheless, I created one

Re: [R] Dots in models formulae

2005-08-16 Thread Uwe Ligges
Laurent Valdes wrote: I have seen, several times, dots (like this: y ~. ) in formula descriptions, noticeably in R help. I am unable to see what it does correspond to. Any ideas ? All other variables (except y) from the given data.frame... Uwe Ligges

Re: [R] as.character and a formula

2005-08-16 Thread Uwe Ligges
the extra + come from? Which *extra* +? This expression is the same as +(spp1 + spp2 + spp3, spp5) hence + with arguments spp1 + spp2 + spp3 and spp5 Same below. Uwe Ligges as.character(fmla) [1] ~ y1 [3] spp1 + spp2 + spp3 + spp5 Thanks

Re: [R] paste / system mystery

2005-08-15 Thread Uwe Ligges
? Feature: The arguments of paste() get pasted, and you have just specified one argument which is a character *vector*. You want to say that the elements of the vector should be pasted as follows: line - paste(c(echo A B, eargs), collapse = ) Uwe Ligges help appreciated. /iaw --- ivo

Re: [R] access assigned objects

2005-08-12 Thread Uwe Ligges
the fisher.test. fm-function(x) {dfrow-nrow(x) mm - vector(list, dfrow) for(i in 1:dfrow) mm[[i]] - matrix(x[i,],nr=2) If x is a data.frame, x[1,] is also a data.frame. Try unlist() at first: mm[[i]] - matrix(unlist(x[i,]),nr=2) Uwe Ligges } I don't know how to access each mm

Re: [R] error loading nlme package

2005-08-10 Thread Uwe Ligges
to be seriously broken. Please reinstall R (and that's the best time to upgrade to R-2.1.1). Uwe Ligges Though i am using the version R 2.0.0. A couple of hours back it was loaded, in the new session this problem is generated. regards Krishna __ R-help

Re: [R] floor() rounding problem?

2005-08-09 Thread Uwe Ligges
Simon Woodhead wrote: Dear all, Could someone please explain the following perculiarity? Please read the FAQ Why doesn't R think these numbers are equal (as the posting gude asks you to do). Uwe Ligges 2 == 0.2/0.1 [1] TRUE 3 == 0.3/0.1 [1] FALSE Similarly, floor(0.2/0.1

Re: [R] installing problems about randomForest

2005-08-08 Thread Uwe Ligges
/platform and compiler are we talking about? Uwe Ligges Thanks in advance. Xiao Jianfeng __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] R: matrix sizes

2005-08-08 Thread Uwe Ligges
of the columns are the outputs from the different interations. how would have to define the output matrix initally? Of course, you define it to the maximal_length x number_iterations, but in fact you probably want a list rather than a matrix. Uwe Ligges / thanking you in advance

Re: [R] R: cbind

2005-08-08 Thread Uwe Ligges
the name of this function. we could use cbind but it does not seem to allows this! See my other message: You probably want a list. If not, the sparce matrix classes provided by package Matrix might be worth considering. Uwe Ligges thanking you in advance. / allan

Re: [R] Latex error with Sweave example

2005-08-06 Thread Uwe Ligges
directory). Uwe Ligges sosman wrote: I created a tex file following the example in the Sweave help which produced the following files in my working directory. Sweave-test-1-006.eps Sweave-test-1-006.pdf Sweave-test-1-007.eps Sweave-test-1-007.pdf Sweave-test-1.tex When I run latex

Re: [R] Discriminant analysis

2005-08-05 Thread Uwe Ligges
which models/methods you applied). Uwe Ligges Can anybody help me to find out a light in my way? I've been searching all over the web to fetch any help or example but I couldn't get anything. I would apreciate any help greatly. Thanks Carlos Niharra López Software Engineer

Re: [R] Where the error message comes from?

2005-08-05 Thread Uwe Ligges
confidence interval for Cost-Effectiveness Ratio. I have pasted the message in blue. No, we do not want html mail (and the html version got deleted, see below), hence nothing is blue (although we statisticians do like sort of BLUEs, of course). Uwe Ligges I appreciate any guidance

Re: [R] Help, my RGui is speaking French!

2005-08-05 Thread Uwe Ligges
it. Could somebody give me a hint? For example, read the most recent R Newsletter on localization of R. As one solution, set the environment variable LANGUAGE=en Uwe Ligges Kind regards, Dominik My system: platform i386-pc-mingw32 arch i386 os mingw32

Re: [R] High resolution plots

2005-08-05 Thread Uwe Ligges
') the wmf command but there is nothing to find with help.search(wmf) See ?win.metafile Uwe Ligges with regards Knut Krueger [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Computing sums of the columns of an array

2005-08-05 Thread Uwe Ligges
Martin C. Martin wrote: Hi, I have a 5x731 array A, and I want to compute the sums of the columns. Currently I do: apply(A, 2, sum) colSums(A) Uwe Ligges But it turns out, this is slow: 70% of my CPU time is spent here, even though there are many complicated steps in my

Re: [R] Computing sums of the columns of an array

2005-08-05 Thread Uwe Ligges
, nrow(A)) %*% A) # ~ 0.5 sec. Uwe Ligges Duncan Murdoch __ 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] Computing sums of the columns of an array

2005-08-05 Thread Uwe Ligges
Duncan Murdoch wrote: On 8/5/2005 12:43 PM, Uwe Ligges wrote: Duncan Murdoch wrote: On 8/5/2005 12:16 PM, Martin C. Martin wrote: Hi, I have a 5x731 array A, and I want to compute the sums of the columns. Currently I do: apply(A, 2, sum) But it turns out, this is slow: 70% of my

Re: [R] Eclipse, R, plug-in?

2005-08-04 Thread Uwe Ligges
Robert Citek wrote: Has any developed or is anyone developing a plug-in[1] for using R with Eclipse[2]? Stephan Wahlbrink made a Plug-In available at http://www.walware.de/goto/statet Uwe Ligges Eclipse is an Integrated Development Environment (IDE) written in Java. While originally

Re: [R] Puzzled at rpart prediction

2005-08-04 Thread Uwe Ligges
Levels: 0 1 But I'm puzzled at the following. If I say: predict(m.rpart, newdata=D[N1+t,], type=vector) 173 1 What gives? This means that the class of the first level is chosen, and the first level is 0. Uwe Ligges I will be happy to packup a runnable demonstration for any

Re: [R] additional graphical parameters in contour function

2005-08-04 Thread Uwe Ligges
? Uwe Ligges Thank you for your response. Abdou. [[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] additional graphical parameters in contour function

2005-08-04 Thread Uwe Ligges
as in: x - -6:16 op - par(mfrow = c(2, 1)) contour(outer(x, x), method = edge, lty=1) contour(outer(x, x), method = edge, lty=2) Uwe Ligges Thank. Uwe Ligges Thank you for your response. Abdou. [[alternative HTML version deleted

Re: [R] Modifying the parameters for a function

2005-08-04 Thread Uwe Ligges
file in the base package of R that needs modification. Error in parse(file, n, text, prompt) : syntax error on line 11102 No, you have introduced an error, obviously. Uwe Ligges Error: unable to load R code in package 'stats' During startup - Warning message: package stats

Re: [R] Problem when pasting from Winedit into Rgui

2005-08-04 Thread Uwe Ligges
appearaing when you say library(RWinEdt) I guess you have a french localized version of RGui running in mdi mode? In this case, switch to sdi mode and adjust the RWinEdt setting. It's all explained in much more detail in the ReadMe of RWinEdt. Uwe Ligges I am working with : version

Re: [R] Help: how to hide the buttons of a new opening device

2005-08-04 Thread Uwe Ligges
Shengzhe Wu wrote: Hello, When I open a new device by windows(), how to hide the 3 buttons on the top-right corner of this window, since I want to make these buttons not work, and the window can be closed only by dev.off() or graphics.off(). You cannot. Uwe Ligges Thank you

Re: [R] R config question

2005-08-04 Thread Uwe Ligges
/libs? Either install them (highly recommended) or configure without readline support. Uwe Ligges Thanks, Bill __ 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] memory limit

2005-08-02 Thread Uwe Ligges
what R chooses for you. 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] shlib compilation problem

2005-07-31 Thread Uwe Ligges
on why the make command is not found? This is not related to R but to the setup of your OS. Is make installed? Is the path known in the corresponing environment variable? Uwe Ligges Thanks a lot Petra __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Wild card characters

2005-07-30 Thread Uwe Ligges
) Uwe Ligges This works fine as long as there is only 1 digit after the decimal. If I have '982323.10', then the result of the code is '982323.141' instead of '982323.41' How do I fix the code to replace all characters after the decimal by 41? Thank you -D

Re: [R] Identify function with matplot

2005-07-29 Thread Uwe Ligges
))) identifyMat - function(x, ...){ label - paste(row(x), , , col(x), sep=) identify(row(x), x, labels=label, ...) } identifyMat(sines) Uwe Ligges Thanks. Hari __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Error Downloading Matrix Package

2005-07-29 Thread Uwe Ligges
loaded? Uwe Ligges install.packages('Matrix') trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.1/Mat rix_0.98-1.zip' Content type 'application/zip' length 891288 bytes opened URL downloaded 870Kb package 'Matrix' successfully unpacked and MD5 sums checked

Re: [R] gamma distribution

2005-07-28 Thread Uwe Ligges
to 50, hopefully. Since both points above seem to be very strange on your machine: Which version of R are you using? We assume the most recent one which is R-2.1.1. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] gamma distribution

2005-07-28 Thread Uwe Ligges
calculate 50/1000 and Excel does better? is my approach correct?? No. Uwe Ligges thanks n regards -dev Quoting Uwe Ligges [EMAIL PROTECTED]: Answering both messges here: 1. [EMAIL PROTECTED] wrote: Hi I appreciate your response. This is what I observed..taking the log transform

Re: [R] error message running R2WinBUGS

2005-07-28 Thread Uwe Ligges
a Binomial distribution with n=100 (hence impossible!). And that's what the WinBUGS (NOT R!) error message tells you. Uwe Ligges qi zhang wrote: *Dear R-user, * I try to run Winbugs from R using bugs function in R2WinBUGS.My model works well in Winbugs except that I can't get DIC

Re: [R] catching errors in a loop

2005-07-28 Thread Uwe Ligges
without R stopping (which I want because each loop takes some time so I do not want it to stop), but I also want to capture the variable when an error occur. Right idea: fit - try(nls(model, .)) if(inherits(fit, try-error)) write(i, file=hello.txt) Uwe Ligges

Re: [R] gamma distribution

2005-07-27 Thread Uwe Ligges
, var.equal = FALSE)$p.value }) sum(erg 0.05) # 45 which seems plausible to me. Uwe Ligges -- sink(a1.txt); for (i in 1:1000) { x-rgamma(10, 2.5, scale = 10) y-rgamma(10, 2.5, scale = 10) z-wilcox.test(x, y, var.equal = FALSE) print(z) x1-log(x) y1-log(y) k-wilcox.test(x1, y1

Re: [R] trellis graphics/ trellis.par.set()

2005-07-27 Thread Uwe Ligges
trouble with trellis.par.set() trellis.par.set(par.xlab.text.cex = list(cex=1.5)) You mean: trellis.par.set(par.xlab.text = list(cex=1.5)) Uwe Ligges is not quite right, and having read the documentation, I wonder if anyone help me get the graphical parameter right? print(trellis.par.get

Re: [R] text on some lines

2005-07-26 Thread Uwe Ligges
), for example. Uwe Ligges Thanks Sabine - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] problem building R packages in windows xp

2005-07-25 Thread Uwe Ligges
Dirk Eddelbuettel wrote: On 24 July 2005 at 19:38, Prof Brian Ripley wrote: | It is already optional, and documented as such as Uwe points out: Yup, that one I evidently didn't know ... maybe the help on --docs needs to be more explicit. Dunno. Or the section in the 'R Extensions' manual

Re: [R] The steps of building library in R 2.1.1

2005-07-25 Thread Uwe Ligges
. Uwe Ligges before 2.2.0; I've got a number of higher priority things to get through first. But if someone wants to volunteer to write it up in texinfo format, I'll be appreciative. Duncan Several such recipes have been posted to the internet or R-help. The one that I have found

Re: [R] assignment of matrix

2005-07-25 Thread Uwe Ligges
4.2 if I want to assign y3's value to matrix, where the value's row and column should correspond the y1's and y2's value, such like matrix[y1[1]][y2[1]] - y3[1] For a matrix X: X[cbind(y1, y2)] - y3 Uwe Ligges how can this be realized? thanks Hao Wu

Re: [R] problem building R packages in windows xp

2005-07-24 Thread Uwe Ligges
path? Do you have modified MkRules accordingly? Uwe Ligges cp: cannot stat 'c:/temp/RPackageExample-19Jul05/test/chm/test.chm': No such file or directory I do not know if this error is due to the TeX version, or if I am doing any other error. Does anybody have some idea? Thank

Re: [R] problem building R packages in windows xp

2005-07-24 Thread Uwe Ligges
Dirk Eddelbuettel wrote: On 24 July 2005 at 13:44, Gabor Grothendieck wrote: | hhc.exe is the Microsoft help compiler. You have to download that | and then put hhc.exe somewhere in your path. The Windows | console command | | path | | will give you the pathnames in your current path,

Re: [R] about nnet package

2005-07-23 Thread Uwe Ligges
Wensui Liu wrote: you might need quit(yes) when you exit R. I think nobody want to save the whole workspace if just one object is of interest, hence you save(), as already mentioned in a former post. Uwe Ligges On 7/22/05, Baoqiang Cao [EMAIL PROTECTED] wrote: Hello Uwe Ligges, I

Re: [R] Generate a function

2005-07-22 Thread Uwe Ligges
, beta1 and eta. Then we might be able to explain where you have your problems. Uwe Ligges Thks guillaume // Webmail Oreka : http://www.oreka.com

Re: [R] Question regarding subsetting

2005-07-22 Thread Uwe Ligges
How do I extract the elements aaa, bbb, ccc from B? For example: sapply(B, [, 2) Uwe Ligges Thanks in advance. Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com [[alternative HTML version deleted

Re: [R] about nnet package

2005-07-22 Thread Uwe Ligges
than nnet package? Any example will be highly appreciated! Best, Baoqiang Cao See ?nnet which point you to its predict method. You say nnetObject - nnet(.) Now store the nnetObject and use it later as in: predict(nnetObject, newdata) Uwe Ligges

Re: [R] multiplicate 2 functions

2005-07-22 Thread Uwe Ligges
on such an argument, but you cannot call that function without specifying that argument - it simply cannot be evaluated. I guess you are looking for software that does symbolic algebra. R cannot (well, almost), R is mainly intended for numerical computations. Uwe Ligges [EMAIL PROTECTED] wrote: Thks

Re: [R] about nnet package

2005-07-22 Thread Uwe Ligges
Baoqiang Cao wrote: Hello Uwe Ligges, I might misdiscribe my question. What I thought is that, after nnetObject-nnet(...), this nnetObject will be gone after I exit R. Since I need the trained nnetObject for next time without training it again, how can I save this nnetObject (to some

Re: [R] The steps of building library in R 2.1.1

2005-07-21 Thread Uwe Ligges
Ivy_Li wrote: Dear All, With the warm support of every R expert, I have built my R library successfully. Especially thanks: Duncan Murdoch Gabor Grothendieck Henrik Bengtsson Uwe Ligges You are welcome. The following

Re: [R] RandomForest question

2005-07-21 Thread Uwe Ligges
are generated and you get a larger number of variables in the later process. Uwe Ligges thanks for your help + kind regards, Arne [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] The steps of building library in R 2.1.1

2005-07-21 Thread Uwe Ligges
Duncan Murdoch wrote: On 7/21/2005 10:29 AM, Uwe Ligges wrote: Gabor Grothendieck wrote: I think you have been using R too long. Something like this is very much needed. There are two problems: 1. the process itself is too complex (need to get rid of perl, integrate package

Re: [R] Concatenate 2 functions

2005-07-21 Thread Uwe Ligges
? This is completely unclear to me. Uwe Ligges Any idee on this? thks guillaume. // Webmail Oreka : http://www.oreka.com __ R-help

Re: [R] R:plot and dots

2005-07-21 Thread Uwe Ligges
Clark Allan wrote: hi all a very simple question. i have plot(x,y) but i would like to add in on the plot the observation number associated with each point. how can this be done? See ?text Uwe Ligges / allan

Re: [R] opening RDB files

2005-07-21 Thread Uwe Ligges
introduced in R-1.9.0, AFAIR. There is a corresponding article in R News. Just download the source package in order to look at the code. Uwe Ligges Thank you! Emili __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] The steps of building library in R 2.1.1

2005-07-21 Thread Uwe Ligges
spread over the web satisfies this requirement, AFAICS), she/he is invited to contribute, of course. BTW, everybody else is invited to submit proposals for R Help Desk!!! Uwe Ligges On 7/21/05, Uwe Ligges [EMAIL PROTECTED] wrote: Ivy_Li wrote: Dear All, With the warm support of every R

Re: [R] Using BRugs, in FUN: .C(..) 'type' not real

2005-07-20 Thread Uwe Ligges
Seth Pruitt wrote: To All, I am using the BRugs package. In running the meta file BRugsFit() with a syntactically correct model .txt file, I see the message: Error in FUN(X[[1]], ...) : .C(..): 'type' must be real for this format Hi, can you send me in a private message a reproducible

Re: [R] Cannot update some packages after upgrade to 2.1.1

2005-07-20 Thread Uwe Ligges
Prof Brian Ripley wrote: On Wed, 20 Jul 2005, Kevin E. Thorpe wrote: Thank you for the information. I have contacted the RPM maintainer and am awaiting a response. It occurs to me that my problem could also be fixed by putting ATLAS on my system. Are there advantages to doing that or any

Re: [R] R: expression

2005-07-19 Thread Uwe Ligges
the following: 1.legend(-5,.3,expression(hat(phi)*=*PHI)) 2.legend(-5,.3,paste(expression(phi),=,PHI)) See ?plotmath or the Help Desk Article Automation of Mathematical Annotation in Plots in R News 2 (3), 32-34. legend(-5, .3, substitute(hat(phi) == PHI, list(PHI = PHI))) Uwe

Re: [R] rmpi in windows

2005-07-16 Thread Uwe Ligges
. The package maintainer may know better. Uwe Ligges BTW: Why do you ask twice (in private message and on R-help)? I am reading R-help anyway ... Thanks, Tolga Please follow the attached hyperlink to an important disclaimer http://www.csfb.com/legal_terms/disclaimer_europe.shtml

Re: [R] Fwd: Re: East Asian language

2005-07-15 Thread Uwe Ligges
idea? What about setting LANGUAGE in .Renviron? See ?.Renviron Uwe Ligges Pingping Zheng Department of Mathematics and Statistics Fylde College Lancaster University Lancaster LA1 4YF UK Baoqiang Cao wrote: Original message Date: Thu, 14 Jul 2005 19:50:41 +0200

Re: [R] Newbie guide for plot graphics functions?

2005-07-15 Thread Uwe Ligges
there for getting started? Can you specify a reproducible examples, please? Uwe Ligges TIA, Pete - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] How to increase memory for R on Soliars 10 with 16GB and 64bit R

2005-07-14 Thread Uwe Ligges
Dongseok Choi wrote: Thank you very much for your help!! Now, it runs without any problem. Is it going to be fixed in the next release? Of course, Brian Thanks again, Dongseok Dongseok Choi, Ph.D. Assistant Professor Division of Biostatistics Department of Public Health

Re: [R] How to increase memory for R on Soliars 10 with 16GB and 64bit R

2005-07-14 Thread Uwe Ligges
Uwe Ligges wrote: Dongseok Choi wrote: Thank you very much for your help!! Now, it runs without any problem. Is it going to be fixed in the next release? Of course, Brian [hmmm, looks like some wrong shortcut has been used - and it must have been me who forgot to drink coffee before

Re: [R] East Asian language

2005-07-14 Thread Uwe Ligges
setup? Thank you so much! E.g. by setting the envrionment variable LANGUAGE=en Uwe Ligges Best, Nan __ 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] Fwd: Re: East Asian language

2005-07-14 Thread Uwe Ligges
Baoqiang Cao wrote: Original message Date: Thu, 14 Jul 2005 19:50:41 +0200 From: Uwe Ligges [EMAIL PROTECTED] Subject: Re: [R] East Asian language To: Nan Lin [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Nan Lin wrote: Dear all, I just installed R 2.1.1. The installation

Re: [R] Using system to run a stand alone program that requires input in Windows

2005-07-14 Thread Uwe Ligges
) of parameters. I want to run this from R using system a la: system(foo.exe, input = params.txt) but that doesn't do it. What am I missing? You misinterpreted input: system(foo.exe params.txt) should be sufficient. See also ?shell. Uwe Ligges platform i386-pc-mingw32 arch i386

Re: [R] Please help me.....

2005-07-13 Thread Uwe Ligges
not understand why change the labels, and not know that is ralationship. Samebody can hel me in this analysis. Not so for me. As the posting guide asks you to do: Can you specify a reproducible example, please. Uwe Ligges Thank for all fdo Fernando Espindola R. Division

Re: [R] Where's iris?

2005-07-13 Thread Uwe Ligges
of the data. Uwe Ligges Ruben __ 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] maps drawing

2005-07-13 Thread Uwe Ligges
not to find maps on CRAN in your case. Uwe Ligges Thanks for any guidance, Mark __ 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 CMD INSTALL use differenct c++ compiler

2005-07-12 Thread Uwe Ligges
is good? That one from GCC is perfect, but in a much more recent version ... Uwe Ligges -Luke __ 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] High resolution plots

2005-07-12 Thread Uwe Ligges
in the same way as the plots. If you really want high quality, why do you choose a bitmaped device rather than non-bitmapped devices such as ps, pdf or wmf? Uwe Ligges with regards Knut Krueger http://www.biostatistic.de __ R-help

Re: [R] bug in chdir option of source

2005-07-12 Thread Uwe Ligges
-2.1.1 where the bug has been fixed. Uwe Ligges Thanks, Stefan __ 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 generate argument from a vector automatically

2005-07-12 Thread Uwe Ligges
, or even better use short term formulas such as y~., if all variables should be used anyway. Uwe Ligges could anybody give me a hint? __ R-help@stat.math.ethz.ch mailing

Re: [R] elegant matrix creation

2005-07-12 Thread Uwe Ligges
Robin Hankin wrote: What about foo - function(a){ n - length(a) X - diag(n+1) X[lower.tri(X)] - unlist(lapply(seq(n), function(x) cumprod(c(1, a)[-seq(x)]))) X } foo(c(10,7,2)) Uwe Ligges Hi I want to write a little function that takes a vector

Re: [R] misc3d package

2005-07-11 Thread Uwe Ligges
misc3d is a very new package. CRAN's windows binary repository for R-2.0.x is no longer updated, hence does not contain the package. The corresponding ReadMe tells us: Last update: 19.04.2005. Either upgrade to R-2.1.1 and try again, or compile the package from sources yourself. Uwe Ligges

Re: [R] package loading smooth.lf (LOCFIT), couldn't find function smooth.lf

2005-07-10 Thread Uwe Ligges
the maintainers of the package and the cited URL (CCing both) to update at least one of them (package or http://www.herine.net/locfit/start.html) While the web page states the last update is (December 16, 2004 version), the version on CRAN is locfit_1.1-9.tar.gz dated 14-Sep-2004. Uwe Ligges fit

Re: [R] Quantile normalization and NA

2005-07-10 Thread Uwe Ligges
are the subject of interest. And you might want to give a simple, reproducible, but non-bandwith-wasting example (perhaps by uploadiung data to some web site) in order to make the Bioconductor folks able help you. Uwe Ligges For a small set of data there is no problem, but for a large set

Re: [R] getting a variable from an object named using paste

2005-07-09 Thread Uwe Ligges
,(paste(cmeans,num.of.clust,sep=))$cluster) This is a FAQ: use get() Uwe Ligges I only get two columns (the last term has no effect). Any ideas as to what I am doing wrong? Thanks a lot! Costas __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Error message NA/NaN/Inf in foreign function call (arg 6) when using knn()

2005-07-08 Thread Uwe Ligges
which the code does not intercept with a nice error message. 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] how to do something like symptoms==c('a', 'e', 'z')

2005-07-08 Thread Uwe Ligges
of repeated conditional in a more space-efficient fashion, something like subset( data, symptoms==c('a','e','z') ) You are looking for %in%: subset(data, symptoms %in% c('a','e','z')) Uwe Ligges (which is incorrect unless symptoms is, in this case, an integer multiple of 3 long

<    4   5   6   7   8   9   10   11   12   13   >