Connecting to Oracle Database from R? [duplicate] - r

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.

Related

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.

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")

Install old package using install.packages [duplicate]

This question already has answers here:
Installing older version of R package
(8 answers)
Closed 7 years ago.
I get
package ‘rJava’ is not available (for R version 2.15.0)
Warning: unable to access index for repository http://cran.stat.ucla.edu/bin/macosx/leopard/contrib/2.15
when using install.packages() if the repository does not have a version of the given package for my version of R, 2.15.0--the latest Mac binary. Is there a way to get R to check in for older versions, e.g. rJava for R 2.14?
I know that I could download the tar.gz file and then use R CMD INSTALL in terminal, but I was wondering if there was a way to do this using install.packages(). Thank you.
Try a different CRAN mirror repository (e.g. install.packages("rJava", repos = "http://cran.us.r-project.org/"), or simply try installing again with the UCLA repository. The CRAN mirror monitor report suggests there has been some sporadic downtime at the UCLA mirror recently. An Rjava binary for R 2.15.0 should be available. I can access it directly on the UCLA mirror at http://cran.stat.ucla.edu/bin/macosx/leopard/contrib/2.15/rJava_0.9-3.tgz .
You could install the old version of R, which has the compatible version of the package. If rJava is only available for 2.14, I'd just run that version.

Resources