-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Rdotnet without having R installed #125
Comments
Interesting, I actually didn't catch that part of the README! I'm wondering if @jmp75 can confirm that's still the case? I'm not actually sure what it would take to get this up and running, since it seems like you would still need to set some environment variables, and I know there are a lot of registry checks. Just curious about the desire to deploy without having R installed - is it to simplify deployment to users? |
Yes, the reason is to simplify the installation of my software package for my end users. My end users are not developers, so they're not going to have R installed by default. So if I can just package the minimal R libraries sufficient to run a couple of R files from my C# app it would simplify things greatly. (In my case another organization has provided a complicated algorithm written in R, and I just want to be able to bundle it with my app and call it if possible, without having to worry about R being installed and configured). I saw the quote in the Readme under the software requirements section, and was hopeful that this scenario is possible. Thanks! |
@randbrown @lrasmus I deployed a medical imaging software on PCs without R installation. On my developers PC I wrote cmake code to copy the entire system R distribution ( In C# the R engine is initialized in the following way:
Hope this helps. |
Thanks @kingcrimsontianyu ! |
Thanks @kingcrimsontianyu I will look into trying this, whenever I get back onto that project. Thanks for showing your example code. |
According to the readme, "R needs not necessarily be installed as a software on the executing machine, so long as DLL files are accessible". How does one package a C# desktop application (distributing the R DLLs) in such a scenario so the end users do not have to download and install R separately? In my case, I only need to support Windows platform and .NET Framework 4.5.2+. Can the R binaries be xcopy deployed along with the application?
The text was updated successfully, but these errors were encountered: