Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install "rcausal" on Windows 10 #45

Open
Amin-Tajgardoon opened this issue Jun 6, 2017 · 3 comments
Open

Failed to install "rcausal" on Windows 10 #45

Amin-Tajgardoon opened this issue Jun 6, 2017 · 3 comments

Comments

@Amin-Tajgardoon
Copy link

Amin-Tajgardoon commented Jun 6, 2017

> 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)

@Yezihahaha
Copy link

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

@hangjianli
Copy link

same problem here.

@chirayukong
Copy link
Collaborator

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants