Re: [R] repeat { readline() }

2006-01-08 Thread Prof Brian Ripley
Ctrl-Break works: see the rw-FAQ and README.rterm. (You'll need a return to see a new prompt.) It is related to your reading directly from the console, so Ctrl-C is getting sent to the wrong place, I believe. (There's a comment from Guido somewhere in the sources about this, and this seems

Re: [R] repeat { readline() }

2006-01-08 Thread hadley wickham
On a related note, does anyone know how to exit: repeat { try( readline() ) } The try block captures Ctrl-C. Hadley __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] Wikis etc.

2006-01-08 Thread Detlef Steuer
On Sat, 7 Jan 2006 13:51:24 -0500 Jonathan Baron [EMAIL PROTECTED] wrote: On 01/07/06 12:25, Dirk Eddelbuettel wrote: So my $0.02 would be to a) go for it, if possible but b) make it visible, and closely tied to R Core / CRAN / R News / Which poses the chicken/egg problem of people

Re: [R] [R-pkgs] sudoku

2006-01-08 Thread Detlef Steuer
Hey, you spoiled my course! :-) I planned using this as an excersise. Alternative ideas anyone ... Detlef On Fri, 6 Jan 2006 11:43:44 -0500 Brahm, David [EMAIL PROTECTED] wrote: Any doubts about R's big-league status should be put to rest, now that we have a Sudoku Puzzle Solver. Take

Re: [R] repeat { readline() }

2006-01-08 Thread Prof Brian Ripley
On Sun, 8 Jan 2006, Prof Brian Ripley wrote: Ctrl-Break works: see the rw-FAQ and README.rterm. (You'll need a return to see a new prompt.) It is related to your reading directly from the console, so Ctrl-C is getting sent to the wrong place, I believe. (There's a comment from Guido

Re: [R] Wikis etc.

2006-01-08 Thread Kevin Gamble
Kris over at Wiki That! has a post today about what makes for a good wiki: http://www.wikithat.com/wiki_that/2006/01/wiki_of_the_wee_1.html Most wikis I’ve looked at are in danger of facing the same fate as most websites and CMS - death by boredom. They are focused on content that is

[R] Filters in waveslim

2006-01-08 Thread Amir Safari
Dear R Users, For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is la8 and other possibility is haar. In related documents, another possibilities like as symlet and coiflet ... are not cited.

Re: [R] packages and tex files

2006-01-08 Thread Uwe Ligges
Erin Hodgess wrote: Dear R People: I am trying to build a package (yet again!) I have both PCTex and WinEdt. I want the *.tex files to use WinEdt. Erin, please check the R Installation and Administration manual on how to set up a working environment to build and install packages. I

Re: [R] exporting methods/classes

2006-01-08 Thread Uwe Ligges
Erin Hodgess wrote: Dear R People: I'm still struggling with sending methods and classes as part of creating a new package. Where does the .onLoad function go? Within R itself or in a file in one of the new package directories? Simply save the .onLoad function in some .R file (e.g.

Re: [R] Wikis etc.

2006-01-08 Thread phgrosjean
Hello all, Sorry for not taking part of this discussion earlier, and for not answering Detlef Steuer, Martin Maechler, and others that asked more direct questions to me. I am away from my office and my computer until the 16th of January. Just quick and partial answers: 1) I did not know about

Re: [R] lmer error message

2006-01-08 Thread Douglas Bates
Also, please try setting options(verbose = TRUE) immediately before your call to lmer. This will provide verbose output on the progress of the iterations and will probably give an indication of where the problem lies. On 1/7/06, Spencer Graves [EMAIL PROTECTED] wrote: I am not

Re: [R] Suggestion for big files [was: Re: A comment about R:]

2006-01-08 Thread François Pinard
[Brian Ripley] [François Pinard] [Brian Ripley] One problem [...] is that R's I/O is not line-oriented but stream-oriented. So selecting lines is not particularly easy in R. I understand that you mean random access to lines, instead of random selection of lines. That was not my point. [...]

Re: [R] lmer error message

2006-01-08 Thread Spencer Graves
Hi, Doug: Thanks. My copy of the 'lmer' documentation does not list the 'verbose' argument. Is this something you plan to discontinue or modify, or was it recently added to the script but not to the documentation I have? Also, I just tried it modifying one of the

Re: [R] lmer error message

2006-01-08 Thread Prof Brian Ripley
Spencer: It is an option, not an argument, and sets the default for the lmerControl arguments msVerbose and EMverbose (see ?lmer) options(verbose=TRUE) fm1 - lmer(Reaction ~ Days + (Days|Subject), sleepstudy) EM iterations 0 1768.412 ( 3.75000 106.875 0.0:3.210.174

[R] wicked wikis for R

2006-01-08 Thread Arin Basu
Message: 41 Date: Sun, 08 Jan 2006 13:52:33 +1100 From: paul sorenson [EMAIL PROTECTED] Subject: Re: [R] Wikis etc. To: Frank E Harrell Jr [EMAIL PROTECTED],r-help r-help@stat.math.ethz.ch Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Frank

[R] wicked wikis for R

2006-01-08 Thread Arin Basu
Message: 41 Date: Sun, 08 Jan 2006 13:52:33 +1100 From: paul sorenson [EMAIL PROTECTED] Subject: Re: [R] Wikis etc. To: Frank E Harrell Jr [EMAIL PROTECTED],r-help r-help@stat.math.ethz.ch Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Frank

Re: [R] Suggestion for big files [was: Re: A comment about R:]

2006-01-08 Thread François Pinard
[Martin Maechler] FrPi Suppose the file (or tape) holds N records (N is not known FrPi in advance), from which we want a sample of M records at FrPi most. [...] If the algorithm is carefully designed, when FrPi the last (N'th) record of the file will have been processed FrPi

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-08 Thread Evgeniy Kachalin
Uwe Ligges пишет: Evgeniy Kachalin wrote: Hello, dear participants! Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend. Now i can guess only that way:

[R] Wikis etc.

2006-01-08 Thread Jack Tanner
Philippe's idea to start a wiki that grows out of the content on http://zoonek2.free.fr/UNIX/48_R/all.html is really great. Here's why. My hypothesis is that the basic reason that people ask questions on R-help rather than first looking elsewhere is that looking elsewhere doesn't get them the

Re: [R] Finding R mailing list archives {was Wikis etc.}

2006-01-08 Thread zzz haha
I really wonder if adding yet another URL to the footer of every message will be the solution; as others have correctly remarked, the problem is that for many newbies it is more convenient to ask rather than to first read something that contains more than three words. ;-) hahaha. the balance

Re: [R] maptools, write.polylistShape

2006-01-08 Thread Roger Bivand
On Sat, 7 Jan 2006, Patrick Giraudoux wrote: Dear Roger, I am trying to use the write.polylistShape() function of maptools for the first time and realize that it handles list of polygons of class 'polylist'. However, it seems that no as.polylist() function exist in the package. The

[R] How to unload a package or undo library(package)

2006-01-08 Thread Aleš Žiberna
Hello! I would like to unload a package form a current R session. I tried datach(package:packagename), however it does not work. The reason I want to unload it is that I want to correct some files in the package and reinstall it without closing an R session. Best, Ales Ziberna PS: I am using R

Re: [R] How to unload a package or undo library(package)

2006-01-08 Thread Gabor Grothendieck
Here are some things to try: detach() - detach most recent attached package detach(2) - detach package which is in position 2 on search list. Same as detach() detach(package:mypackage) - mypackage from search list search() - display search list On 1/8/06, Aleš Žiberna [EMAIL PROTECTED] wrote:

Re: [R] Suggestion for big files [was: Re: A comment about R:]

2006-01-08 Thread hadley wickham
Thanks as well for these hints. Googling around as your suggested (yet keeping my eyes in the MySQL direction, because this is what we use), getting MySQL itself to do the selection is a bit discouraging, as according to comments I've read, MySQL does not seem to scale well with the database

Re: [R] lmer p-vales are sometimes too small

2006-01-08 Thread Douglas Bates
I have just uploaded version 0.99-6 of the Matrix package to the incoming area at CRAN. It should appear on the archives in the next day or two. In this version all degrees of freedom, test statistics and p-values have been removed from the summary, show and anova methods. I agree with John

Re: [R] Question about graphics in R

2006-01-08 Thread Jim Lemon
Martin Erwig wrote: Considering the R function/plot shown below, I wonder whether it is possible to do the following changes: (1) Change the color of each point to be picked from list of colors according to its z-value. (The range should be from blue (z=0) to red (z=1).) The grid should

Re: [R] repeat { readline() }

2006-01-08 Thread Henrik Bengtsson
Prof Brian Ripley wrote: On Sun, 8 Jan 2006, Prof Brian Ripley wrote: Ctrl-Break works: see the rw-FAQ and README.rterm. (You'll need a return to see a new prompt.) It is related to your reading directly from the console, so Ctrl-C is getting sent to the wrong place, I believe. (There's

Re: [R] Suggestion for big files [was: Re: A comment about R:]

2006-01-08 Thread François Pinard
[hadley wickham] [...] according to comments I've read, MySQL does not seem to scale well with the database size according to the comments I've read, especially when records have to be decorated with random numbers and later sorted. With SQL there is always a way to do what you want quickly,

Re: [R] Wikis for R

2006-01-08 Thread David Forrest
On Fri, 6 Jan 2006, Detlef Steuer wrote: ... Back to operating wikis:The wiki spamming is a serious problem, especially because I HATE to login to read or edit anything. So the choice is: take the wiki as seriously as work and have a look every other day to remove the spam (or better: form a

[R] Clustering and Rand Index - VS-KM

2006-01-08 Thread Mark Hempelmann
Dear WizaRds, I have been trying to compute the adjusted Rand index as by Hubert/ Arabie, and could not correctly approach how to define a partition object as in my last request yesterday. With package fpc I try to work around the problem, using my original data: mat - matrix(

Re: [R] A comment about R:

2006-01-08 Thread François Pinard
[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 methods vary between individuals, what I

Re: [R] Ordering boxplot factors; thank you!

2006-01-08 Thread Joseph LeBouton
Profs. Ripley and Schwartz, Thank you both very much for the suggestions! These are exactly what I was looking for. I'll re-read the boxplot help yet again; every time I read it something essential worms its way into my consciousness, but it enters more freely when I have a hint where to

Re: [R] Clustering and Rand Index - VS-KM

2006-01-08 Thread Ales Ziberna
You can comput the adjusted Rand with function classAgreement form package e1071: classAgreement(table(p1,p2))$crand You can also use cluster.stats(d=dist(t(mat)), clustering=p1, alt.clustering=p2) However in your code below, the orientation of mat is wrong (that's why there is a t() around the

[R] (sans objet)

2006-01-08 Thread PONSERO Alain
Dear R People: in the function loess, how can one add the weight of the points which is contained in the variable nbtotal Data : Nbtotal P_alim H_eau xyplot(P_alim ~ H_eau, auto.key = list(points = T, lines = F),data = data, type = c(p, smooth), span=.2, scales =

Re: [R] How to unload a package or undo library(package)

2006-01-08 Thread Ales Ziberna
If I do detach(package:blockmodeling) My package blockmodeling does not appear in (.packages()) [1] methods stats graphics grDevices utils datasets [7] base However, if I want to install a newer version from a local zip file, I get: utils:::menuInstallLocal() package

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-08 Thread Kyosti H Kurikka
Hi! Just use your factors for indexing c(15,16,17) and c(red,green,blue). So, with the iris data: with(iris, plot(Sepal.Length, Sepal.Width, pch=c(15,16,17)[as.integer(Species)], col=c(red,green,blue)[as.integer(Species)] )) Best regards, Kyosti Kurikka Evgeniy Kachalin wrote:

[R] paste tab and print

2006-01-08 Thread vincent
Dear all, info = paste('a', 'b', sep='\t') print(info , quote=F) doesn't produce the same result with R201 and R220 (under Windows2000) R 2.0.1 : [1] a b R 2.2.0 : [1] a\tb I did read the CHANGESR220 file and tried also the search engine but couldn't find an answer. I certainly missed the

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-08 Thread Uwe Ligges
Evgeniy Kachalin wrote: Uwe Ligges пишет: Evgeniy Kachalin wrote: Hello, dear participants! Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend. Now i can guess only that way:

Re: [R] Missing value representation in Excel before extraction to R with RODBC

2006-01-08 Thread Petr Pikal
Hi I believe it has something to do with the column identification decision. When R decides what is in a column it uses only some values from the beginning of a file. I do not use RODBC as read.delim(clipboard, ...) is usually more convenient but probably there is a way how to tell RODBC what