[R] Problem with nlme version 3.1-68

2006-01-05 Thread Bing T. Guan
Dear All: I updated my R program as well as associated packages yesterday. Currently my R version is 2.2.1 running under WINXP SP-2. When I tried to list (summary) an nlme object that I developed before, I got the following error message: [ Error in .C(ARMA_constCoef, as.integer(attr(object,

Re: [R] Difficulty with 'merge'

2006-01-05 Thread Christoph Buser
Dear Michael Please remark that merge calculates all possible combinations if you have repeated elements as you can see in the example below. ?merge ... If there is more than one match, all possible matches contribute one row each. ... Maybe you can apply aggregate in a reasonable way on your

Re: [R] .Rprofile files (was R newbie configuration)

2006-01-05 Thread Prof Brian Ripley
And here is one with a working setHook call. options(show.signif.stars=FALSE) setHook(packageEvent(grDevices, onLoad), function(...) grDevices::ps.options(horizontal=FALSE)) set.seed(1234) options(repos=c(CRAN=http://cran.uk.r-project.org;)) On Thu, 5 Jan 2006, Petr Pikal wrote: Hi

Re: [R] Problem with nlme version 3.1-68

2006-01-05 Thread Prof Brian Ripley
It's a bug. So nothing in the test suites uses this (nor any example in any package on CRAN, which were tested prior to release). Note that 3.1-68 is not the version of nlme which ships with R 2.2.1 (deliberately not introducing a new feature until after release). Look for 3.1-68.1 in due

Re: [R] problem with command line arguments

2006-01-05 Thread Uwe Ligges
madhurima bhattacharjee wrote: Hello Everybody, I am running a R script through a perl code from command line. The perl script is like: my $cmd= 'R CMD BATCH D:/try5.R'; system($cmd); I run the perl code from command line. Now I want to pass some command line arguments to the R

Re: [R] comparision and removal

2006-01-05 Thread Uwe Ligges
gynmeerut wrote: Dear All, I am using R and I am putting my problem in form of an example: X-c(128,34,153,987,345,45,3454,23,123) I want to remove the entries which are lesser than 100(? How to compare every element with 100 and how to create subsets ) and I need two vectors y and

Re: [R] Splitting the list

2006-01-05 Thread Heinz Tuechler
At 11:56 05.01.2006 +1100, John Maindonald wrote: I've changed the heading because this really is another thread. I think it inevitable that there will, in the course of time, be other lists that are devoted, in some shape or form, to the concerns of practitioners (at all levels) who are

Re: [R] A comment about R:

2006-01-05 Thread Jonathan Baron
On 01/04/06 11:04, Franois Pinard wrote: 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 (for one) would like to have is a fairly complete reference manual to the library. Of

Re: [R] A comment about R:

2006-01-05 Thread Philippe Grosjean
David Forrest wrote: [...] Any volunteers? Yes, me (well, partly...)! Here is what I propose: this is a very lengthy thread in R-Help, with many interesting ideas and suggestions. I fear that, as it happens too often, those nice ideas will be lost because of the support used: email! By

Re: [R] A comment about R:

2006-01-05 Thread François Pinard
[Jonathan Baron] [the current reference manual] is organised by library and, within each library, by function name: this organisation means that the manual is mainly used as a reference, or else, that it ought to be studied from cover to cover, dauntingly. I think that many search

Re: [R] A comment about R:

2006-01-05 Thread 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] A comment about R:

2006-01-05 Thread Robert Chung
Roger Bivand wrote: Gabor Grothendieck wrote: For example, consider this introductory session in Stata: http://www.stata.com/capabilities/session.html Could I ask for comments on: source(url(http://spatial.nhh.no/R/etc/capabilities.R;), echo=TRUE) as a reproduction of the Stata

Re: [R] Splitting the list

2006-01-05 Thread Florence Combes
I don't think splitting the list is a good idea, neither according to the level of questions (which will kill the beginners list), nor according to geographic boundaries. I totally agree with Heinz Tuechler's position : a (short) code on the sublect of the e-mail seems a good ideau if people feel

[R] problem with using lines command on windows XP machine

2006-01-05 Thread Edwin Commandeur
Hello, I'm using R version 2.2.0 installed on windows XP machine, with SP2 (maybe it's also interesting to note it's laptop, so it outputs to a laptop screen) a l and I wanted to draw a line in a graph, but it does not seem to work. To test it I use the following code: x = c(-1,0,1) y =

[R] problem in install kidpack package

2006-01-05 Thread Yufen
Dear Sir, I use the followoing command to install the library(kidpack). BTW I install Biobase already. install.packages(kidpack,type=source) However, there is an error message occurred as follows. library(kidpack) Error in library(kidpack) : 'kidpack' is not a valid package

Re: [R] problem with using lines command on windows XP machine

2006-01-05 Thread Dimitris Rizopoulos
I think you need abline(v = 0). I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web:

Re: [R] Splitting the list

2006-01-05 Thread Kjetil Halvorsen
On 1/5/06, John Maindonald [EMAIL PROTECTED] wrote: I've changed the heading because this really is another thread. I think it inevitable that there will, in the course of time, be other lists that are devoted, in some shape or form, to the concerns of practitioners (at all levels) who are

Re: [R] problem in install kidpack package

2006-01-05 Thread Uwe Ligges
Yufen wrote: Dear Sir, I use the followoing command to install the library(kidpack). BTW I install Biobase already. install.packages(kidpack,type=source) However, there is an error message occurred as follows. library(kidpack) Error in library(kidpack) : 'kidpack'

Re: [R] A comment about R:

2006-01-05 Thread ronggui
R's week when handling large data file. I has a data file : 807 vars, 118519 obs.and its CVS format. Stata can read it in in 2 minus,but In my PC,R almost can not handle. my pc's cpu 1.7G ;RAM 512M. -- Deparment of Sociology Fudan University __

[R] Fwd: Re: Splitting the list

2006-01-05 Thread ahimsa campos arceiz
Another possibi8lity, of course, is language-based lists. Any interest for r-spanish@ ...? Kjetil I am ready to contribute traducing original English texts into Spanish, but not to produce original ones (I'm too new with these matters). Ahimsa Ahimsa Campos Arceiz The University

[R] more on the daisy function

2006-01-05 Thread Adrian DUSA
Dear R-helpers, First of all, a happy new year to everyone! I succesfully used the daisy function (from package cluster) to find which two rows from a dataframe differ by only one value, and I now want to come up with a simpler way to find _which_ value makes the difference between any such

Re: [R] Wikis for R

2006-01-05 Thread Martin Maechler
PhGr == Philippe Grosjean [EMAIL PROTECTED] on Wed, 04 Jan 2006 20:35:17 +0100 writes: PhGr David Forrest wrote: [...] Any volunteers? PhGr Yes, me (well, partly...)! Here is what I propose: this is a very PhGr lengthy thread in R-Help, with many interesting ideas

Re: [R] A comment about R

2006-01-05 Thread Patrick Burns
John Maindonald wrote: ... (4) When should students start learning R? [Students should get their first exposure to a high-level programming language, in the style of R then Python or Octave, at age 11-14. There are now good alternatives to the former use of Fortran or Pascal, languages

[R] jointprior in deal package

2006-01-05 Thread Tim Smits
Dear all, I recently started using the deal package for learning Bayesian networks. When using the jointprior function on a particular dataset, I get the following message: tor.prior-jointprior(tor.nw) Error in array(1, Dim) : 'dim' specifies too large an array What is the problem? How can I

Re: [R] A comment about R:

2006-01-05 Thread Naji
Hi all, Roger thanks for the reproduction. As a user of Stata R, for common analysis I do use Stata and often, I have to adapt some computations or to do some complex hierarchical modeling and then I switch to R. For me switching from Stata (or other statistical software, SO) to R (or other

[R] jointprior in deal package

2006-01-05 Thread Tim Smits
Dear all, I recently started using the deal package for learning Bayesian networks. When using the jointprior function on a particular dataset, I get the following message: tor.prior-jointprior(tor.nw) Error in array(1, Dim) : 'dim' specifies too large an array What is the problem? How can I

Re: [R] A comment about R:

2006-01-05 Thread Ronnie Babigumira
As someone who has been using Stata for a while now (and I started without a programming background), I recently had to move to R because of the rich spatial packages. Here is my 0.001 cent to this thread. -WHAT I LOVE ABOUT STATA-- a) Total control In

Re: [R] problem with using lines command on windows XP machine

2006-01-05 Thread Petr Pikal
Hi On 5 Jan 2006 at 11:27, Edwin Commandeur wrote: From: Edwin Commandeur [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date sent: Thu, 5 Jan 2006 11:27:01 +0100 Subject:[R] problem with using lines command on windows XP

[R] Understanding and translating lme() into lmer() model

2006-01-05 Thread Petar Milin
I am newbie in R, trying to understand and compare syntax in nlme and lme4. lme() model from the nlme package I am interested in is: lme.m1.1 = lme(Y~A+B+C,random=~1|D/E,data=data,method=ML) (for simplicity reason, I am giving generic names of factors) If I understand well, there are three

[R] ylim problem in barplot

2006-01-05 Thread Bliese, Paul D LTC USAMH
R Version 2.2.0 Platform: Windows When I use barplot but select a ylim value greater than zero, the graph is distorted. The bars extend below the bottom of the graph. For instance the command produces a problematic graph. barplot(c(200,300,250,350),ylim=c(150,400)) Any help

Re: [R] A comment about R:

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
Peter Dalgaard writes: Patrick Burns [EMAIL PROTECTED] writes: whereas you could quite conceivably do it in R. (What *is* the equivalent of rnorm(25) in those languages, actually?) In SAS, it would go along the lines of: data randvec(drop=seed); seed = 459437845; do obs = 1 to

Re: [R] Understanding and translating lme() into lmer() model

2006-01-05 Thread Doran, Harold
Peter: Almost correct. You need to add the variance component for the highest level of nesting, so your model would be lmer.m1.1 = lmer(Y~A+B+C+(1|D:E) + (1|E), data=data,method=ML) But, yes, the : is used to note implicit nesting in lmer similar to the syntax used for / in lme. The syntax

Re: [R] Wikis for R

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
Martin Maechler writes: If you go to the bottom of that wikipedia page, you see that there is an R Wiki -- and has been for several years now (!) at a Hamburg (De) university. http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome (...) So, are you sure that another R Wiki is

Re: [R] A comment about R

2006-01-05 Thread Liaw, Andy
From: Patrick Burns John Maindonald wrote: ... (4) When should students start learning R? [Students should get their first exposure to a high-level programming language, in the style of R then Python or Octave, at age 11-14. There are now good alternatives to the former use

Re: [R] Splitting the list

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
Kjetil Halvorsen writes: Another possibi8lity, of course, is language-based lists. Any interest for r-spanish@ ...? Kjetil Since you´ve mentioned the topic, anyone reading this thread knows of currently active R language-based lists? I am a member of R_STAT, an R list for

Re: [R] ylim problem in barplot

2006-01-05 Thread Marc Schwartz
On Thu, 2006-01-05 at 14:01 +0100, Bliese, Paul D LTC USAMH wrote: R Version 2.2.0 Platform: Windows When I use barplot but select a ylim value greater than zero, the graph is distorted. The bars extend below the bottom of the graph. For instance the command produces a problematic

Re: [R] ylim problem in barplot

2006-01-05 Thread Ben Bolker
Bliese, Paul D LTC USAMH paul.bliese at us.army.mil writes: R Version 2.2.0 Platform: Windows When I use barplot but select a ylim value greater than zero, the graph is distorted. The bars extend below the bottom of the graph. The problem is that barplot() is really designed to

Re: [R] problem with using lines command on windows XP machine

2006-01-05 Thread Edwin Commandeur
Hi Petr and Eric, Thanks for your comments. To plot a vertical line, using lines(0) does not work, but lines(c(-1,0),c(0,1)) does the work in my simple test example. I just interpreted the ?lines documentation wrong. So the lines command does work on my pc. Off course abline(v=0) will also do

Re: [R] ylim problem in barplot

2006-01-05 Thread Ben Bolker
Ben Bolker bolker at ufl.edu writes: Bliese, Paul D LTC USAMH paul.bliese at us.army.mil writes: R Version 2.2.0 Platform: Windows When I use barplot but select a ylim value greater than zero, the graph is distorted. The bars extend below the bottom of the graph.

Re: [R] ylim problem in barplot

2006-01-05 Thread Martin Maechler
PaulB == Bliese, Paul D LTC USAMH [EMAIL PROTECTED] on Thu, 5 Jan 2006 14:01:17 +0100 writes: PaulB R Version 2.2.0 PaulB Platform: Windows PaulB When I use barplot but select a ylim value greater PaulB than zero, the graph is distorted. The bars extend PaulB below

Re: [R] .Rprofile files (was R newbie configuration)

2006-01-05 Thread Mark Leeds
Thanks a lot. setHook is Currently not in my knowledge set But it's great to save these Thing so I can look them up When I feel more comfortable. Just to add to that Stata versus R discussion : I believe, anyone who uses any other package than R, is probably missing out in the long run. It's

Re: [R] problem with using lines command on windows XP machine

2006-01-05 Thread Liaw, Andy
lines() connects the `dots' given. If you want straight lines spanning the entire graph, you are better off with abline(). Andy From: Edwin Commandeur Hi Petr and Eric, Thanks for your comments. To plot a vertical line, using lines(0) does not work, but lines(c(-1,0),c(0,1)) does

[R] e1071::SVM calculate distance to separating hyperplane

2006-01-05 Thread David Meyer
predict.svm() can give you the decision values which are the distances you are looking for (up to a scaling constant). Regards, David Hi, I know this question has been posed before, but I didnt find the answer in the R-help archive, so please accept my sincere apologies for being repetitive:

Re: [R] A comment about R

2006-01-05 Thread Gabor Grothendieck
On 1/5/06, Liaw, Andy [EMAIL PROTECTED] wrote: From: Patrick Burns John Maindonald wrote: ... (4) When should students start learning R? [Students should get their first exposure to a high-level programming language, in the style of R then Python or Octave, at age 11-14.

Re: [R] Wald tests and Huberized variances (was: A comment about R:)

2006-01-05 Thread Achim Zeileis
On Wed, 4 Jan 2006, Peter Muhlberger wrote: One comment in advance: please use a more meaningful subject. I would have missed this mail if a colleague hadn't pointed me to it. I'm someone who from time to time comes to R to do applied stats for social science research. [snip] I would also

[R] about terminate an identification

2006-01-05 Thread Zhesi He
Dear all, I'm now working on some programming on interactive displays from R. So I'm creating an R display and want some interactive selection to be available. I know ggobi and things like that, but it doesn't cope with dendrogram. So, if I go back to R graphics, as far as I know, -- For the

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

2006-01-05 Thread François Pinard
[ronggui] R's week when handling large data file. I has a data file : 807 vars, 118519 obs.and its CVS format. Stata can read it in in 2 minus,but In my PC,R almost can not handle. my pc's cpu 1.7G ;RAM 512M. Just (another) thought. I used to use SPSS, many, many years ago, on CDC machines,

Re: [R] A comment about R:

2006-01-05 Thread Detlef Steuer
Only or the record: There is a wiki for R in general, used by only but a few people, annouced here some year(s) ago: http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl The question is: one or more wikis? Detlef On Wed, 04 Jan 2006 20:35:17 +0100 Philippe Grosjean [EMAIL PROTECTED] wrote: David

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

2006-01-05 Thread Kort, Eric
-Original Message- [ronggui] R's week when handling large data file. I has a data file : 807 vars, 118519 obs.and its CVS format. Stata can read it in in 2 minus,but In my PC,R almost can not handle. my pc's cpu 1.7G ;RAM 512M. Just (another) thought. I used to use SPSS,

Re: [R] A comment about R:

2006-01-05 Thread John Fox
Dear Peter, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Muhlberger Sent: Wednesday, January 04, 2006 2:43 PM To: rhelp Subject: [R] A comment about R: . . . Ex. 1) Wald tests of linear hypotheses after max. likelihood or even

Re: [R] A comment about R:

2006-01-05 Thread Achim Zeileis
As John and myself seem to have written our replies in parallel, hence I added some more clarifying remarks in this mail: Note that the Anova() function, also in car, can more conveniently compute Wald tests for certain kinds of hypotheses. More generally, however, I'd be interested in your

[R] what can I do to make the lines straight

2006-01-05 Thread Lisa Wang
Hello there, I did a few graphics but only one looks like the attached. Why the line is not straight and how I can fix it? thank you very much Lisa Wang Princess Margaret Hospital Toronto, Canada__ R-help@stat.math.ethz.ch mailing list

Re: [R] A comment about R

2006-01-05 Thread Gregory Snow
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liaw, Andy Sent: Thursday, January 05, 2006 6:26 AM To: 'Patrick Burns'; John Maindonald Cc: r-help@stat.math.ethz.ch Subject: Re: [R] A comment about R [snip] Any suggestion on how to go about

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

2006-01-05 Thread Prof Brian Ripley
Another possibility is to make use of the several DBMS interfaces already available for R. It is very easy to pull in a sample from one of those, and surely keeping such large data files as ASCII not good practice. One problem with Francois Pinard's suggestion (the credit has got lost) is

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

2006-01-05 Thread jim holtman
If what you are reading in is numeric data, then it would require (807 * 118519 * 8) 760MB just to store a single copy of the object -- more memory than you have on your computer. If you were reading it in, then the problem is the paging that was occurring. You have to look at storing this in a

Re: [R] A comment about R:

2006-01-05 Thread Frank E Harrell Jr
John Fox wrote: Dear Peter, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Muhlberger Sent: Wednesday, January 04, 2006 2:43 PM To: rhelp Subject: [R] A comment about R: . . . Ex. 1) Wald tests of linear hypotheses after max.

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

2006-01-05 Thread ronggui
2006/1/6, jim holtman [EMAIL PROTECTED]: If what you are reading in is numeric data, then it would require (807 * 118519 * 8) 760MB just to store a single copy of the object -- more memory than you have on your computer. If you were reading it in, then the problem is the paging that was

Re: [R] Replacing backslashes with slashes

2006-01-05 Thread Duncan Golicher
It is often convenient to quickly set the working directory to a path copied onto the windows clipboard. A simple trick I have been using for a while is along the lines given in the previous posts. setwd.clip-function() { options(warn=-1) setwd(gsub(,/,readLines(clipboard)))

Re: [R] ylim problem in barplot

2006-01-05 Thread Robert Baer
PaulB When I use barplot but select a ylim value greater PaulB than zero, the graph is distorted. The bars extend PaulB below the bottom of the graph. PaulB For instance the command produces a problematic graph. PaulB barplot(c(200,300,250,350),ylim=c(150,400)) Well, my

Re: [R] A comment about R:

2006-01-05 Thread Peter Muhlberger
On 1/5/06 11:27 AM, Achim Zeileis [EMAIL PROTECTED] wrote: As John and myself seem to have written our replies in parallel, hence I added some more clarifying remarks in this mail: Note that the Anova() function, also in car, can more conveniently compute Wald tests for certain kinds of

Re: [R] ylim problem in barplot

2006-01-05 Thread Ben Bolker
Robert Baer rbaer at atsu.edu writes: Well, consider this example: barplot(c(-200,300,-250,350),ylim=c(-99,400)) It seems that barplot uses ylim and pretty to decide things about the axis but does some slightly unexpected things with the bars themselves that are not just at the 'zero' end

Re: [R] Setting the working directory on Windows

2006-01-05 Thread Duncan Murdoch
On 1/5/2006 2:11 PM, Berton Gunter wrote: In a similar vein, a GUI version is: setwd(dirname(choose.files())) This gives you a standard Windows file browser -- you just click on any file in the directory you want to set. Obviously, dirname(choose.files()) is an easy interactive way to get

Re: [R] Memory limitation in GeoR - Windows or R?

2006-01-05 Thread Patrick Giraudoux
Dear Aaron, I am really a tool user and not a tool maker (actually an ecologist doing some biostatistics)... so, I take the liberty of sending a copy of this e-mail to the r-help list where capable computer persons and true statisticians may provide more relevant information and also to Paulo

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

2006-01-05 Thread bogdan romocea
ronggui wrote: If i am familiar with database software, using database (and R) is the best choice,but convert the file into database format is not an easy job for me. Good working knowledge of a DBMS is almost invaluable when it comes to working with very large data sets. In addition, learning

[R] Generic Functions

2006-01-05 Thread Elizabeth Purdom
Hi, I've been using the package graph in the BioConductor assortment and writing some functions based on its classes. My question is not specific to this package or BioConductor (I think), but it serves as a useful example. I recently wanted to look at the code for the function edgeMatrix for

Re: [R] Wald tests and Huberized variances (was: A comment about R:)

2006-01-05 Thread Peter Muhlberger
Thanks Z, it's coming more into focus. I don't know what would work, though maybe it's not impossible to have a richer set of cross-references by interest area--e.g. People interested in econometrics may wish to examine The views help in this regard, tho something in help itself would be

Re: [R] How to create a correlation table for categorical data???

2006-01-05 Thread Michael Dewey
At 19:07 04/01/06, fabio crepaldi wrote: Hi, I need to create the correlation table of a set of categorical data (sex, marital_status, car_type, etc.) for a given population. Basically what I'm looking for is a function like cor( ) working on factors (and, if possible, considering NAs as

[R] How do I get sub to insert a single backslash?

2006-01-05 Thread Michael Dewey
Something about the way R processes backslashes is defeating me. Perhaps this is because I have only just started using R for text processing. I would like to change occurrences of the ampersand into ampersand preceded by a backslash. temp - R D sub(, \, temp) [1] R D sub(, \\, temp)

Re: [R] How do I get sub to insert a single backslash?

2006-01-05 Thread Peter Dalgaard
Michael Dewey [EMAIL PROTECTED] writes: Something about the way R processes backslashes is defeating me. Perhaps this is because I have only just started using R for text processing. I would like to change occurrences of the ampersand into ampersand preceded by a backslash. temp - R

Re: [R] Generic Functions

2006-01-05 Thread Berton Gunter
Briefly, S4 classes and methods are entirely different -- and often do not comfortably coexist with -- the older S3 class/method system (which really isn't, since the classes of the objects aren't really guaranteed as one would expect). Probably the best place to learn about S4 is The Green Book

Re: [R] Wald tests and Huberized variances (was: A comment about R:)

2006-01-05 Thread bogdan romocea
Peter Muhlberger wrote: But, there is a second point here, which is how difficult it was for me [...] to find what seem to me like standard key features I've taken for granted in other packages. There is another side to this. Don't consider only how difficult it was to find what you were

Re: [R] Memory limitation in GeoR - Windows or R?

2006-01-05 Thread Patrick Giraudoux
Thanks a lot Jim. Forwarded to Aaron (who rised the question) and the R-help list... Patrick jim holtman a écrit : The size matrix you are allocating (18227 x 18227) would require 2.6GB of memory and that is what the error message is saying that you only have 0.5GB (512MB) available.

[R] convert matrix to data frame

2006-01-05 Thread Chia, Yen Lin
Hi all, Suppose I have a 4 x 2 matrix A and I want to select the values in second column such that the value in first column equals to k. I gave the colnames as alpha beta, so I was trying to access the info using A$beta[A[,1]==k], however, I was told it's not a data frame, I can get

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

2006-01-05 Thread Neuro LeSuperHéros
Rongui, I'm not familiar with SQLite, but using MySQL would solve your problem. MySQL has a LOAD DATA INFILE statement that loads text/csv files rapidly. In R, assuming a test table exists in MySQL (blank table is fine), something like this would load the data directly in MySQL. library(DBI)

[R] Wikis etc.

2006-01-05 Thread Frank E Harrell Jr
I feel that as long as people continue to provide help on r-help wikis will not be successful. I think we need to move to a central wiki or discussion board and to move away from e-mail. People are extremely helpful but e-mail seems to be to always be memory-less and messages get too long

Re: [R] Looking for packages to do Feature Selection and Classification

2006-01-05 Thread Diaz.Ramon
Thanks for the reference, it looks very interesting. Best, R. -Original Message- From: Weiwei Shi [mailto:[EMAIL PROTECTED] Sent: Thu 1/5/2006 9:01 PM To: Diaz.Ramon Cc: Frank Duan; r-help Subject:Re: [R] Looking for packages to do Feature Selection and

Re: [R] Wikis etc.

2006-01-05 Thread Kevin E. Thorpe
Frank makes an intersting point. For those interested, A site I spend quite a bit of time on for Linux related stuff is IMHO really well done. There are fora for many different linux distrubtions. There is a wiki, a collection of tutorials, etc. If you want to take a look, the url is

[R] Ordering boxplot factors

2006-01-05 Thread Joseph LeBouton
Hi all, what a great help list! I hope someone can help me with this puzzle... I'm trying to find a simple way to do: boxplot(obs~factor) so that the factors are ordered left-to-right along the x-axis by median, not alphabetically by factor name. Complicated ways abound, but I'm hoping for a

Re: [R] Ordering boxplot factors

2006-01-05 Thread Marc Schwartz
On Thu, 2006-01-05 at 20:27 -0600, Joseph LeBouton wrote: Hi all, what a great help list! I hope someone can help me with this puzzle... I'm trying to find a simple way to do: boxplot(obs~factor) so that the factors are ordered left-to-right along the x-axis by median, not

Re: [R] A comment about R:

2006-01-05 Thread Leif Kirschenbaum
A few thoughts about R vs SAS: I started learning SAS 8 years ago at IBM, I believe it was version 6.10. I started with R 7 months ago. Learning curve: I think I can do everything in R after 7 months that I could do in SAS after about 4 years. Bugs: I suffered through several SAS version

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

2006-01-05 Thread François Pinard
[Brian Ripley] I rather thought that using a DBMS was standard practice in the R community for those using large datasets: it gets discussed rather often. Indeed. (I tried RMySQL even before speaking of R to my co-workers.) Another possibility is to make use of the several DBMS interfaces

Re: [R] A comment about R:

2006-01-05 Thread Frank E Harrell Jr
Leif Kirschenbaum wrote: A few thoughts about R vs SAS: I started learning SAS 8 years ago at IBM, I believe it was version 6.10. I started with R 7 months ago. Learning curve: I think I can do everything in R after 7 months that I could do in SAS after about 4 years. Bugs: I

Re: [R] A comment about R:

2006-01-05 Thread Frank E Harrell Jr
Leif Kirschenbaum wrote: A few thoughts about R vs SAS: I started learning SAS 8 years ago at IBM, I believe it was version 6.10. I started with R 7 months ago. Learning curve: I think I can do everything in R after 7 months that I could do in SAS after about 4 years. Bugs: I

Re: [R] convert matrix to data frame

2006-01-05 Thread Petr Pikal
Hi On 5 Jan 2006 at 15:11, Chia, Yen Lin wrote: Date sent: Thu, 5 Jan 2006 15:11:18 -0800 From: Chia, Yen Lin [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:[R] convert matrix to data frame Hi all, Suppose I have

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

2006-01-05 Thread hadley wickham
Selecting a sample is easy. Yet, I'm not aware of any SQL device for easily selecting a _random_ sample of the records of a given table. On the other hand, I'm no SQL specialist, others might know better. There are a number of such devices, which tend to be rather SQL variant specific. Try

Re: [R] A comment about R:

2006-01-05 Thread J Dougherty
On Thursday 05 January 2006 12:13, Achim Zeileis wrote: . . . snip Whether you find this simple or not depends on what you might want to have. Personally, I always find it very limiting if I've only got a switch to choose one or another vcov matrix when there is a multitude of vcov matrices