Thanks a lot . Appreciate your time . I am sorry for missing snippets of
the code , trying to copy back and forth . My bad .sorry for that .
The dataframe df is to be of VECSXP .
PROTECT(df = allocVector(VECSXP,2));
What I am trying to do ?
Lets say you read a huge table , with each column is d
On 06/26/2014 05:18 PM, Sandip Nandi wrote:
Hi ,
I have asked a question , whether the data structure I am using to
create a dataframe is fine or there is anyother way i can use. My aim is
to read a database and write it to dataframe and do operation on it .
The dataframe creation ,output every
Hi ,
I have asked a question , whether the data structure I am using to create a
dataframe is fine or there is anyother way i can use. My aim is to read a
database and write it to dataframe and do operation on it . The dataframe
creation ,output everything works . The code I put is wrong , tryin
Hi Sandip,
On 06/26/2014 04:21 PM, Sandip Nandi wrote:
Hi ,
I have put incomplete code here . The complete code works , My doubt is
, what I am doing logical/safe ? Any memory leak going to happen ? is
there any way to create dataframe ?
I still don't believe it "works". It doesn't even compi
Hi ,
I have put incomplete code here . The complete code works , My doubt is ,
what I am doing logical/safe ? Any memory leak going to happen ? is there
any way to create dataframe ?
SEXP formDF() {
SEXP dfm ,head,df , dfint , dfStr,lsnm;
SEXP valueVector[2];
char *ab[3] = {"aa","vv","gy"};
i
Hi,
On 06/26/2014 02:32 PM, Sandip Nandi wrote:
Hi ,
For our production package i need to create a dataframein C . So I wrote
the following code
SEXP dfm ,head,df , dfint , dfStr,lsnm;
*SEXP valueVector[2];*
char *ab[3] = {"aa","vv","gy"};
int sn[3] ={99,89,12};
char *listnames[2] = {"int",
Hi ,
For our production package i need to create a dataframein C . So I wrote
the following code
SEXP dfm ,head,df , dfint , dfStr,lsnm;
*SEXP valueVector[2];*
char *ab[3] = {"aa","vv","gy"};
int sn[3] ={99,89,12};
char *listnames[2] = {"int","string"};
int i,j;
//