Displaying 20 results from an estimated 224 matches for "gtool".
Did you mean:
tool
2012 Feb 28
2
Error: could not find function "hier.part"
Error: could not find function "hier.part"
things I have tried:
1. reinstall R (lastest version, on windows XP)
2. install package "gtools"
3. include:
library(gtools)
require(gtools)
4. how I call this function:
hier.part(c$Y, xdata, fam = "gaussian", gof = "Rsqu")
5.when I try to check what's in the package "gtools", I get (hier.part is
not included):
> gtools:: <TAB>
gtools::addLa...
2009 Sep 03
1
trouble installing gtools package in local directory
...tory of packages under ~/R/library which I've
created since I do not have admin access on my system. From my research on
the web, this is the standard way of installing and using packages from CRAN
in linux. I am ultimately trying to install the package "gplots" which
depends on "gtools". I have tried to install gtools using both of the 2 ways
I know:
i) Download gtools_2.6.1.tar.gz from CRAN and then running "R CMD INSTALL
gtools_2.6.1.tar.gz"
ii) install.packages("gtools",lib="~/R/library") directly at the R prompt
I get the same result with...
2009 Sep 03
1
trouble installing gtools package in local directory
...tory of packages under ~/R/library which I've
created since I do not have admin access on my system. From my research on
the web, this is the standard way of installing and using packages from CRAN
in linux. I am ultimately trying to install the package "gplots" which
depends on "gtools". I have tried to install gtools using both of the 2 ways
I know:
i) Download gtools_2.6.1.tar.gz from CRAN and then running "R CMD INSTALL
gtools_2.6.1.tar.gz"
ii) install.packages("gtools",lib="~/R/library") directly at the R prompt
I get the same result with...
2010 Apr 22
1
packages gdata / gtools - installation in R 2.11.0
Dear R-list members,
I have just downloaded R version 2.11.0. Then I installed
package gdata. At the end of the installation, a warning message
said that package gtools could not be found. Package gdata
was, after the installation, included in the "Package Index"
in the help files. Messages during installation (which was made
through the menu Packages / Instal package(s), choosing the Austria
site, R running on Windows XP):
utils:::menuInstallPkgs()
Wa...
2007 Apr 18
2
Error loading libraries in MAC
...the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Versions/2.4/Resources/library/gtools/libs/i386/gtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/
library/gtools/libs/i386/gtools.so, 6): Library not loaded: /usr/
local/gcc4.0/i686-apple-darwin8/lib/libgcc_s.1.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
Resources/librar...
2007 Apr 18
2
Error loading libraries in MAC
...the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Versions/2.4/Resources/library/gtools/libs/i386/gtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/
library/gtools/libs/i386/gtools.so, 6): Library not loaded: /usr/
local/gcc4.0/i686-apple-darwin8/lib/libgcc_s.1.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
Resources/librar...
2010 Apr 27
1
Problem installing gtools package
Hello,
I am attempting to install the gtools package, so that I can compute the
permutations of a set. However, I having difficulties. My problems are:
1) When I use the GUI "Install package(s)" command, the package "gtools"
does not appear in my list.
2) I dowloaded the package from
http://cran.r-project.org/web/pa...
2008 Oct 15
1
error installing gtools (PR#13168)
Full_Name: Ebi Hal
Version: R-2.7.2-1
OS: Fedora core 9
Submission from: (NULL) (129.215.170.238)
I tried to install gplots by running
R> install.packages("gplots")
but the process failed while installing "gtools" with the following error
message:
* Installing to library '/usr/lib64/R/library'
* Installing *source* package 'gtools' ...
** libs
gcc -m64 -std=gnu99 -I/usr/include/R -I/usr/local/include -fpic -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector...
2009 Sep 06
1
Two packages and one method
Hi!
I want to use one method "combinations" from "gtools" package but in my code
I must use also "dprep" method where is method "combinations" too. Mayby I
show you result my help function:
Help on topic 'combinations' was found in the following packages:
Package Library
dprep /usr/l...
2005 Feb 14
3
'combinations' in gtools and stack overflow
Dear R-users,
Let me ask about the 'stack overflow' error which I got when I used
the function 'combinations' in "gtools".
The following is what I did:
---------
library(gtools)
options(expressions=1e5)
combinations(500, 3, 1:500)
# or combinations(400, 2, 1:400)
Error: protect(): stack overflow
---------
How can I overcome this error?
Is there perhaps any other function to do this more efficiently?
Hope t...
2018 Mar 12
7
Equivalent of gtools::mixedsort in R base
Hi,
Searching for functions that would order strings that mix characters and numbers in a "natural" way (ie, "a1 a2 a10" instead of "a1 a10 a2"), I found the mixedsort and mixedorder from the gtools package.
Problems:
1- mixedorder does not work in a "do.call(mixedorder, mydataframe)" call like the order function does
2- gtools has not been updated in 2.5 years
Are you aware of an equivalent of this function in base R or a another contributed package (with correction of problem #...
2008 Sep 05
1
Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)
...all the usual build
files (DESCRIPTION, NAMESPACE, etc). I'm trying to run the following
command:
R CMD check dice
(where "dice" is the name of the package I'm checking), and I get the following:
* checking package dependencies ... ERROR
Packages required but not available:
gtools
My DESCRIPTION file does (correctly) list gtools as a dependency, so
I'm happy this check is ensuring its availability. What I can't
figure out is how to get the check command to see that gtools is in
fact installed. I've created a file called .Renviron in my home
directory that has...
2007 Feb 20
4
linux gplots install unhappy
...lots without trouble, and it works fine.
When I attempted to do the same on the unix computer, the following error
message was forthcoming:
downloaded 216Kb
* Installing *source* package 'gplots' ...
** R
** data
** inst
** preparing package for lazy loading
Loading required package: gtools
Warning in library(pkg, character.only = TRUE, logical = TRUE, lib.loc =
lib.loc) :
there is no package called 'gtools'
Error: package 'gtools' could not be loaded
Execution halted
ERROR: lazy loading failed for package 'gplots'
** Removing '/n/fs/disk/resuse...
2006 Oct 21
2
problem with mode of marginal distriubtion of rdirichlet{gtools}
Hi all,
I have a problem using rdirichlet{gtools}.
For Dir( a1, a2, ..., a_n), its mode can be found at $( a_i -1)/ (
\sum_{i}a_i - n)$;
The means are $a_i / (\sum_{i} a_i ) $;
I tried to study the above properties using rdirichlet from gtools. The code
are:
##############
library(gtools)
alpha = c(1,3,9) #totoal=13
mean.expect = c(1/13, 3...
2018 Mar 12
0
Equivalent of gtools::mixedsort in R base
...n Bihorel
<sebastien.bihorel at cognigencorp.com> wrote:
> Hi,
>
> Searching for functions that would order strings that mix characters and numbers in a "natural" way (ie, "a1 a2 a10" instead of "a1 a10 a2"), I found the mixedsort and mixedorder from the gtools package.
>
> Problems:
> 1- mixedorder does not work in a "do.call(mixedorder, mydataframe)" call like the order function does
> 2- gtools has not been updated in 2.5 years
>
> Are you aware of an equivalent of this function in base R or a another contributed package (w...
2018 Mar 12
0
Equivalent of gtools::mixedsort in R base
...t;
sebastien.bihorel at cognigencorp.com> wrote:
> Hi,
>
> Searching for functions that would order strings that mix characters and
> numbers in a "natural" way (ie, "a1 a2 a10" instead of "a1 a10 a2"), I
> found the mixedsort and mixedorder from the gtools package.
>
> Problems:
> 1- mixedorder does not work in a "do.call(mixedorder, mydataframe)" call
> like the order function does
> 2- gtools has not been updated in 2.5 years
>
> Are you aware of an equivalent of this function in base R or a another
> contributed...
2018 Mar 12
1
Equivalent of gtools::mixedsort in R base
x <- c( "a1", "a10", "a2" )
y <- c( "b10", "b2", "a12", "ca1" )
DF <- expand.grid( x = x, y = y )
# randomize
set.seed( 42 )
DF <- DF[ sample( nrow( DF ) ), ]
# missing from gtools
mixedrank <- function( x ) {
seq.int( length( x ) )[ gtools::mixedorder(x) ]
}
o <- do.call( order, lapply( DF, mixedrank ) )
DF[ o, ]
# or, as Bert suggests:
myrank <- function( v ) {
vu <- unique(v)
vl <- regmatches( vu,regexec("^([A-Za-z]+)(\\d+)$",vu))
a...
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANG...
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANG...
2010 May 17
1
Running gplots package with Windows 7
Hello,
I'm fairly new to R and am running version 2.11.0 with Windows 7. I need to
run the package gplots. The package installs fine, but when I try to load
it I receive the message:
Loading required package: gtools
Error: package 'gtools' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc) :
there is no package called 'gtools'
After that, the package has some functionality but I cannot run the barplot2
command,...