fPortfolioBacktest could not be installed [duplicate] - r

This question already has answers here:
Cannot install R-forge package using install.packages
(4 answers)
Closed 9 years ago.
I could not install the fPortfolioBacktest.
Because the link is missing. Only Linux and Mac are available.
to install:
install.packages("fPortfolioBacktest", repos="http://R-Forge.R-project.org")
I have the below error messages:
package ‘fPortfolioBacktest’ is available as a source package but not as a binary
Warning message:
package ‘fPortfolioBacktest’ is not available (for R version 3.0.0)
Can anyone help me?

With R 3.0.0, if you have all the dependencies for fPortfolioBacktest installed, you can install it from source by specifying type=source:
install.packages("fPortfolioBacktest", repos="http://r-forge.r-project.org",
type="source")

Related

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

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