snowflakedb / dplyr-snowflakedb

SnowflakeDB backend for dplyr
Apache License 2.0
65 stars 25 forks source link

Unable to install package #1

Closed tpapalex closed 8 years ago

tpapalex commented 8 years ago

Hey all,

Having trouble installing the package using devtools as instructed. Have followed the steps and confirmed:

When I try to install from the repository using: devtools::install_github("snowflakedb/dplyr-snowflakedb")

I get the following error:

'* installing source package 'dplyr.snowflakedb' ... * R * tests * preparing package for lazy loading * help * installing help indices * building package indices * testing if installed package can be loaded * arch - i386 Error : .onLoad failed in loadNamespace() for 'rJava', details: call: library.dynam("rJava", pkgname, libname) error: DLL 'rJava' not found: maybe not installed for this architecture? Error: loading failed Execution halted ** arch - x64 ERROR: loading failed for 'i386' '\ removing 'C:/Users/tpapalexopoulos/Documents/R/win-library/3.3/dplyr.snowflakedb' Error: Command failed (1)

I'd really appreciate any help!

Thanks, Ted

tpapalex commented 8 years ago

Managed to solve; error was introduced by rJava - the library detected the existence of a 32-bit R installation on my machine that it tried to link to a non-existent 32-bit Java installation (in addition to successfully linking the 64 bit installations I always use). Issue went away when I installed 32-bit Java as well (though I imagine uninstalling 32 bit R would have also worked).