Is Rgraphviz no longer available for 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 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")

Related

Unable to install Peaks package: package ‘Peaks’ 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 12 months ago.
I am working with series data and want to count the number of local 'maxima' and 'minima' (i.e. peaks and troughs/oscillations) along each series. I want to use the 'Peaks' package for this but only get the following error:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
Warning in install.packages :
package ‘Peaks’ 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
As suggested I installed rtools without any problems but it still returned the same error when I tried installing 'Peaks'. I have not found any information at the cran.r-project link and have also tried to install findpeaks but got the same error. I am not actually sure what version I am running on my desktop (how do you check?); but I have tried it also on Rstudiocloud, which I think is the latest version (4.1.2).I have also tried:
findPeaks(MaxMn, thresh=0)
findValleys(MaxMn, thresh=0)
but R couldn't find the function. I'm a little confused about whether it is a package or function and what I need to do to make it happen. Any suggestions would be greatly appreciated.
Peaks vignette: https://www.rdocumentation.org/packages/splus2R/versions/1.3-3/topics/peaks
After installing Rtools, you need to put it on the system PATH so that R can find it while trying to build a package from its source code. It's highly likely that in your case Rtools is installed but not on the system path.
You can find the latest details on the process of installing rtools, adding to path and verifying installation is correct from Rtools page (https://cran.r-project.org/bin/windows/Rtools/rtools40.html).
The package is no longer available on CRAN: "Archived on 2019-04-18 as check problems were not corrected despite reminders."
From googling "R detect peaks", it looks like there are a number of current packages you might be able to use, including pracma and peakPick. In addition to CRAN, this also feels like something the Bioconductor repository may have packages for.

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'.

Package bigmemory not installing on R 64 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 am trying to install the bigmemory package in R 64 version 3.0.2 on Windows. I get the following error:
install.packages('bigmemory')
Installing package into ‘C:/Users/Audrey/Documents/R/win-library/3.0’(as ‘lib’ is unspecified)
Warning message: package ‘bigmemory’ is not available (for R version 3.0.2)
> library(bigmemory)
Error in library(bigmemory) : there is no package called ‘bigmemory’
Any help or insight will be much appreciated. I get the same error with previous R version 2.15.
See http://cran.r-project.org/web/packages/bigmemory/index.html under "Windows Binary". There are no windows binarys available. Have a look at the Read-Me file.
According to the package's news page, "Windows support is temporarily suspended due to issues with the Boost headers". That's the latest entry on the page, dated 2013-03-09.

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.

How do I install an older R package? [duplicate]

This question already has answers here:
Installing older version of R package
(8 answers)
Closed 7 years ago.
I am trying to install the R package bigrf using the following command:
install.packages('bigrf')
However, I receive this error:
Warning in install.packages: package 'bigrf' is not available (for R version 3.0.2).
I understand that the package was not built for R version 3.0.2, but is it not possible for me to install it regardless with the understanding that it might not have complete forward compatibility?
The safest thing to do would be to download the last version that the package was built for (link) and run the code on that version.
The easiest way to rebuild a package from source is using R-Studio.
They have a good walkthrough. You will need to use the devtools package as well.

Resources