FAQ

Search Discussions

896 discussions - 2,978 posts

  • Hi, I am having real problems downloading the package 'QRMlib'. The tar.gz file is shown here: http://cran.r-project.org/src/contrib/Archive/QRMlib/ I have downloaded this to my local folder and ...
    DT54321DT54321
    Feb 27, 2012 at 5:07 pm
    Feb 29, 2012 at 3:44 pm
  • Dear All, I have difficulty in installing the package of Rcplex. Its description web is at http://cran.r-project.org/web/packages/Rcplex/index.html First, I tried ...
    Zheng weiZheng wei
    Feb 19, 2012 at 10:13 pm
    Feb 28, 2012 at 7:00 pm
  • a b 1 1 4 2 2 5 3 3 6 a b 1 1 4 2 2 5 3 3 6 clearly a is a _copy_ of its namesake column in zz. when was the copy made? when a was modified? at assignment? is there a way to find out how much memory ...
    Sam SteingoldSam Steingold
    Feb 9, 2012 at 10:17 pm
    Feb 29, 2012 at 9:47 pm
  • Hi all, I am having difficulties to understand how R sort strings: If I do R) sort(c("X.","X0B")) [1] "X." "X0B" So for me, as far as lexicographic order is concerned I can add whatever to the end, ...
    Statquant2Statquant2
    Feb 20, 2012 at 10:18 am
    Feb 20, 2012 at 5:16 pm
  • Hi All, I've been trawling through the documentation and listserv archives on this topic -- but as yet have not found a solution. I'm sure this is pretty simple with R, but I cannot work out how ...
    Redding, MatthewRedding, Matthew
    Feb 15, 2012 at 4:17 am
    Feb 16, 2012 at 9:51 am
  • Unfortunately, some data I need to work with was delivered in a rather messy Excel file. I want to import into R and clean up some things so that I can do my analysis. Pulling in a CSV from Excel is ...
    Noah SilvermanNoah Silverman
    Feb 28, 2012 at 9:27 pm
    Mar 4, 2012 at 1:40 am
  • Dear list, n00b question, but still can't find any easy answer. Here is a df: x y 1 AA 1 2 BB 2 3 CC 3 4 AA 4 I want to modify this df this way : if df$x=="AA" then df$y=df$y*10 if df$x=="BB" then ...
    Arnaud GabouryArnaud Gaboury
    Feb 24, 2012 at 3:25 pm
    Feb 24, 2012 at 5:58 pm
  • Hello! I'm trying to build a lower triangular matrix (with zeros in the diagonal) from a particular dataframe. The matrix I have to construct has 203 rows and 203 columns and that makes 20503 values ...
    NymphitaNymphita
    Feb 15, 2012 at 3:33 pm
    Feb 16, 2012 at 8:54 pm
  • Hi All, I have a very (very) large tab-delimited text file without headers. There are only 8 columns and millions of rows. I want to make numerous pieces of this file by sub-setting it for individual ...
    HCHC
    Feb 2, 2012 at 4:57 am
    Feb 4, 2012 at 8:15 pm
  • I have been working with the pls procedure and have problems getting the procedure to work with matrix or frame data. I suspect the problem lies in my understanding of frames, but can't find anything ...
    WestlandWestland
    Feb 21, 2012 at 2:28 am
    Mar 5, 2012 at 10:23 am
  • I've been trying to get some data from the National Survey for Family Growth into R - however, the data is in a .dat file and the data I need doesn't have any spaces or commas separating fields - ...
    BarnyBarny
    Feb 9, 2012 at 8:51 pm
    Feb 14, 2012 at 4:05 am
  • Hi all, in particular package developers, I'm exploring using a version control system to keep better track of changes to the packages I maintain. I'm leaning towards git (although mercurial also ...
    Peter LangfelderPeter Langfelder
    Feb 8, 2012 at 11:01 pm
    Feb 10, 2012 at 8:11 am
  • I have a data.frame named "df". The dput of df is at the bottom of this e-mail. What I'd like to do is replace the "n/a " values with NA. On Mac OSX, it works to do this: df[df == "n/a"] <- NA ...
    G SeeG See
    Feb 3, 2012 at 3:25 pm
    Feb 3, 2012 at 10:59 pm
  • I want to right-justify a vector of numbers in the right margin of a low-level plot. For this I need to compute the line parameter to give to mtext. Is this the correct scalable calculation? ...
    Frank HarrellFrank Harrell
    Feb 29, 2012 at 1:48 pm
    Mar 4, 2012 at 3:28 am
  • Hi, all, I am currently trying to learn this example. http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ I created the stack bar easily. If I would like to rank the stack bar from the highest ...
    Vd3000Vd3000
    Feb 15, 2012 at 4:34 pm
    Feb 21, 2012 at 11:49 am
  • Suppose I create an R program called myTest.R with only one line like the following: type <- as.integer(readline("input type (1: type1; 2: type2)? ")) Then I'd like to run myTest.R in batch mode by ...
    Gang ChenGang Chen
    Feb 7, 2012 at 11:05 pm
    Feb 9, 2012 at 5:42 pm
  • Hi R users, is there any possibilty that a while loop is working like that: z <- c(0,1,2,3,4,5,6,7,8,9) r <- 7 while(w == T) { for ( i in 1:10 ){ w <- r == z[i] print(w) } } The loop should stop if w ...
    Chris82Chris82
    Feb 1, 2012 at 3:55 pm
    Feb 2, 2012 at 2:20 pm
  • Hi, Does anybody know why get I this kind of strange situation: Browse[2] hcEnd [1] "2009-03-29 06:30:00" Browse[2] class(hcEnd) [1] "POSIXlt" "POSIXt" Browse[2] is.na(hcEnd) [1] TRUE This issue is ...
    IkuzarIkuzar
    Feb 24, 2012 at 5:57 pm
    Mar 5, 2012 at 3:56 pm
  • Hello, I have to deal with numbers with a decimal part as quarter, coming from two systems with different way to show decimals. I need to tell R these are in fact the same number. On one side my ...
    Arnaud GabouryArnaud Gaboury
    Feb 8, 2012 at 2:12 pm
    Feb 8, 2012 at 3:21 pm
  • Hi all, I am looking for a good and modern Kernel Regression package in R, which has the following features: 1) It has cross-validation 2) It can automatically choose the "optimal" bandwidth 3) It ...
    MichaelMichael
    Feb 22, 2012 at 7:46 pm
    Feb 29, 2012 at 1:35 pm
  • Yes, I am a newbie. I have a data.frame (MyTable) of 1445846 rows and 15 columns with character data. And a character vector (MyVector) of 473491 elements. I want simply to get a data.frame with the ...
    Mari681Mari681
    Feb 26, 2012 at 12:13 pm
    Feb 27, 2012 at 9:32 am
  • Dear all, I have a data frame in which the columns need to be ordered. The first column X is at the right position, but the remaining columns X1-Xn should be ordered like this: X1, X2, X3 etc instead ...
    Joel Fürstenberg-HäggJoel Fürstenberg-Hägg
    Feb 17, 2012 at 1:26 pm
    Feb 17, 2012 at 2:26 pm
  • Suppose I have a vector of strings: c("A1B2","A3C4","B5","C6A7B8") [1] "A1B2" "A3C4" "B5" "C6A7B8" where each string is a sequence of <column <value pairs (fixed width, in this example both value and ...
    Sam SteingoldSam Steingold
    Feb 8, 2012 at 8:34 pm
    Feb 9, 2012 at 11:35 am
  • Dear all, I am trying to multiply three different matrices and each matrice is of size 16384,16384 the normal %*% multiplciation operator has not finished one day now. As I am running a system with ...
    AlaiosAlaios
    Feb 7, 2012 at 8:29 am
    Feb 7, 2012 at 3:06 pm
  • Dear all, I would like to ask you if it would be possible to install R enterprise in opensuse. Actually it seems that there are only Red Hat packages and I was wondering if their source code is ...
    AlaiosAlaios
    Feb 6, 2012 at 12:55 pm
    Feb 6, 2012 at 5:41 pm
  • Dear R Community- I am a new user of R. I am using R with GRASS GIS. I would apply svm "on" raster data in GRASS. Basically I have a raster with "areas training" and other three raster (each ...
    GabGab
    Feb 14, 2012 at 6:29 pm
    Mar 5, 2012 at 6:07 pm
  • Hello everybody, I work, I try, with TM but I have a problem with some special words in french. I think this is due to the manner to transform PDF to text, but I'm not perfectly sure. Let's see to ...
    Mickael R problemMickael R problem
    Feb 29, 2012 at 11:00 pm
    Mar 4, 2012 at 10:22 pm
  • The need comes from the PISA data. (http://www.pisa.oecd.org) In the data there are many cases and each of them carries a numeric variable that signifies it's weight. In SPSS the command would be ...
    Hed Bar-NissanHed Bar-Nissan
    Feb 23, 2012 at 3:49 pm
    Mar 3, 2012 at 10:08 pm
  • Hello All, My algorithm as follows; y <- c(1,1,1,0,0,1,0,1,0,0) x <- c(1,0,0,1,1,0,0,1,1,0) n <- length(x) t <- matrix(cbind(y,x), ncol=2) z = x+y for(j in 1:length(x)) { out <- vector("list", ) ...
    Helin_susamHelin_susam
    Feb 28, 2012 at 1:59 pm
    Feb 29, 2012 at 10:48 am
  • hi, I know how to use the "for" loop function like: for(i in 1:ncol(mat)){ mat[i]<-b[i,2] } but, in this case r1<-b[1,1] r2<-b[2,1] r3<-b[3,1] r4<-b[4,1] * * * r3002<-b[3002,1] r3003<-b[3003,1] - ...
    MrzungMrzung
    Feb 27, 2012 at 5:56 pm
    Feb 28, 2012 at 8:03 pm
  • I have some data set which has some values -999.000 & I would like to remove whole row of this kind of values. e.g a<-matrix(c(1,2,3,4,4,5,6,6,-999.99,5,9,-999.00),nrow=4) a<- [,1] [,2] [,3] [1,] 1 4 ...
    UdayUday
    Feb 21, 2012 at 3:52 pm
    Feb 23, 2012 at 11:53 am
  • Hi, Is there any function available to do stepwise selection of variables in Conditional(matched) logistic regression( clogit)? step, stepwise etc are failing in case of conditional logistic ...
    Subha P. T.Subha P. T.
    Feb 17, 2012 at 7:10 am
    Feb 22, 2012 at 1:22 pm
  • Dear all, I need to generate numbers from multivariate normal with large dimensions (5,000,000). Below is my code and the error I got from R. Sigma in the code is the covariance matrix. Can anyone ...
    Li liLi li
    Feb 18, 2012 at 11:00 pm
    Feb 19, 2012 at 9:12 pm
  • I have this matrix in R, s1 s2 s3 s4 g1 1 0 0 0 g1 0 1 0 0 g1 0 0 1 0 g2 1 0 0 0 g2 0 1 0 0 g3 1 0 0 0 g4 0 0 1 0 g4 1 0 0 0 g4 0 1 0 0 g4 0 0 0 1 I want to split this matrix based on its rows then ...
    Soheila KhodakarimSoheila Khodakarim
    Feb 14, 2012 at 12:08 pm
    Feb 15, 2012 at 8:11 pm
  • structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1, 1328566598.85, 1328565634.3, 1328566513.95, 1328565123.65, 1328565827.1, 1328566719.9, 1328565527.55, 1328565118.05, ...
    Hasan DiwanHasan Diwan
    Feb 14, 2012 at 9:14 pm
    Feb 15, 2012 at 2:02 pm
  • Hi, I'd like to know if it is possible to use wildcards * for indexing... E.g. I have a vector of strings. Now I'd like to select all elements which start with A_*? I'd also need to combine that with ...
    Johannes RadingerJohannes Radinger
    Feb 14, 2012 at 2:54 pm
    Feb 14, 2012 at 11:21 pm
  • i'd like to plot a legend in my diagram. The diagram will be included in a TikZ LaTeX document later. I tried the legend() function, but - it can not find a good place it self where the legend fits ...
    Jonas SteinJonas Stein
    Feb 10, 2012 at 8:45 pm
    Feb 13, 2012 at 4:27 pm
  • Hi all For the data below, I would like to return a logical value indicating differences in the data. #Create data Data..<-data.frame(a=rep(1,10),b=c(rep(1,9),2),c=c(rep(1,8),2,2)) a b c 1 1 1 1 2 1 ...
    LCOG1LCOG1
    Feb 6, 2012 at 6:34 pm
    Feb 9, 2012 at 4:02 pm
  • Is there an analogue of common lisp "*" variable which contains the value of the last expression? E.g., in lisp: 3 I wish I could recover the value of the last expression without re-evaluating it ...
    Sam SteingoldSam Steingold
    Feb 10, 2012 at 2:44 am
    Dec 10, 2012 at 7:52 pm
  • R Experts I wish to tabulate into one data frame statistics summarizing concentration data. The summary is to include mean, standard deviation, median, min and max. I wish to have summaries by Dose, ...
    Michael KarolMichael Karol
    Feb 23, 2012 at 6:41 pm
    Mar 7, 2012 at 3:59 pm
  • Hello, I am looking for a way to transform an array into a list (or a string). My array has two columns 1 and 2, and I would like to create a list of the values. Let's say I have : x1 x2 1 a b 2 c d ...
    Thomas88Thomas88
    Feb 24, 2012 at 10:32 pm
    Mar 6, 2012 at 10:48 pm
  • Hi, today i wrote a function in R of the type: index.refraction <- function(Temp,Press, RH, CO2) When i try to plug a negative number in Temp, i got this type of error: " n <- index.refraction(Temp= ...
    LidakyLidaky
    Feb 29, 2012 at 6:03 am
    Mar 1, 2012 at 12:49 am
  • Dear all, I have a (probably very basic) question. I am imputing data with the mice package, using 10 chains. I can then write out the 10 final values of the chains simply by name1 <- complete(imp, ...
    Florian WeilerFlorian Weiler
    Feb 22, 2012 at 10:32 am
    Feb 27, 2012 at 9:52 am
  • Hi Guys, I am new to R and just trying to write a small script to automate a couple commands. But I run into the setwd(): cannot change working directory. I googled a little bit and tried all ...
    Ying chenYing chen
    Feb 26, 2012 at 4:25 am
    Feb 26, 2012 at 9:34 pm
  • Another newbie question I got the 1 minute spine interpolation and 15 mean aggregation working with many thanks to Gabor Grothendieck using Zoo functions. I got a tip from Hasan Diwan to look at xts ...
    HenryHenry
    Feb 17, 2012 at 7:56 pm
    Feb 23, 2012 at 8:25 pm
  • Good afternoon, I've encountered a little bit of a problem, would appreciate any help here. I made a small vector consisting of ones and zeros. Something like this x <- c(0,1,0,1,0,0,1,0), and all I ...
    Maris478Maris478
    Feb 18, 2012 at 7:09 pm
    Feb 19, 2012 at 8:09 am
  • Hi everyone, For reasons beyond the scope of this message, I'd like to append a NULL element to the end of a list. tmp0 <- list(a=1, b=NULL, c=3) append(tmp0, c(d=4)) ## works as expected ...
    Benilton CarvalhoBenilton Carvalho
    Feb 18, 2012 at 1:51 am
    Feb 18, 2012 at 5:23 pm
  • ? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120218/c759ac35/attachment.pl
    Vittorio ColagrandeVittorio Colagrande
    Feb 18, 2012 at 10:05 am
    Feb 18, 2012 at 3:20 pm
  • Dear R-helpers, I created an own function which looks like this s_elternmz <- function(Var="balt") { Dg_a<-mz[,c("asbhh","apkz",Var)] colnames(Dg_a)[colnames(Dg_a)=="apkz"]<-"bpkzm" ...
    Marion WentyMarion Wenty
    Feb 14, 2012 at 2:20 pm
    Feb 16, 2012 at 12:53 pm
  • Hi all, I'm trying to get the min and max of a sequence of number using a loop like the folllowing. Can anyone point me to why it doesn't work. Thanks. type <- c("min","max") n <- 1:10 for (a in 1:2) ...
    Muhammad RahizMuhammad Rahiz
    Feb 14, 2012 at 7:02 pm
    Feb 14, 2012 at 8:06 pm
Group Navigation
period‹ prev | Feb 2012 | next ›
Group Overview
groupr-help @
categoriesr
discussions896
posts2,978
users827
websiter-project.org
irc#r

827 users for February 2012

David Winsemius: 157 posts R. Michael Weylandt: 146 posts Petr Savicky: 86 posts Ilai: 73 posts Uwe Ligges: 68 posts Sarah Goslee: 46 posts Gabor Grothendieck: 44 posts Jim Holtman: 41 posts Bert Gunter: 36 posts Duncan Murdoch: 36 posts Berend Hasselman: 35 posts William Dunlap: 33 posts Peter dalgaard: 28 posts Arnaud Gaboury: 27 posts Petr PIKAL: 27 posts Rui Barradas: 24 posts Prof Brian Ripley: 23 posts Sam Steingold: 23 posts Uday: 22 posts Rolf Turner: 21 posts
show more
Archives