I would like to install the package r2excel.
Unfortunately, I can't do that because of my proxy.
So, I have to obtain r2excel.tar.gz to install my package.
Could you help me?
Of course I tried:
install.packages("devtools")
devtools::install_github("kassambara/r2excel")
library(r2excel)
but it isn't working as I said because of my proxy...
Thanks in advance!
If you're using RStudio,
Go to the Packages tab, click the Install button, and change "Install from:" to Package Archive File (.tgz; .tar.gz)
Related
I am tying to get the rela package installed on my home computer. When trying install.packages("rela") I get a message:
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
Haven't been able to find much help through online resources.
Try remotes::install_version("rela", version="4.1") (you'll have to install.packages("remotes") first).
First, try to download one of the versions of the package: https://cran.r-project.org/src/contrib/Archive/rela/
Then, install the package by providing the path of the .tar.gz file downloaded
I'm trying to use these packages to niche analysis but both seems to be removed from CRAN and packages which should replace them are not working. There is a new source for these packages or any way to carry out this analysis using another package?
Thank you!
Here you can download the archived file:
https://cran.r-project.org/src/contrib/Archive/EcoSimR/
Save the EcoSimR_0.1.0.tar to your folder.
Got to Packages in RStudio and press install
Install from archive
I am trying to install mvpart and MVPARTwrap packages in R version 3.6.1.
I install on my PC the folder of these two packages in zip version and load them in the relative folder of the package.
When I run the script library(mvpart) I get this message:
ERROR: 'mvpart' package was built before R 3.0.0: please reinstall it."
I try to load this library in the old version of R (version 2.15) and the message is
in install.packages (mvpart): object 'mvpart' not found".
I do not understand why it is impossible to load this package. Thanks so much.
Maybe the answer is no more relevant, but I just had to install those libraries so maybe it will still help someone later. I suggest the install from github as it will install dependencies, you need however to be able to compile the source. So here we go :
first install rtools if it is not already installed go here and follow the instruction
update/install devtools if necessary as described here
using this command, it should work now. you may be asked to update some packages, accept all
devtools::install_github("cran/mvpart")
im trying to install mgarch package from Github. I downloaded the zip file: mgarch_0.00-1.tar.gz
I tried this procedure:
install.packages('package.zip', lib='destination_directory',repos = NULL)
as said here Manually Downloading and Installing Packages in R
But didnt work
Another procedure was: How to install development version of R packages github repository
As suggested at this link i had to install devtools from Hadley.
install.packages("devtools")
library(devtools)
dev_mode(on=T)
install_github("ggplot2")
I did, and nothing happened.
As a begginer im really lost. Just want something to clear my way, because i need to run an BEKK GARCH Model.
try this
library(devtools)
install_github("vst/mgarch")
library(mgarch)
installs this package https://github.com/vst/mgarch
is that the one you want?
the syntax for install_github is (usually) install_github("username/repository") this is rather poorly documented in the ?install_github documentation
I am not able to upload arules package
Below is the following command I am using
library(arules)
I have downloaded the file from http://cran.r-project.org/web/packages/arules/index.html still it is not able to upload it.
Can anyone help me out
install.packages("arules")
pls. find below GUI - Screen for Rcmdr Package
Open RStudio.
Go to the “Packages” tab and click on “Install Packages”. The first time you’ll do this you’ll be prompted to choose a CRAN mirror. R will download all necessary files from the server you select here. Choose the location closest to you (probably “USA CA 1” or “USA CA 2”, which are housed at UC Berkeley and UCLA, respectively).
Install packages in Windows
Start typing “Rcmdr” until you see it appear in a list. Select the first option (or finish typing Rcmdr), ensure that “Install dependencies” is checked, and click “Install”.
Install Rcmdr in Windows
Wait while all the parts of the R Commander package are installed.
I had a similar problem. I solve it using
#install and load devtools to install directly from github
install("devtools")
library("devtools")
install_github("mhahsler/arules")
If you want to install "arules" package, you may not be able to install it just using the code below.
<< install.packages("arules") >>
follow the steps in order to solve problem:
go to the package's address and download it manually.you will find it in the link below:
https://cran.r-project.org/web/packages/arules/index.html
If you are using R-Studio just install that package you have got, by "tools" menu in your IDE (R-studio)
Tools->Install packages->...
brows the file in your computer and install it.
go to the command line and using library(arules) function test the package. If there is still an error it could belong to incompatibility of the package with the version of R (Not R-Studio or any other IDE that you are using), just upgrade R and try installation period again.
I had a related problem where I could not install arules after being able to successfully install many libraries. I finally learned that I needed to update to 3.4 for arules. In order to do that, I followed duckmayr's answer HERE. Then, I was able to install arules with no issues, and it worked.