I am not too sure why the tidymodels package is not installing for me, can someone help me with this?
https://gyazo.com/317ade9f7f4b01451e7ef3f91ec4515f
From Start, go to R and open RGui. Type install.packages("tidymodels"). This should work. You will probably need to select the cran location (closest to you). If this does not work, uninstall and then reinstall R and then follow the above steps. Close RGui and do not save workspace image.
Related
I try install TreeLS package, but i receive this message.
install.packages("TreeLS")
Message:
Installing package into ‘C:/Users/Matheus Pacheco/AppData/Local/R/win-library/4.2’
Warning in install.packages :
package ‘TreeLS’ 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 found that the package is not present in CRAN anymore, and i try install from source, using:
install.packages("TreeLS", repos = "https://cran.r-project.org/src/contrib/Archive/TreeLS/TreeLS_2.0.2.tar.gz", repo = NULL, type="source")
But, some functions in the package, doesn't work.
I would be grateful if someone can help me. My final paper in PhD depends on it.
Thanks!
I'm afraid that if you're using a retired package, there is little help to get unless you try to fix it yourself. The question become too general.
But, some functions in the package, doesn't work.
Contact package developer, there is probably another package that include what you need, or his code might have been moved into some other package. He/She would know.
Perhaps someone can help you if you pull out the parts you need.
last resort (not recommend), downgrade to a compatible R version.
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 cannot find anymore the R package vctrs in the mirror https://cloud.r-project.org/bin/windows/contrib/3.6/. This package is a dependent on the tidyverse.
I am working on a Citrix corporate machine, so I cannot (easily) install Rtools to load it manually.
I tried to go on https://cloud.r-project.org/ to raise this issue, but I could not find a way to raise this...maybe the community here knows better!
Thanks
It has been added now on 02SEP20.
Installing Quantstrat Issues. I am running the latest versions of R, RStudio, and Rtools. I have installed devtools / remotes packages and cannot seem to get quantstrat installed. enter image description here
I had similar problems too. Installing quantstrat via cmd works well for me. Here are the steps:
Create a folder for packages i.e RPackages\
Download the file from github to that specific folder and extract the files to the library name. i.e RPackages\quantstrat\
go on command line and goto RPackages
Type" R CMD build quantstrat
If it was successful, you will get a message like "building 'package_name_version_number.tar.gz'"
Now type: R CMD INSTALL package_name_version_number.tar.gz
Let me know if you have any other challenges.
I get the following error at step 4:
'R' is not recognized as an internal or external command,
operable program or batch file.
what do I need to do to overcome this.
Here is the fix that worked for me:
There could be version issues depending on what version of R that you have especially for Blotter and PerformanceAnalytics. Since PerformanceAnalytics to install blotter, you must ensure that version force compatibility and the easiest way is just to install it fresh. Start by installing PerformanceAnalytics then blotter then quantstrat and you should be in good shape. Use the code below and let me know how your results turn out. Took me a few hours to solve it, but just got it done today (7/27/2020)
install.packages("PerformanceAnalytics")
remotes::install_github("braverock/blotter")
remotes::install_github("braverock/quantstrat", force = TRUE)
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.