[R] About integrating R inside a C++ software

2013-10-21 Thread Tambellini William
Hi,
  We are a company developing a software mainly in C++.
  We want to integrate R inside our software in order to use mainly the 
engine (usual stats as mean, sigma, Pearson, outlier detection, CPA, 
multivariate, ...) and probably later the chart solution.
  Of course we don't want to temporary write the data to some csv files 
and then do an ugly system() call : system(RScript.exe myscript.R) for 
many legitimate reasons.
  We are also using Qt so a Qt to/from R wrapper could be interesting.
  For the moment, we have found these solutions :
- using directly the standard R C API : R.h, Rmath.h, R_ext, 
- Rcpp : www.rcpp.org
- QtInterfaces : http://r-forge.r-project.org/projects/qtinterfaces/
- RInside http://dirk.eddelbuettel.com/code/rinside.html

  Any advices ?
Kind regards
William.
-- 
*William Tambellini*
Senior Developper
Phoenix, AZ, USA
www.galaxysemi.com
Semiconductor Intelligence

Subscribe to our blog at http://www.galaxysemi.com/blog
Join the support portal at http://support.galaxysemi.com

Confidentiality Notice: The information contained in thi...{{dropped:9}}

__
R-help@r-project.org mailing list
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.


Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Tambellini William

Hi Cleber
 It cant find /tmp which does not exist on standard win32 mount system.
 Are you sure you dont have to call the make all... from the cygwin 
bash (cygwin terminal) and not the msdos pseudo terminal ?

W.


Le 04/10/2013 17:03, Cleber N.Borges a écrit :

hello all,
I am trying to compile the R in Win7
and compiles one small part

but the script don't move from the 'base' directory to 'stats'

I installed the Rtools likee administrator
and call the terminal (MS-DOS) like administrator too.

if somebody can tell me any tips, I thank in advanced
cleber
#


File LOG

http://klebyn.ploud.com/arquivo_log/log


C:\Rsrc
C:\Rsrc
C:\Rsrctar -xf R-3.0.2.tar.gz

C:\Rsrcwhere basename cat cmp comm cp cut date diff du echo expr gzip 
ls makeinfo

C:\Rtools\bin\basename.exe
C:\Rtools\bin\cat.exe
C:\Rtools\bin\cmp.exe
C:\Rtools\bin\comm.exe
C:\Rtools\bin\cp.exe
C:\Rtools\bin\cut.exe
C:\Rtools\bin\date.exe
C:\Rtools\bin\diff.exe
C:\Rtools\bin\du.exe
C:\Rtools\bin\echo.exe
C:\Rtools\bin\expr.exe
C:\Rtools\bin\gzip.exe
C:\Rtools\bin\ls.exe
C:\Rtools\bin\makeinfo.exe
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeinfo.exe

C:\Rsrcwhere mkdir mv rm rsync sed sort texindex touch uniq
C:\Rtools\bin\mkdir.exe
C:\Rtools\bin\mv.exe
C:\Rtools\bin\rm.exe
C:\Rtools\bin\rsync.exe
C:\Rtools\bin\sed.exe
C:\Rtools\bin\sort.exe
C:\Windows\System32\sort.exe
C:\Rtools\bin\texindex.exe
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\texindex.exe
C:\Rtools\bin\touch.exe
C:\Rtools\bin\uniq.exe

C:\Rsrcsort --version
sort (GNU coreutils) 8.15
Packaged by Cygwin (8.15-1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
http://gnu.org/licenses/gpl.html.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and Paul Eggert.

C:\Rsrccd R-3.0.2\src\gnuwin32
C:\Rsrc\R-3.0.2\src\gnuwin32make all recommended  compilaR.log
#
#

http://klebyn.ploud.com/arquivo_log/log

#
#

connections.c: In function 'do_readbin':
connections.c:3759:8: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
connections.c:3761:8: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
connections.c:3769:4: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
connections.c:3784:4: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
connections.c:3788:4: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]

pcre_exec.c: In function 'pcre_exec':
pcre_exec.c:7190:20: warning: 'match_partial' may be used 
uninitialized in this function [-Wuninitialized]

localtime.c: In function 'timesub.isra.2':
localtime.c:1407:5: warning: assuming signed overflow does not occur 
when assuming that (X + c)  X is always false [-Wstrict-overflow]
localtime.c:1411:8: warning: assuming signed overflow does not occur 
when assuming that (X - c)  X is always false [-Wstrict-overflow]

localtime.c: In function 'time2sub.constprop.10':
localtime.c:1566:8: warning: assuming signed overflow does not occur 
when assuming that (X + c)  X is always false [-Wstrict-overflow]
localtime.c:1581:5: warning: assuming signed overflow does not occur 
when assuming that (X + c)  X is always false [-Wstrict-overflow]
localtime.c:1593:9: warning: assuming signed overflow does not occur 
when assuming that (X + c)  X is always false [-Wstrict-overflow]
localtime.c:1599:8: warning: assuming signed overflow does not occur 
when assuming that (X - c)  X is always false [-Wstrict-overflow]
localtime.c:1619:5: warning: assuming signed overflow does not occur 
when assuming that (X - c)  X is always false [-Wstrict-overflow]

cannot create /tmp/R4428: directory nonexistent
mv: cannot stat `/tmp/R4428': No such file or directory
make[3]: *** [mkR1] Error 1
make[2]: *** [all] Error 2
make[1]: *** [R] Error 1
make: *** [all] Error 2

C:\Rsrc\R-3.0.2\src\gnuwin32

__
R-help@r-project.org mailing list
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@r-project.org mailing list
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.