rSMILE 2.0.8

The engine.
Post Reply
nzsk
Posts: 18
Joined: Thu Aug 29, 2019 8:27 am

rSMILE 2.0.8

Post by nzsk »

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
shooltz[BayesFusion]
Site Admin
Posts: 1363
Joined: Mon Nov 26, 2007 5:51 pm

Re: rSMILE 2.0.8

Post by shooltz[BayesFusion] »

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.
nzsk
Posts: 18
Joined: Thu Aug 29, 2019 8:27 am

Re: rSMILE 2.0.8

Post by nzsk »

Many thanks!
nzsk
Posts: 18
Joined: Thu Aug 29, 2019 8:27 am

Re: rSMILE 2.0.8

Post by nzsk »

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?
shooltz[BayesFusion]
Site Admin
Posts: 1363
Joined: Mon Nov 26, 2007 5:51 pm

Re: rSMILE 2.0.8

Post by shooltz[BayesFusion] »

You should pass the full .zip file name to install.packages and use the 'type' parameter:

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
The example above assumes that .zip is located in your Downloads folder. install.packages will copy the contents of the .zip.
nzsk
Posts: 18
Joined: Thu Aug 29, 2019 8:27 am

Re: rSMILE 2.0.8

Post by nzsk »

Thank you, it worked!
Post Reply