The R Project SVN R-packages

Rev

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

Rev 3307 Rev 3308
Line 4... Line 4...
4
#include "sqlite3.h"
4
#include "sqlite3.h"
5
 
5
 
6
#ifndef __SQLITE_DATAFRAME__
6
#ifndef __SQLITE_DATAFRAME__
7
#define __SQLITE_DATAFRAME__
7
#define __SQLITE_DATAFRAME__
8
 
8
 
9
#define WORKSPACE_COLUMNS 3
9
#define WORKSPACE_COLUMNS 5
-
 
10
#define MAX_ATTACHED 30     /* 31 including workspace.db */
10
 
11
 
11
/* utilities for checking characteristics of arg */
12
/* utilities for checking characteristics of arg */
12
int _is_r_sym(char *sym);
13
int _is_r_sym(char *sym);
13
int _file_exists(char *filename);
14
int _file_exists(char *filename);
14
int _sdf_exists2(char *iname);
15
int _sdf_exists2(char *iname);
15
 
16
 
16
/* sdf utilities */
17
/* sdf utilities */
-
 
18
int USE_SDF(const char *iname);  /* call this before doing anything on an SDF */
17
SEXP _create_sdf_sexp(const char *iname);  /* create a SEXP for an SDF */
19
SEXP _create_sdf_sexp(const char *iname);  /* create a SEXP for an SDF */
18
int _add_sdf1(char *filename, char *internal_name); /* add SDF to workspace */
20
int _add_sdf1(char *filename, char *internal_name); /* add SDF to workspace */
-
 
21
void _delete_sdf2(char *iname); /* remove SDF from workspace */
19
int _get_factor_levels1(const char *iname, const char *varname, SEXP var);
22
int _get_factor_levels1(const char *iname, const char *varname, SEXP var);
20
int _get_row_count2(const char *table);
23
int _get_row_count2(const char *table);
21
SEXP _get_rownames(const char *sdf_iname);
24
SEXP _get_rownames(const char *sdf_iname);
22
char *_get_full_pathname2(char *relpath); /* get full path given relpath, used in workspace mgmt */
25
char *_get_full_pathname2(char *relpath); /* get full path given relpath, used in workspace mgmt */
23
 
26