similar to: Missing functions

Displaying 20 results from an estimated 7000 matches similar to: "Missing functions"

2009 Oct 06
2
Unable to load 'doBy' package
Hi all, I am trying to load the doBy package, and I am getting the following error: > library(doBy) Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) : there is no package called 'Hmisc' Error: package/namespace load failed for 'doBy' I tried updating R to the current version (2.9.2) and installing the most recent version of the doBy package (4.0.2), and the error
2010 Dec 10
1
New Installs, Same Trouble Loading doBy and coin Packages
I tried Tal's suggestion of deleting the doBy and coin packages and then reinstalling them from a different mirror. The first install was from the Harvard mirror and the second was from the Case Western Univ. mirror. The new packages generate the same errors when I call them using the library() command. Also, I tried to load these packages using R and its script editor thinking that the
2010 Dec 08
1
Trouble Loading doBy and coin Packages
Good Evening R-Help Community: I have attached a file that contains the output from sessionInfo() and a summary of my Win XP system. I am?running R 2.12.0 and using Tinn-R 2.3.6.2 as my interface. When I attempt to call either the doBy or coin packages R generates an error that I do not understand and have so far not been able to resolve by searching R resources. I exchanged a couple of
2010 Apr 23
1
doBy and Hmisc on R version 2.11.0
I installed R 2.11.0, and I don't think I can load the doBy package now. Any suggestions? > library("doBy") Loading required package: survival Loading required package: splines Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) : there is no package called 'Hmisc' Error: package/namespace load failed for 'doBy' > sessionInfo() R version 2.11.0
2009 Jun 09
1
how to use "lapplyBy" function of "doBy" package
Dear Ruser's I want to substitute each "NA" by the group mean of which the "NA" is belonging to. For example, substitute the first record of traits "NA" by the mean of "BSPy01-10" in the dummy dataframe. I have ever tried to solve this problem by using doBy package. But, I failed. I ask for the advice on how to use "lapplyBy" function of
2009 Jun 09
4
how to substitute missing values (NAs) by the group means
Dear Ruser's I ask for helps on how to substitute missing values (NAs) by mean of the group it is belonging to. my dummy dataframe is: > df group traits 1 BSPy01-10 NA 2 BSPy01-10 7.3 3 BSPy01-10 7.3 4 BSPy01-11 5.3 5 BSPy01-11 5.4 6 BSPy01-11 5.6 7 BSPy01-11 NA 8 BSPy01-11 NA 9 BSPy01-11 4.8 10 BSPy01-12 8.1 11 BSPy01-12 6.0 12
2011 Jun 29
1
library(doBy) will not load
Greetings R Community, One of my favorite packages won't load and I'm not sure why. It loaded earlier today. The problem appears with the snow package, which doBy requires. I tried reinstalling both packages again ,shutting [R] down, reinstalling [R] in the workspace (shortcut). Here's the weird thing. The same exact library loads in another workspace using the same version of [R]
2013 Jan 17
3
how to use "..."
Dear users, I'm trying to learn how to use the "...". I have written a function (simplified here) that uses doBy::summaryBy(): # 'dat' is a data.frame from which the aggregation is computed # 'vec_cat' is a integer vector defining which columns of the data.frame should be use on the right side of the formula # 'stat_fun' is the function that will be run to
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
On Mon, Oct 30, 2017 at 10:56 AM Tony Schreiner <anthony.schreiner at bc.edu> wrote: > On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.martell at gmail.com> > wrote: > > > I have a R script that I am running from python with rpy2. On a debian > > system I run this: > > > > apt-get install R-cran-ggplot2 R-cran-caret > > > > And the
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
I have a R script that I am running from python with rpy2. On a debian system I run this: apt-get install R-cran-ggplot2 R-cran-caret And the script works. I want to move this to CentOS 7 system. There it cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R, I've got a data frame with children examined multiple times and at various ages. I'm trying to find the first age at which another variable (LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen. I can do this with transformBy and ddply, but with 10,000 different children, these functions take some time on my PCs - is there a faster way to do this in R?
2006 Oct 06
1
glm and plot.effects
Dear R-helpers, I don't see a difference between the following two plots of effect objects, which I understand should be different. What am I missing? require(doBy) require(effects) data(budworm) m1 <- glm(ndead/20 ~ sex + log(dose), data=budworm, weight=ntotal, family=binomial) m1.eff <- all.effects(m1) plot(m1.eff, rescale.axis = FALSE, selection = 2, main = 'rescale =
2011 Dec 09
1
Can not install doBy
Every time I try to install the doBy package I receive this error message: Warning in install.packages : error 1 in extracting from zip file Warning in install.packages : cannot open compressed file 'mvtnorm/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages : cannot open the connection Has anyone run into this problem? Thanks, Jason --
2011 Oct 22
4
issue loading doBy library
Hello, How can I fix this? I have the latest version of R 2.13.2 and I use Mac OS X 10.7.2 > library(doBy) Loading required package: lme4 Error in dyn.load(file, DLLpath = DLLpath, ...) : function 'cholmod_l_start' not provided by package 'Matrix' Error: package 'lme4' could not be loaded > library(lme4) Error in dyn.load(file, DLLpath = DLLpath, ...) : function
2010 Jul 08
2
transformation of data.frame
Hello all R users, I have a problems transforming (or maybe better regrouping) a data.frame. I have a big data.frame, which I would like to sum up according to a specific column. This is an example of my matrix: ID gen 0042787 gen2 0016070 gen2 0016070 gen3 0007409 Gen1 0007409 gen3 0006511 gen2 0006417 gen3 0016070 gen4 0006511 gen4 I want to rearrange the matrix
2012 Apr 02
2
summaryBy: transformed variable on RHS of formula?
Hi Folks, I'm trying to cut my data inside the summaryBy function. Perhaps formulas don't work that way? I'd like to avoid adding another column if possible, but if I have to, I have to. Any ideas? Thanks, Allie require(doBy) df = dataframe(a <- rnorm(100), b <-rnorm(100)) summaryBy(a ~ cut(b,c(-100,-1,1,100)), data=df) # preferred solution, but it throws an
2009 Sep 04
1
Apparent bug in summaryBy (PR#13941)
Full_Name: Marc Paterno Version: 2.9.2 OS: Mac OS X 10.5.8 Submission from: (NULL) (99.53.212.55) summaryBy() produces incorrect results when given some data frames. Below is a transcript of a session showing the result, in a data frame with 2 observations of 2 variables. ------------------- thomas:999 paterno$ R --vanilla R version 2.9.2 (2009-08-24) Copyright (C) 2009 The R Foundation for
2010 Feb 08
1
Follow-up Question: data frames; matching/merging
Wow.. thanks for the deluge of responses! Aggregate seems like the way to go here. But, suppose that instead of integers in column V2, I actually have dates (and instead of keeping the minimum integer, I want to keep the earliest date): > df =
2010 Mar 17
2
Using nrow with summaryBy
Hello Everyone- I'm calculating summary statistics on a dataset (~4000 records, observations are not uniformly distributed) using summaryBy and trying to add a column with the number of observations to the output as well. What occurs to me is to use nrow(), but this doesn't appear to be working I'm able to replicate the same results with an example from the summaryBy docs:
2017 Nov 29
5
Preventing repeated package installation, or pre installing packages
I have a R script that I call from python using rpy2. It uses dplyr, doBy, and ggplot2. The script has install.packages commands for these 3 packages. Even thought the packages are already installed it still downloads, builds, and installs them, which is very time consuming. Is there a way to have it only do the install if the package is not already installed? Also, I run in a docker container,