The R Project SVN R-packages

Rev

Rev 3684 | Rev 3808 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3684 Rev 3700
Line 486... Line 486...
486
    SEXP ret = R_NilValue;
486
    SEXP ret = R_NilValue;
487
    char *iname = SDF_INAME(sdf);
487
    char *iname = SDF_INAME(sdf);
488
    sqlite3_stmt *stmt;
488
    sqlite3_stmt *stmt;
489
    int buflen = 0, idxlen, col_cnt, row_cnt, index;
489
    int buflen = 0, idxlen, col_cnt, row_cnt, index;
490
    int i, j,res;
490
    int i, j,res;
491
    int *col_indices, col_index_len, *dup_indices;
491
    int *col_indices = NULL, col_index_len = 0, *dup_indices = NULL;
492
    int row_index_len = 0, force_new_df = LOGICAL(new_sdf)[0];
492
    int row_index_len = 0, force_new_df = LOGICAL(new_sdf)[0];
493
    const char *colname;
493
    const char *colname;
494
 
494
 
495
    /* dup_indices is used to handle when same column chosen more than once.
495
    /* dup_indices is used to handle when same column chosen more than once.
496
     * e.g. iris[,c(1,1)] have names Sepal.Length, Sepal.Length.1 *
496
     * e.g. iris[,c(1,1)] have names Sepal.Length, Sepal.Length.1 *