Grokbase Groups R r-help
FAQ

Search Discussions

110,714 discussions - 360,386 posts

  • Sorry if this has been answered elsewhere, but I can't find any discussion of it. Wondering why the following situation occurs (duplicated on 3.2.2 CentOS6 and 3.0.1 Win2k, so I don't think it is a ...
    Paulson, ArielPaulson, Ariel
    Apr 8, 2016 at 10:24 pm
    Apr 12, 2016 at 6:21 pm
  • Hi, I am trying to show an interquartile range while grouping values using the function ddply(). So my function call now is like groupedAll <- ddply(data ,~groupColumn ,summarise ...
    Michael ArtzMichael Artz
    Apr 19, 2016 at 1:15 am
    Apr 20, 2016 at 4:39 am
  • I am trying to draw maps for the world using: library(rworldmap) library(maptools) library(RColorBrewer) tmp2<- dput(head(pece,10)) structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL", ...
    Miluji SbMiluji Sb
    Apr 8, 2016 at 12:24 pm
    Apr 14, 2016 at 8:01 am
  • Dear all In the grep command below, is there a way to identify only "age" and not "age2"? Thanks. [1] 5 6 Also, I post message to r-help at r-project.org and that's subject to approval by the list ...
    Steven YenSteven Yen
    May 3, 2016 at 10:38 am
    May 20, 2016 at 12:03 am
  • Hi All: I am working with a very large array. if noLat is the number of latitudes, noLon the number of longitudes and noTime the number of time periods, the array is of the form: myData[noLat, no ...
    Roy Mendelssohn - NOAA FederalRoy Mendelssohn - NOAA Federal
    Mar 18, 2016 at 9:28 pm
    Mar 23, 2016 at 5:25 pm
  • I want a function to evaluate one argument in the environment of a data.frame supplied as another argument. "attach" works for this, but "with" does not. Is there a way to make "with" work? I'd ...
    Spencer GravesSpencer Graves
    May 6, 2016 at 12:12 am
    May 9, 2016 at 12:31 pm
  • Hi I'm trying to get the top decision rules from a decision tree. Eventually I will like to do this with R and Random Forrest. There has to be a way to output the decsion rules of each leaf node in ...
    Michael ArtzMichael Artz
    Apr 13, 2016 at 8:40 pm
    Apr 16, 2016 at 4:58 am
  • Hi I'm not sure how to ask this, but its a very easy question to answer for an R person. What is an easy way to check for a column value and then assigne a new column a value based on that old column ...
    Michael ArtzMichael Artz
    Apr 7, 2016 at 11:41 am
    Apr 8, 2016 at 10:58 am
  • Hi All, I would like to route the output to a file using sink(). When using the example from the ?sink documentation: sink("sink-examp.txt") i <- 1:10 outer(i, i, "*") sink() unlink("sink-examp.txt") ...
    G MaubachG Maubach
    May 10, 2016 at 7:25 am
    May 12, 2016 at 9:10 am
  • Hi, I'm trying to write an R package that calls a Fortran subroutine on my Mac os x El Capitan with Xcode 7 and gfortran 6.1, R 3.3.0. I can build and load the library but when I try to use it in R I ...
    Kodalore Vijayan, Vineetha WKodalore Vijayan, Vineetha W
    Jun 15, 2016 at 8:20 pm
    Jun 16, 2016 at 9:27 pm
  • Hello! The overall goal I have is taking a large data frame and splitting it into several smaller data frames (preserving column headers) which I can save as txt files to feed into my APACHE ANY23 ...
    Christian T Stackhouse (Campus)Christian T Stackhouse (Campus)
    Mar 22, 2016 at 7:32 pm
    Mar 23, 2016 at 8:39 pm
  • Hi All, I merged two datasets: ds_merge1 <- merge(x = ds_bw_customer_4_match, y = ds_zww_customer_4_match, by.x = "customer", by.y = "customer", all.x = TRUE, all.y = FALSE) R created a new dataset ...
    G MaubachG Maubach
    Jun 6, 2016 at 12:29 pm
    Jun 9, 2016 at 7:47 am
  • Dear all - I need to have a function maintain a persistent lookup table of results for an expensive calculation, a named vector or hash. I know that I can just keep the table in the global ...
    Boris SteipeBoris Steipe
    Mar 19, 2016 at 4:45 pm
    Mar 25, 2016 at 7:43 pm
  • Hi all, I have one factor variable in my df and I want to extract the names from it which contain both "t2" and "pd": 'data.frame': 36919 obs. of 162 variables $TE :int 38,41,11,52,48,75,..... $TR ...
    Chalabi ElaheChalabi Elahe
    Apr 30, 2016 at 9:38 pm
    May 2, 2016 at 7:08 pm
  • How can I get the p values from a glm ? I want to get the p values so I can add them to a custom report fitwean<- glm(data[,"JWean"]~data[,"Group"],data=data,family=binomial(link ="logit")) ...
    John SorkinJohn Sorkin
    Apr 1, 2016 at 10:14 pm
    Apr 3, 2016 at 10:22 pm
  • Hi, I have a huge list. Normally it is sorted, but I want to be able to add elements to it without having to use any special interfaces and then sort it on demand. My idea is to use something like ...
    Neal H. WalfieldNeal H. Walfield
    Jun 5, 2016 at 1:53 pm
    Jun 14, 2016 at 3:55 pm
  • Hi All-- I am relatively new to R. I am reading a csv file via read.table (MyFile). The data types in the file are date, string, integer, and time. I was able to read all the data and manipulated ...
    Ek EsawiEk Esawi
    Jun 5, 2016 at 12:53 pm
    Jun 9, 2016 at 5:30 pm
  • Hello, I have a time series that represents data sampled every 15-minutes. The data currently run from November through February, 8623 total readings. There are definitely daily periodic trends and ...
    Ryan UtzRyan Utz
    Mar 30, 2016 at 3:03 pm
    Mar 31, 2016 at 4:49 pm
  • Following some old advice on this list, I have been reading the code for summary.lm to understand the computation of R-squared from a weighted regression. Usually weights in lm are applied to squared ...
    Murray EffordMurray Efford
    Apr 7, 2016 at 9:21 pm
    Apr 10, 2016 at 10:39 pm
  • Dear Sirs, I am Professor at Indira Gandhi Krishi Vishwavidyalaya, Raipur, Chhattisgarh, India. While taking classes, I found the *by() *function producing following error when I use FUN=mean or ...
    Akhilesh SinghAkhilesh Singh
    Apr 14, 2016 at 8:14 pm
    Apr 17, 2016 at 3:11 pm
  • Hi all, I hope you are doing well? I?m currently using the lm() function from the package stats to fit linear multifactor regressions. Unfortunately, I didn?t yet find a way to fit linear multifactor ...
    Aleksandrovic, Aljosa (Pfaeffikon)Aleksandrovic, Aljosa (Pfaeffikon)
    Apr 26, 2016 at 12:39 pm
    Apr 28, 2016 at 1:06 pm
  • Dear R-help I would like to split long string at specified precomputed positions. 'substring' needs beginings and ends. Is there a native function which accepts positions so I don't have to count ...
    Jan KacabaJan Kacaba
    May 11, 2016 at 8:12 pm
    May 17, 2016 at 2:35 pm
  • Dear all, I want to make an if condition variable like : a = 10 CONDITION = " a 0 " if ( CONDITION ) print(" a is bigger" ) I tried get , getElement , eval without success ? Thanks
    CeCe
    Jun 2, 2016 at 2:30 am
    Jun 2, 2016 at 3:07 pm
  • Hi First post and a relative R newbie.... I am using the vioplot library to produce some violin plots. I have an input CSV with columns off irregular length that contain NAs. I want to strip the NAs ...
    Mike SmithMike Smith
    Apr 30, 2016 at 7:58 pm
    May 2, 2016 at 5:28 pm
  • Dear All, I have the following problem: I have a function in which I check if the difference between values is smaller or equal to a certain threshold. I however realized that I might get there some ...
    Rainer JohannesRainer Johannes
    Apr 5, 2016 at 11:34 am
    Apr 7, 2016 at 8:43 am
  • Hi All, I am new to R and don't know how to achieve it. I am interested in generating a hypothetical dataframe that is consisted of say two variables named v1 and v2, based on the following ...
    Muhammad BilalMuhammad Bilal
    Apr 8, 2016 at 6:57 pm
    Apr 9, 2016 at 2:01 pm
  • Hello, Suppose the you need a loop to create a new variable , i.e., you are not reading data from outside the loop. This is a simple example in Matlab code, for i=1:5 r1=randn r2=randn r=[r1 r2] ...
    Gordon, FabianaGordon, Fabiana
    Apr 27, 2016 at 2:25 pm
    May 2, 2016 at 11:54 pm
  • Dear R users, I am running a logistic regression using the rms package and the code looks as follows ...
    T.RiedleT.Riedle
    May 28, 2016 at 5:01 pm
    Jun 1, 2016 at 11:45 am
  • Hello. I've tried to run R, but I receive many warnings and can't do simple stuff such as installing packages. Here's the full log when I run it. http://pastebin.com/raw/2BkNpTte Does anyone know ...
    Alba PompeoAlba Pompeo
    May 12, 2016 at 11:45 am
    May 17, 2016 at 11:01 am
  • Dear Rxperts! Is there a way to compute relative values.. using within().. function? Any assistance/suggestions are highly welcome!! Thanks again, Santosh... A sample dataset and the computation ...
    SantoshSantosh
    May 27, 2016 at 11:00 pm
    Jun 10, 2016 at 6:23 am
  • Hi All, I have the following script, that raises error at the last command. I am new to R and require some clarification on what is going wrong. #Creating the training and testing data sets splitFlag ...
    Muhammad BilalMuhammad Bilal
    May 8, 2016 at 11:14 pm
    May 10, 2016 at 10:17 am
  • Hi I'm starting off with both R and Linux Mint. During a recent R course, I had multiple difficulties with installing updates needed for the course. As such, I'd like to hit the restart button with ...
    Jax200Jax200
    Jun 9, 2016 at 8:44 pm
    Jun 10, 2016 at 5:45 pm
  • Hi team I am new to R so please help me to do this task. Please find the attached data sample. But in the original data frame I have 350 features and 400000 observations. I need to carryout these ...
    Norman PatNorman Pat
    Mar 30, 2016 at 10:56 pm
    Mar 31, 2016 at 3:53 am
  • When I use any function of RWeka Package in Rstudio I get an error, "Error in .jnew (name): java.lang.ClassFormatError." can anyone guide me in this? [[alternative HTML version deleted]]
    ‪Rini John‬ ‪‪Rini John‬ ‪
    Apr 5, 2016 at 12:14 pm
    Apr 13, 2016 at 5:58 am
  • Good morning RGuru's I have a data frame of 575 columns.? I want to extract only those columns that are numeric(double) or integer to do some machine learning with.? I have searched the web for a ...
    Carl SuttonCarl Sutton
    Apr 29, 2016 at 4:19 pm
    May 4, 2016 at 5:08 pm
  • Hi, How would you calculate the "mean colour" of several colours, for example c("#FF7C00","#00BF40","#FFFF00")? Yours, Atte Tenkanen
    Atte TenkanenAtte Tenkanen
    Apr 16, 2016 at 12:47 pm
    Apr 16, 2016 at 6:15 pm
  • Dear list, Say I have a data frame test <- data.frame(C1=c('a,b,c,d'),C2=c('g,h,f')) I want to replace the commas with semicolons sub(',',';',test$C1) - test$C1 will only replace the first comma of a ...
    Jun ShenJun Shen
    May 27, 2016 at 3:10 pm
    May 31, 2016 at 12:55 pm
  • I have a list of data as follows. [[1]] name red 1 sample1 20 [[2]] name green 1 sample1 15 [[3]] name red 1 sample2 10 [[4]] name green 1 sample2 30 I would like to massage this into a data frame ...
    Ed SiefkerEd Siefker
    Jun 3, 2016 at 6:20 pm
    Jun 6, 2016 at 4:34 pm
  • Dear all; I have two data sets, data=map and data=ref). A small part of each data set are given below. Data map has more than 27 million and data ref has about 560 rows. Basically I need run two ...
    Greg hollyGreg holly
    Jun 12, 2016 at 8:14 pm
    Jun 14, 2016 at 12:04 pm
  • I?m doing some optimisation that I first did with normal Poisson (only parameter theta was estimated), but now I?m doing the same with a zero-inflated Poisson model which gives me two estimated ...
    Matti ViljamaaMatti Viljamaa
    Mar 22, 2016 at 12:04 pm
    Mar 24, 2016 at 1:06 pm
  • Hi,I have a data set (mydata), which a part of this is like the following:??'data.frame': ? 36190 obs. of 16 variables:$ RE ? ? ? ? ? ? ? ? ? ?: int ?38 41 11 67 30 18 38 41 41 30 ...$ LU ? ? ? ? ? ? ...
    Chalabi ElaheChalabi Elahe
    Apr 14, 2016 at 8:14 pm
    Apr 16, 2016 at 2:03 pm
  • I have a situation in R where I would like to find any x (if one exists) that solves the linear system of equations Ax = b, where A is square, sparse, and singular, and b is a vector. Here is some ...
    A AA A
    Apr 20, 2016 at 11:22 am
    Apr 20, 2016 at 8:25 pm
  • Hi there, I have a data frame DF with 40 millions strings and their frequency. I am searching for strings with a given pattern and I am trying to speed up this part of my code. I try many options but ...
    Fabien TarradeFabien Tarrade
    Apr 10, 2016 at 6:03 pm
    Apr 29, 2016 at 7:03 pm
  • Dear all: I converted the columns (Baci, Meti, Fungii, Protozoai) into integers (using excel) and then imported the data (.txt) into R. Interestingly, the other three variables were loaded as INT, ...
    André Luis NevesAndré Luis Neves
    Apr 26, 2016 at 5:11 pm
    Apr 26, 2016 at 10:20 pm
  • I have a simple function such as: foo <- function(x) { call <- lapply(match.call(), deparse) testit <- capture.output(tryCatch(eval(x), error = function(e) e)) if (grepl("Error", testit)) { ...
    Adrian DușaAdrian Dușa
    Apr 12, 2016 at 10:24 am
    Apr 14, 2016 at 5:00 pm
  • Hello, First time user on Ubuntu 14.4 with Ubuntus R Commander and The program icon of the commander executes On first run it started downloading, compiling and installing various packages. One of ...
    C&A SägerC&A Säger
    May 4, 2016 at 6:51 pm
    May 5, 2016 at 5:07 pm
  • Hi all, I am trying to ge get the next month of the year. today <- Sys.Date() xx<- format(today, format="%B%Y") I got "May2016", but I want Jun2016. How do I do that? My other question is that, I ...
    AshtaAshta
    May 6, 2016 at 11:11 pm
    May 7, 2016 at 11:48 pm
  • Hi, Just getting into using GAM using the mgcv package. I've generated some models and extracted the splines for each of the variables and started visualizing them. I'm noticing that one of my ...
    Dominik SchneiderDominik Schneider
    May 11, 2016 at 12:30 am
    May 16, 2016 at 8:23 pm
  • Dear All; I had difficulty to post a mail along with appropriate of data structure. I do sincerely apologize for multiple posting I would like to sum up the B$a column and cut off at 0.7 for the each ...
    OsloOslo
    Jun 10, 2016 at 8:34 pm
    Jun 14, 2016 at 1:25 pm
  • Dear Experts , I am using R with Spark on Windows and now there is a need to move to Ubuntu. I wanted to know if most of the packages that are available on windows , would they be available on ...
    MylisttechMylisttech
    Apr 22, 2016 at 6:51 pm
    Apr 25, 2016 at 9:04 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupr-help @
categoriesr
discussions110,714
posts360,386
users36,193
websiter-project.org
irc#r

Top users

Brian D Ripley: 11688 posts Comcast: 9884 posts Gabor Grothendieck: 7006 posts Peter Dalgaard: 5076 posts Jim holtman: 4290 posts Uwe Ligges: 3232 posts Duncan Murdoch: 3223 posts Arun: 3201 posts Uwe Ligges: 3192 posts Bert Gunter: 3035 posts Petr Pikal: 2984 posts Duncan Murdoch: 2695 posts Thomas Lumley: 2329 posts Michael Weylandt: 2279 posts Liaw, Andy: 2232 posts Jdnewmil: 2082 posts Jim Lemon: 2056 posts Spencer Graves: 2022 posts Maechler: 1984 posts Henrique Dallazuanna: 1878 posts
show more
Archives