r - RODBC Connection Problems for SQLite3 on MAC -


i have looked through forums find solution particular type of connection problem. lot of people have asked questions rodbc, people working different database types have different drivers.

i getting error showing lot of people when try use

ch <- rodbc::odbcconnect("my_db.db")  warning messages: 1: in rodbc::odbcdriverconnect("dsn=my_db.db") : [rodbc] error: state im002, code 0, message [unixodbc][driver manager]data       source name not found, , no default driver specified 2: in rodbc::odbcdriverconnect("dsn=my_db.db") : odbc connection failed 

people suggest using function 1 can specify necessary drivers, can't find necessary drivers sqlite3. don't know on machine , can't find them online.

my r session info

> sessioninfo() r version 3.3.2 (2016-10-31) platform: x86_64-apple-darwin13.4.0 (64-bit) running under: macos sierra 10.12.3  locale: [1] en_us.utf-8/en_us.utf-8/en_us.utf-8/c/en_us.utf-8/en_us.utf-8  attached base packages: [1] stats     graphics  grdevices utils     datasets  methods   base       other attached packages: [1] rodbc_1.3-14  loaded via namespace (and not attached): [1] rcpp_0.12.9        magrittr_1.5       splines_3.3.2      mass_7.3-45           lattice_0.20-34    r6_2.1.2            [7] minqa_1.2.4        car_2.1-2          dplyr_0.5.0        tools_3.3.2        nnet_7.3-12        parallel_3.3.2     [13] pbkrtest_0.4-6     grid_3.3.2         nlme_3.1-128       mgcv_1.8-15        quantreg_5.24      dbi_0.5-1          [19] matrixmodels_0.4-1 digest_0.6.9       lme4_1.1-12        assertthat_0.1     tibble_1.1         matrix_1.2-7.1     [25] rjava_0.9-8        nloptr_1.0.4       rjdbc_0.2-5        rockchalk_1.8.101  memoise_1.0.0      rsqlite_1.1-2      [31] sparsem_1.7  

i using recent ios software. have downloaded recent iodbc administrator, have no idea how supposed work.

it seems there obvious answers problem, can't find online.

clay


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -