From Chad.P.Jenness at wellsfargo.com  Wed Dec 14 19:27:06 2005
From: Chad.P.Jenness at wellsfargo.com (Chad.P.Jenness@wellsfargo.com)
Date: Wed, 14 Dec 2005 12:27:06 -0600
Subject: [Rd] Linking C/C++ GUI to R.dll
Message-ID: <FB8EAA6054D93C468B34261C0F0673D7796133@msgswbmnmsp23.wellsfargo.com>

Is there any way that we can get it to the C level API?  Or is there a C
level API function that will give us access to more of the R
functionality?  Also, is there a series of examples on how to use the C
level API?

Chad Jenness
Electronic Payment Business Services
Office: 612-667-9782
Email: Chad.P.Jenness at WellsFargo.com

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any information herein.  If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation"


-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: Wednesday, December 14, 2005 9:49 AM
To: Jenness, Chad P.
Cc: r-devel at stat.math.ethz.ch
Subject: Re: [Rd] Linking C/C++ GUI to R.dll


On Wed, 14 Dec 2005 Chad.P.Jenness at wellsfargo.com wrote:

> Hi,
>
> I am in the process of linking a C/C++ application to the R.dll
> directly.  I have obtained the R source code and compiled it 
> successfully.  I have also successfully linked the R.dll directly into

> our application and have made calls successfully into the R.dll that 
> are included in the sample rtest.c and in the "Writing R Extensions - 
> The R API".
>
> The R functionality that we are interested in embedding into our
> application is the data analysis and graphics.  However, I did not see

> any references to this in the R API section of the documentation.  Is 
> this functionality available from our C/C++ application via the R.dll?

> If so, how do we access this functionality?

By reading the section on 'linking GUIs and other front-ends'.  It is
not 
in the C-level API.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Linking C/C++ GUI to R.dll
Chad.P.Jenness@wellsfargo.com