Re: [R] problem installing Rpmi : mpi.h...Found in /usr/include/lam, yet libmpi

2007-09-15 Thread Ndoye Souleymane
Dear Mr Ripley, Dear all, Could you please help me to find an appropriate rpm package to install on RED HAT LINUX ENTERPRISE 5. I have experienced trouble in invoking R with R-2.5.1-1.fc7.i386.rpm. It strats normaly and then it exit me to the prompt like shown below: How to cope with this

[R] HTML reading,

2007-09-15 Thread christophe vuadens
Hello, Sorry for my english, in a R function, I want to read HTML files to analyse the text. Do somebody now, how can i read the text only in txt Foirmat... Thanks -- View this message in context: http://www.nabble.com/HTML-reading%2C-tf4447190.html#a12688719 Sent from the R help mailing

Re: [R] HTML reading,

2007-09-15 Thread Armin Goralczyk
On 9/15/07, christophe vuadens [EMAIL PROTECTED] wrote: Hello, Sorry for my english, in a R function, I want to read HTML files to analyse the text. Do somebody now, how can i read the text only in txt Foirmat... Thanks -- Have a look at this: http://gking.harvard.edu/readme/ I don't

Re: [R] RPM package for Linux RED HAT ENTERPRISE 5

2007-09-15 Thread Prof Brian Ripley
See http://cran.r-project.org/bin/linux/redhat/el5/i386/ The ReadMe there says they should work on RHEL5. I've not used RHEL5, but have a little experience with Centos5, where R builds from the tarball without any problems at all. On Sat, 15 Sep 2007, Ndoye Souleymane wrote: Dear Mr Ripley,

[R] how to change print limit on screen

2007-09-15 Thread Abu Naser
Hi all user, Is there any way i can chage the print limit ( getOption(max.print)) to unlimited or specified limit? Thanks in advance _ Feel like a local wherever you go. __

[R] starting with a capital letter

2007-09-15 Thread kevinchang
Hi everyone, I am wondering if there is any built-in funcion that can determine whether words in a character vector start with a captial letter or not. Help, please. Thanks. -- View this message in context: http://www.nabble.com/starting-with-a-capital-letter-tf4447302.html#a12689105 Sent from

Re: [R] starting with a capital letter

2007-09-15 Thread mel
kevinchang a écrit : I am wondering if there is any built-in funcion that can determine whether words in a character vector start with a captial letter or not. Help, please. Thanks. DIY with tolower(). apply tolower() on 1st letter and compare. __

Re: [R] starting with a capital letter

2007-09-15 Thread Ted Harding
On 15-Sep-07 10:21:19, kevinchang wrote: Hi everyone, I am wondering if there is any built-in funcion that can determine whether words in a character vector start with a captial letter or not. Help, please. Thanks. Something like: C-c(Abc, aBc, abC) for(i in (1:length(C))){

Re: [R] HTML reading,

2007-09-15 Thread Gabor Grothendieck
Check out: https://stat.ethz.ch/pipermail/r-help/2007-August/137742.html On 9/15/07, christophe vuadens [EMAIL PROTECTED] wrote: Hello, Sorry for my english, in a R function, I want to read HTML files to analyse the text. Do somebody now, how can i read the text only in txt Foirmat...

[R] Class probabilities in rpart

2007-09-15 Thread Christian Schäfer
Hi, the predict.rpart() function from the rpart library allows for calculating the class probabilities for a given test case instead of a discrete class label. How are these class probabilities derived? Is it simply the proportion of the majority class to all cases in a leaf node? Thanks in

[R] Storing Variables of different types

2007-09-15 Thread Garavito,Fabian
Hi there, I have an ixjxk array where I want to store dates in the first column of all sub-matrices (i.e. j=1 is a column with dates) and real numbers in the rest of the columns...I have been trying many things, but I am not getting anywhere. Thank you very much for your help, Fabian

[R] generate ROC curve using randomForest package

2007-09-15 Thread L L
Hi, I am new here. I would like to compare the performance of the random forest model with support vector machine. Can anybody let me know how to generate a ROC curve for random forest model since there is no need to run the cross-validation. Thank you very much! TL

[R] Survival model (time to event data)

2007-09-15 Thread Daniel Malter
High all, I would appreciate input about how the following survival model can be modeled in R and how competing risk models can generally be modeled. Also I would appreciate hints about resources that you are aware of that explain the use of survival models in R in greater detail. The data

Re: [R] generate ROC curve using randomForest package

2007-09-15 Thread Christian Schäfer
L L wrote: I am new here. I would like to compare the performance of the random forest model with support vector machine. Can anybody let me know how to generate a ROC curve for random forest model since there is no need to run the cross-validation. Thank you very much! The ROCR package

Re: [R] Storing Variables of different types

2007-09-15 Thread mel
Garavito,Fabian a écrit : Hi there, I have an ixjxk array where I want to store dates in the first column of all sub-matrices (i.e. j=1 is a column with dates) and real numbers in the rest of the columns...I have been trying many things, but I am not getting anywhere. Thank you very

Re: [R] how to change print limit on screen

2007-09-15 Thread jim holtman
?options options(max.print=10) 1:10 [1] 1 2 3 4 5 6 7 8 9 10 [ reached getOption(max.print) -- omitted 0 entries ]] On 9/15/07, Abu Naser [EMAIL PROTECTED] wrote: Hi all user, Is there any way i can chage the print limit ( getOption(max.print)) to unlimited or

[R] applying math/stat functions to rows in data frame

2007-09-15 Thread Gerard Smits
Hi All, There are a variety of functions that can be applied to a variable (column) in a data frame: mean, min, max, sd, range, IQR, etc. I am aware of only two that work on the rows, using q1-q3 as example variables: rowMeans(cbind(q1,q2,q3),na.rm=T) #mean of multiple variables rowSums

Re: [R] applying math/stat functions to rows in data frame

2007-09-15 Thread Robert A LaBudde
At 12:02 PM 9/15/2007, Gerald wrote: Hi All, There are a variety of functions that can be applied to a variable (column) in a data frame: mean, min, max, sd, range, IQR, etc. I am aware of only two that work on the rows, using q1-q3 as example variables: rowMeans(cbind(q1,q2,q3),na.rm=T)

[R] Help with a problem

2007-09-15 Thread Letticia Ramlal
Hello I was wonderinf if anyone can help me with this problem, it seems trivial but for some reason I can not figure it out. With a single R command complete the following: create a vector calles seqvec that repeats the sequence 1, 3,6, 10,15,21.( I was trying to use c() but this does not

Re: [R] Help with a problem

2007-09-15 Thread Marc Schwartz
On Sat, 2007-09-15 at 12:11 -0400, Letticia Ramlal wrote: Hello I was wonderinf if anyone can help me with this problem, it seems trivial but for some reason I can not figure it out. With a single R command complete the following: create a vector calles seqvec that repeats the sequence

[R] Pulling out parts of a generated array in R

2007-09-15 Thread Wayne Aldo Gavioli
Hello all, I was wondering if it was possible to pull out certain parts of an array in R - not an array of data that I have created, but an array of data that has been spit out by R itself. More specifically, in the lines of code below: summary(prcomp(USArrests)) Importance of components:

Re: [R] Pulling out parts of a generated array in R

2007-09-15 Thread Uwe Ligges
Wayne Aldo Gavioli wrote: Hello all, I was wondering if it was possible to pull out certain parts of an array in R - not an array of data that I have created, but an array of data that has been spit out by R itself. More specifically, in the lines of code below:

Re: [R] applying math/stat functions to rows in data frame

2007-09-15 Thread Marc Schwartz
On Sat, 2007-09-15 at 09:02 -0700, Gerard Smits wrote: Hi All, There are a variety of functions that can be applied to a variable (column) in a data frame: mean, min, max, sd, range, IQR, etc. I am aware of only two that work on the rows, using q1-q3 as example variables:

Re: [R] applying math/stat functions to rows in data frame

2007-09-15 Thread Gavin Simpson
On Sat, 2007-09-15 at 09:02 -0700, Gerard Smits wrote: Hi All, There are a variety of functions that can be applied to a variable (column) in a data frame: mean, min, max, sd, range, IQR, etc. But one their own, these are not equivalents to rowMeans, rowSums etc below. I am aware of

Re: [R] Help with a problem

2007-09-15 Thread Gavin Simpson
On Sat, 2007-09-15 at 12:11 -0400, Letticia Ramlal wrote: Hello I was wonderinf if anyone can help me with this problem, it seems trivial but for some reason I can not figure it out. With a single R command complete the following: create a vector calles seqvec that repeats the sequence 1,

Re: [R] starting with a capital letter

2007-09-15 Thread Charles C. Berry
On Sat, 15 Sep 2007, kevinchang wrote: Hi everyone, I am wondering if there is any built-in funcion that can determine whether words in a character vector start with a captial letter or not. Help, please. Thanks. Yes. But your query is not precise. See the posting guide and provide

[R] Question about VarSelRF

2007-09-15 Thread ssls sddd
Dear list members, I am analyzing Affymentrix gene expression data and would like to apply the R package, VarSelRF to identifying small sets of genes that could be used for diagnostic purpose. Basically, the data matrix is composed of 22277 rows (genes) and 65 columns (samples). I did

[R] naming columns of data frame

2007-09-15 Thread kevinchang
Hey, I am trying to make a data frame and the name of a column is composed of a number, a dot, and a word, such as 1.whatever. But I always get this error message:syntax error, unexpected SYMBOL, expecting ',' in: while printing data frame out . When I rename the column with purely letter,

Re: [R] naming columns of data frame

2007-09-15 Thread Henrique Dallazuanna
Try this: df - data.frame('1.test'=rnorm(100), '2.test'=runif(100), check.names=F) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 15/09/2007, kevinchang [EMAIL PROTECTED] wrote: Hey, I am trying to make a data frame and the name of a column is composed of a

Re: [R] my previous message: Memory Management

2007-09-15 Thread tkobayas
Hi, I obviously did not include the subject title. I am looking for memory management on a 64 bit machine. Thank you. TK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] (no subject)

2007-09-15 Thread jim holtman
When you say you can not import 4.8GB, is this the size of the text file that you are reading in? If so, what is the structure of the file? How are you reading in the file ('read.table', 'scan', etc). Do you really need all the data or can you work with a portion at a time? If so, then

Re: [R] Memory management

2007-09-15 Thread Takatsugu Kobayashi
Hi, I apologize again for posting something not suitable on this list. Basically, it sounds like I should go put this large dataset into a database... The dataset I have had trouble with is the transportation network of Chicago Consolidated Metropolitan Statistical Area. The number of samples

Re: [R] Memory management

2007-09-15 Thread jim holtman
If you data file has 49M rows and 249 columns, then if each column had 5 characters, then you are looking at a text file with 60GB. If these were all numerics (8 bytes per number), then you are looking at an R object that would be almost 100GB. If this is your data, then this is definitely a