similar to: Add-on Package

Displaying 20 results from an estimated 400 matches similar to: "Add-on Package"

2012 Sep 26
2
gbinom function
Dear all, I have just downloaded a package 'prob' and also loaded it using library(prob). Whereas function 'tosscoin' works very well the other functions like 'gbinom' for graphing density functions does not work. I get the message: > gbinom(20,0.3) Error: could not find function "gbinom" How do I go about it? Thanks. Kizito.
2003 May 22
3
How to avoid function masking
Hi All, I've been working on updating the 'genetics' package. As a consequence of the upgrade, .First.lib() looks like: .First.lib <- function(libname, pkgname) { if (!require(combinat)) warning("Unable to load 'combinat' library. Function `diseq.ci' will fail.") require(gregmisc) genotype <-
2013 Jan 24
2
Please help R error message "masked from 'package:utils':combn"
Hi The message occurred from R, when I was selected of "optimization > block diagonal Fhiser matrix" and used the attached file on PFIM. Could you please advise me about the following message? ***************************** Loading required pakage: combinat Attaching package:'combinat' The following object(s) are masked from 'package:utils':combn
2013 Sep 06
1
Importing function that is previously imported by other package
Dear developeRs, I encounter the following problem: in the current version of my package FrF2, certain calls to a functioni do not work when package combinat is loaded, because function combn from combinat masks the function from utils that my package uses. I tried to solve this issue by importing function combn into the namespace of FrF2; I don't need to export it, I just want to use it
2005 Apr 04
1
Handling very large integers with factorial and combinat (nCm)
Dear list, perhpas this question is more suitable for R-dev but since I am not really a developer I post it here first. Apparently the following lines do not create any problem in R: library(combinat) r <- 20; b <- 2; sum( sapply(0:r,function(x) nCm(r,x)^(2*b)) ) > 2^64 while in C I obtain an overflow of data even using unsigned long long and with long double I incurr in precision
2006 Aug 18
1
Permutations with replacement
Is there a simple function or process that will create a matrix of permutations with replacement? I know that using the combinat package ###### begin R code ###### > library(combinat) > m <- t(array(unlist(permn(3)), dim = c(3, 6))) # we can get the permutations, for example 3!=6 # gives us > m [,1] [,2] [,3] [1,] 1 2 3 [2,] 1 3 2 [3,] 3 1 2 [4,]
2017 Nov 01
0
"prob" package alternative
> On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > The prob package has been archived because it depends upon some other > packages which have issues. > > However, such projects as Introduction to Probability and Statistics in R > depend upon it for learning. There are a few other resources that also use > it. > > Does anyone
2017 Nov 02
2
"prob" package alternative
The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. Alternatively, is there another package that behaves similarly to prob? On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Nov
2005 May 04
2
loading gap package
Dear R users, I did install R. 2.0.1, and try to load "gap" package. However, below is the message shown when I did load it. Can anybody please let me know my mistakes? ---- > library() > library(gap) Loading required package: MASS Loading required package: genetics Loading required package: combinat Loading required package: gdata Error: package 'gdata' could not be
2005 Aug 17
2
Copying rows from a matrix using a vector of indices
Hi, I am trying to use a vector of indices to select some rows from a matrix. But before I can do that I somehow need to convert 'combinations' into a list, since 'mode(combinations)' says it's 'numerical'. Any idea how I can do that? library("combinat") combinations <- t(combn(8,2)) indices <- c(sample(1:length(combinations),10)) # convert ???
2006 May 08
3
Non repetitive permutations/combinations of elements
Hello all, I am trying to create a matrix of 1s and -1s without any repetitions for a specified number of columns. e.g. 1s and -1s for 3 columns can be done uniquely in 2^3 ways. -1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 1 -1 -1 1 -1 1 1 1 -1 1 1 1 and for 4 columns in 2^4 ways and so on. I finally used the function combn([0 1],3) that I found at the following link
2010 Feb 20
1
Problem with installing "genetics" package
I have tried to install the "genetics" package and am getting and error. The log is below. For information, I am using R 2.10.1 on the Windows XP operating system. The mirror site I'm using is Michigan Technological University. Your help in this matter will be greatly appreciated. Murray M Cooper, PhD Richland Statistics 9800 North 24th St Richland, MI, USA 49083
2017 Nov 02
2
"prob" package alternative
Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. The problems with all of this seem to have started this month according to the conversations. However, no one has
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already. sessionInfo() R version 3.4.2 Patched (2017-10-04 r73465) Platform:
2017 Nov 02
2
"prob" package alternative
Yes, that is exactly what I was doing two days ago. Warning in install.packages : installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have some other suggestion about how to get it to work? I notice you're not using Windows which might have a relationship
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now. > > The problems
2017 Nov 02
2
"prob" package alternative
Rtools is not available for the current version of R. What I'm looking for is an alternative package or how others have managed to create workarounds. On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > > > Yes, that is exactly what I was doing
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote: > > Yes, that is exactly what I was doing two days ago. > > Warning in install.packages : > installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status > > Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have
2017 Nov 01
2
"prob" package alternative
The prob package has been archived because it depends upon some other packages which have issues. However, such projects as Introduction to Probability and Statistics in R depend upon it for learning. There are a few other resources that also use it. Does anyone know of any workarounds? Someone at stack exchange mentioned using R 2.9. However, that broke my RStudio (WSOD) and the dependent
2017 Nov 02
2
"prob" package alternative
Thanks. I found that, and installed it and got the same message. Here: RTools version 3.4 install.packages("fAsianOptions_3010.tar.gz", dependencies=TRUE, repos=NULL, type = "source") Installing package into ?C:/Users/Tlk7/Documents/R/win-library/3.4? (as ?lib? is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz' Error: ERROR: no packages specified