Thanks for such a quick answers!
Unfortunately, I have read that before and still don't know how to make it.
There is no C/C++ exampe in a package from that site. I don't know C# and
have to little time to learn it now.
I know it can't be so complicated as it seems to be!
I need just a few lines of code in C++, like these in VB:
  Dim sconn As StatConnector
  Dim gfxdev As ISGFX
  Set sconn = New StatConnector
  sconn.Init "R"
  Set gfxdev = Gfx1.GetGFX
  sconn.AddGraphicsDevice "dev1", gfxdev
  sconn.EvaluateNoReturn "plot(1:3,c(3,10,4),type=""l"")"
  sconn.Close

All I have managed so far is #include <R.h>... : /


2008/5/29 Felipe Momm <[EMAIL PROTECTED]>:

> I have a sample using C#, if you want, let me know.
>
> 2008/5/29 Thomas Baier <[EMAIL PROTECTED]>:
>
> spam spam schrieb:
>>
>>> Hi!
>>>
>>
>> Hi "spam spam"! Interesting name, indeed!
>>
>>  I have a problem with embedding R in C++. I've been looking for a
>>> friendly tutorial or sample code over the web, but didn't manage to find.
>>> I need to use R in my C++ application, which is my project at studies.
>>>
>>
>> See
>> http://learnserver.csd.univie.ac.at/rcomwiki/doku.php?id=user_2006_tutorial_on_r_d_com_rexcel_and_rcomfor
>>  a tutorial.
>>
>> Thomas
>>
>> _______________________________________________
>> Rcom-l mailing list
>> Rcom-l@mailman.csd.univie.ac.at
>> http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
>> More information (including a Wiki) at http://rcom.univie.ac.at
>>
>
>
>
> --
> Felipe Momm
> _______________________________________________
> Rcom-l mailing list
> Rcom-l@mailman.csd.univie.ac.at
> http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
> More information (including a Wiki) at http://rcom.univie.ac.at
>
_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to