using rSMILE

The engine.
Post Reply
davidfdavis
Posts: 6
Joined: Mon Aug 27, 2018 2:06 pm

using rSMILE

Post by davidfdavis » Tue May 04, 2021 3:09 pm

I've been away from smile for awhile and now want to use the rSMILE package, I have previously been using SMILE.NET and SMILE.COM successfully. I have been following the directions in the Wrappers manual (I think) and tried to load rSMILE with: install.packages("C:\\Users\\~~\\rSMILE_1.6.0\\rSMILE\\libs\\x64\\rSMILE.dll") which yields "package ‘C:\Users\~~\rSMILE_1.6.0\rSMILE\libs\x64\rSMILE.dll’ is not available for this version of R" I'm using R4.0.3 in rStudio 1.3.1093 Note that I did try to go back to R3.4, but that didn't work either.

piotr [BayesFusion]
Site Admin
Posts: 36
Joined: Mon Nov 06, 2017 6:41 pm

Re: using rSMILE

Post by piotr [BayesFusion] » Wed May 05, 2021 3:31 pm

You don't need to unpack the .zip archive. Besides, if you have files locally, you need to set the repo parameter to NULL and specify the library type - win.library.

The full command for installation will look like this:

Code: Select all

install.packages("path_to_zip_archive", repos = NULL, type = "win.binary")
Also, if you are using RStudio, you can use an alternative installation method by specifying the path to the library in the installer next to the list of installed packages.
alternative_method.png
alternative_method.png (68.52 KiB) Viewed 48 times

davidfdavis
Posts: 6
Joined: Mon Aug 27, 2018 2:06 pm

Re: using rSMILE

Post by davidfdavis » Wed May 05, 2021 5:09 pm

Apparent success! Many thanks,

Post Reply