On Sun, Nov 15, 2009 at 9:16 PM, Duncan Murdoch - murd...@stats.uwo.ca
<+nabble+miller_2555+1412c7fca2.murdoch#stats.uwo...@spamgourmet.com>
wrote:
>
> Sorry, I missed something else that's obvious: .Call needs a return value.
> The c function needs to include Rinternals
On 15/11/2009 8:25 PM, nabble.30.miller_2...@spamgourmet.com wrote:
On Sun, Nov 15, 2009 at 2:52 PM, Duncan Murdoch -
nabble.30.miller_2...@spamgourmet.com
<>
wrote:
On 15/11/2009 1:41 PM, nabble.30.miller_2...@spamgourmet.com wrote:
The "character" type in R corresponds to STRSXP in C, which i
On Sun, Nov 15, 2009 at 8:30 PM, Duncan Murdoch - murd...@stats.uwo.ca
<+nabble+miller_2555+1412c7fca2.murdoch#stats.uwo...@spamgourmet.com>
wrote:
> On 15/11/2009 8:25 PM, nabble.30.miller_2...@spamgourmet.com wrote:
>> ptest.c:
>> --
On 15/11/2009 8:25 PM, nabble.30.miller_2...@spamgourmet.com wrote:
On Sun, Nov 15, 2009 at 2:52 PM, Duncan Murdoch -
nabble.30.miller_2...@spamgourmet.com
<>
wrote:
On 15/11/2009 1:41 PM, nabble.30.miller_2...@spamgourmet.com wrote:
The "character" type in R corresponds to STRSXP in C, which i
On Sun, Nov 15, 2009 at 2:52 PM, Duncan Murdoch - murd...@stats.uwo.ca
<+nabble+miller_2555+1412c7fca2.murdoch#stats.uwo...@spamgourmet.com>
wrote:
> On 15/11/2009 1:41 PM, nabble.30.miller_2...@spamgourmet.com wrote:
>>
> The "character" type in R corresponds to STRSX
Hello -
I am making a first attempt at writing a simple C++ routine to print
out R objects (this is a simple proof-of-concept as part of a larger
package development). The relevant C++ routine is as follows:
void Rwrite(SEXP fd, SEXP msg) {
int *ofd = INTEGER(fd);
const char * omsg = CHAR(asC
> ...
> (This is modified from an example on James Wettenhall's page
> http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/).
>
> Duncan Murdoch
>
I had not considered a GUI solution. This works perfectly! Many thanks for
the help. If I come across a CLI solution, I will post here in case o
Hi -
I'm creating a package of database tools. A function in the package
requires the username and password as input to the function in order to
initially connect to the target database(s). Of course, this poses a
significant security issue given the possible retention of the function
stateme