I downloaded rSMILE and I'm trying to install it in R. I'm using R version 4.1.3 However, I get this error message
Warning in install.packages :
package ‘C:~/R/win-library/4.1/rSMILE_2.0.8’ is not available for this version of R
What do you advise me to do? Thank you
rSMILE 2.0.8
-
- Site Admin
- Posts: 1422
- Joined: Mon Nov 26, 2007 5:51 pm
Re: rSMILE 2.0.8
Your version of R must be compatible with the R version we use to build rSMILE. As indicated in the rSMILE section at our download website, we currently use R 4.2.1. You need to update your R if you want to proceed with rSMILE 2.0.8.
Re: rSMILE 2.0.8
Thank you for your earlier reply, I have now updated my R version to:
4.2.1 (2022-06-23 ucrt) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
but I still get the same error message:
Warning in install.packages :
package ‘C:/~/R/win-library/4.2.1/rSMILE_2.0.8’ 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/ ... g-packages
What am I getting wrong?
4.2.1 (2022-06-23 ucrt) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
but I still get the same error message:
Warning in install.packages :
package ‘C:/~/R/win-library/4.2.1/rSMILE_2.0.8’ 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/ ... g-packages
What am I getting wrong?
-
- Site Admin
- Posts: 1422
- Joined: Mon Nov 26, 2007 5:51 pm
Re: rSMILE 2.0.8
You should pass the full .zip file name to install.packages and use the 'type' parameter:
The example above assumes that .zip is located in your Downloads folder. install.packages will copy the contents of the .zip.
Code: Select all
> install.packages("C:/Users/your-user-id/Downloads/rSMILE_2.0.8.zip", repos = NULL, type = "win.binary")
package 'rSMILE' successfully unpacked and MD5 sums checked