Hello, I am developing an application using Qt framework and C++. I want to use R as statistics engine of my application. After doing some search on internet; I came to the conclusion that RCPP, MPI with RInside is what I need. The next logical task was to quickly tryout "qtdensity" project of RInside, for understanding the build and other settings. I hit some roadblock here and got little confused. I have following quaries: 1. I am using Qt 5.8 MSVC and would like to distribute both 64 bit as well as 32 bit application. 2. Can I use binary distribution provided on CRAN with this version of Qt? 3. If not then; do I need to build R myself with MinGW and Qt too with the same version of MinGW? 4. regarding make file modifications how should I set R_HOME env. variable? Currently my R is installed in "C:\Program Files\R\R-3.4.0" If I set env variable R_HOME = "C:\Program Files\R\R-3.4.0"....I get QMake error: The system cannot find the path specified. Any help will be much appreciated. Thanks, Santosh [[alternative HTML version deleted]]
Is this application meant to be commercial? If so, R's open source license probably would forbid you to use it. I defer to those with real legal knowledge on this point, but you should check it. If it is not meant to be commercial, then ignore -- I have nothing useful to offer you. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jun 28, 2017 at 1:36 PM, Santosh Kumar <lsantoshksingh at gmail.com> wrote:> Hello, > > I am developing an application using Qt framework and C++. I want to use R > as statistics engine of my application. After doing some search on > internet; I came to the conclusion that RCPP, MPI with RInside is what I > need. The next logical task was to quickly tryout "qtdensity" project of > RInside, for understanding the build and other settings. I hit some > roadblock here and got little confused. I have following quaries: > > 1. I am using Qt 5.8 MSVC and would like to distribute both 64 bit as well > as 32 bit application. > 2. Can I use binary distribution provided on CRAN with this version of Qt? > 3. If not then; do I need to build R myself with MinGW and Qt too with the > same version of MinGW? > 4. regarding make file modifications how should I set R_HOME env. variable? > Currently my R is installed in "C:\Program Files\R\R-3.4.0" If I set env > variable R_HOME = "C:\Program Files\R\R-3.4.0"....I get QMake error: The > system cannot find the path specified. > > Any help will be much appreciated. > > Thanks, > Santosh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
If you adhere to the terms of the license for R you should be okay legally. If you use contributed packages they may have additional requirements. However, these terms are often overlooked by programmers targeting Windows, hence Bert's caution. As to the content of the original post itself, it is off-topic for this list... it belongs in R-devel (but you may need to study the Posting Guide more thoroughly (use plain text at least) and clearly communicate your licensing intentions to elicit help there. You probably also ought to carefully read the R Installation and Administration Manual and indicate why that document did not answer your questions. -- Sent from my phone. Please excuse my brevity. On June 29, 2017 12:32:40 AM EDT, Bert Gunter <bgunter.4567 at gmail.com> wrote:>Is this application meant to be commercial? If so, R's open source >license probably would forbid you to use it. I defer to those with >real legal knowledge on this point, but you should check it. If it is >not meant to be commercial, then ignore -- I have nothing useful to >offer you. > >Cheers, >Bert > > >Bert Gunter > >"The trouble with having an open mind is that people keep coming along >and sticking things into it." >-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > >On Wed, Jun 28, 2017 at 1:36 PM, Santosh Kumar ><lsantoshksingh at gmail.com> wrote: >> Hello, >> >> I am developing an application using Qt framework and C++. I want to >use R >> as statistics engine of my application. After doing some search on >> internet; I came to the conclusion that RCPP, MPI with RInside is >what I >> need. The next logical task was to quickly tryout "qtdensity" project >of >> RInside, for understanding the build and other settings. I hit some >> roadblock here and got little confused. I have following quaries: >> >> 1. I am using Qt 5.8 MSVC and would like to distribute both 64 bit >as well >> as 32 bit application. >> 2. Can I use binary distribution provided on CRAN with this version >of Qt? >> 3. If not then; do I need to build R myself with MinGW and Qt too >with the >> same version of MinGW? >> 4. regarding make file modifications how should I set R_HOME env. >variable? >> Currently my R is installed in "C:\Program Files\R\R-3.4.0" If I set >env >> variable R_HOME = "C:\Program Files\R\R-3.4.0"....I get QMake error: >The >> system cannot find the path specified. >> >> Any help will be much appreciated. >> >> Thanks, >> Santosh >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.
Seemingly Similar Threads
- help needed for RInside with Qt
- help needed for RInside with Qt
- QT + RInside problem complement
- [VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
- [VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?