bd2kccd/r-causal

Failed to install "rcausal" on Windows 10

Amin-Tajgardoon opened this issue · 3 comments

> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.0
year 2017
month 04
day 21
svn rev 72570
language R
version.string R version 3.4.0 (2017-04-21)
nickname You Stupid Darkness

> library(devtools)
> install_github("bd2kccd/r-causal")
Downloading GitHub repo bd2kccd/r-causal@master
from URL https://api.github.com/repos/bd2kccd/r-causal/zipball/master
Installing rcausal
"C:/PROGRA1/R/R-341.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL
"C:/Users/mot16/AppData/Local/Temp/RtmpUvrEdR/devtools20e8156b4ee8/bd2kccd-r-causal-481abd3"
--library="C:/Users/mot16/Documents/R/win-library/3.4" --install-tests

* installing source package 'rcausal' ...
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'rcausal':
.onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/mot16/Documents/R/win-library/3.4/rJava/libs/i386/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.

Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/mot16/Documents/R/win-library/3.4/rcausal'
Installation failed: Command failed (1)

i have met the same question. i wonder if the problem is solved..thanks

same problem here.

@Hansli1993 setting up the rJava with R is hard and depends on your machine's environment. You can use the docker container, which its settings were installed and tested properly. https://cloud.docker.com/u/chirayukong/repository/docker/chirayukong/r-causal-rstudio