Barnard's Exact Test in R [duplicate] - r

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 5 years ago.
I am performing Barnard's exact test for 2X2 contingency table. I found https://cran.r-project.org/web/packages/Exact/Exact.pdf for doing Barnard's test in R. My R version is 3.2.2 . I am trying to install package Exact, but it seems the package is not available for R version 3.2.2 . Is it so? How do you implement Barnard's test in R ?
Edit:
install.packages("Exact")
It gives the following message
Warning: unable to access index for repository https://mirror.aarnet.edu.au/pub/CRAN/src/contrib
Warning: unable to access index for repository https://mirror.aarnet.edu.au/pub/CRAN/bin/windows/contrib/3.2
Warning message:
package ‘Exact’ is not available (for R version 3.2.2)
library(Exact)
Error in library(Exact) : there is no package called ‘Exact’

Did you type the following exactly? (See what I did there)
install.packages("Exact")

Related

How do I deal with 'package ‘mudata’ is not available for this version of R' [duplicate]

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed last year.
I tried to install the mudata package in the RStudio Cloud using:
install.packages("mudata")
library(mudata)
I get the following output:
Warning in install.packages :
package ‘mudata’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
I followed the link but found nothing about the mudata package.
Does anyone have any ideas how to go about that?
Thanks
Solved.
The package 'mudata' is now 'mudata2'.

Connecting to Oracle Database from R? [duplicate]

This question already has answers here:
Installation of RODBC/ROracle packages on OS X Mavericks
(4 answers)
Closed 8 years ago.
I have searched and it seems that RODBC or Roracle are used to connect to a oracle database within R.
However, both of these packages will not install for me in R 3.1.1....am I missing something? Is there a new/latest package that just came out that I should be using instead?
package ‘RODBC’ is available as a source package but not as a binary
Warning in install.packages :
package ‘RODBC’ is not available (for R version 3.1.1)
I am using Mac OSX 10.9.4. I tried using install.packages('RODBC').
I get that message when i use 3.1.1 so I toggled to 3.1.0 using R studio.
When I am using R 3.1.0 i get the message
Warning message:
package ‘RODBC’ was built under R version 3.1.2
The package does get installed and i am able to use the functions in the package just fine.

package ‘syncwave’/‘mvcwt’ is not available (for R version 3.0.2) [duplicate]

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 8 years ago.
I would like to install the packages mvcwt and SynchWave but get following messages:
Warning message:
package ‘mvcwt’ is not available (for R version 3.0.2)
Warning message:
package ‘syncwave’ is not available (for R version 3.0.2)
In the reference manual to mvcwt there is no reference on which version of R the package depends. But the publication date of the package is 2013-11-06, so the package is not old.
In the reference manual to SynchWave one can read: "Depends R (>= 2.13), fields (>= 6.7.6)", so it should work wich my version (3.0.2), or?
Why I cannot install these packages?
I am able to instal mvcwt on my machine (also R 3.0.2). If you can't, it may be the mirror is not up to date. I always use the 0-cloud mirror (really rstudio.org) because it seems to be the most up to date.
For the second package, it should be install.packages('SynchWave'). You had: install.packages('syncwave'). I was also able to install this package for R 3.0.2.

What to do when a package is not available for our R version? [duplicate]

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 8 years ago.
Very often, when I try to download a package, I've got the following message :
Warning in install.packages :
package ‘XXXX’ is not available (for R version 3.0.1)
Is it not possible to simulate an old version of R to use the package ?
Try something like:
packageurl <- "http://cran.r-project.org/src/contrib/Archive/XXXX/XXXX_A.B.C.tar.gz"
install.packages(packageurl, contriburl=NULL, type="source")
where XXXX is your package name and A.B.C is the version of the package (not R).

Is Rgraphviz no longer available for R? [duplicate]

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 5 years ago.
I am running R version 3.0.1 in a 64 bit OS, and I have tried to install Rgraphviz 3 different ways:
1) I have used install.packages(Rgraphviz), but I get the error
Error in install.packages(Rgraphviz) : object 'Rgraphviz' not found
2) I have tried going through Packages > Install Packages in the R window, but I cannot find Rgraphviz
3) When I go through CRAN, at http://cran.r-project.org/web/packages/Rgraphviz/index.html, I get the message "Package ‘Rgraphviz’ was removed from the CRAN repository."
Does anyone know if there is any way I can get Rgraphviz, or if there is a suitable alternate?
You need to install it directly from the bioconductors site.
For R versions >= 3.5:
install.packages("BiocManager")
BiocManager::install("Rgraphviz")
For older R versions:
source("http://bioconductor.org/biocLite.R")
biocLite("Rgraphviz")
More info can be found here.
You just need to remember that the instruction install.packages requires you to enclose the package name between quotes, like this:
install.packages("Rgraphviz")

Resources