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

RStudio does not find julia under Windows #61

Open
jazzguitar1986 opened this issue Dec 24, 2017 · 2 comments
Open

RStudio does not find julia under Windows #61

jazzguitar1986 opened this issue Dec 24, 2017 · 2 comments

Comments

@jazzguitar1986
Copy link

When trying to install julia from RStudio (v. 1.0.136) using R (v. 3.3.0), i receive the following error message:

> devtools::install_github("armgong/rjulia", args = "--no-multiarch")# or ref="0.3" if using Julia v0.3
Downloading GitHub repo armgong/rjulia@master
from URL https://api.github.com/repos/armgong/rjulia/zipball/master
Installing rjulia
"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/besitzer/AppData/Local/Temp/Rtmpa82XMk/devtools133815d635c2/armgong-rjulia-9c946cf"  \
  --library="C:/Users/besitzer/Documents/R/win-library/3.3" --install-tests --no-multiarch 

* installing *source* package 'rjulia' ...
** libs
julia: not found
julia: not found
C:/RBuildTools/3.4/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-33~1.0/include" -DNDEBUG -I/../../src -I/../../src/support -I/../include -I/../include/julia -D_WIN32_WINNT=0x0600    -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -std=gnu99 -mtune=core2 -c Julia_R.c -o Julia_R.o
Julia_R.c:13:19: fatal error: julia.h: No such file or directory
 #include <julia.h>
                   ^
compilation terminated.
make: *** [Julia_R.o] Error 1
Warnung: Ausführung von Kommando 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.0/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-33~1.0/share/make/winshlib.mk" SHLIB="rjulia.dll" WIN=64 TCLBIN=64 OBJECTS="Julia_R.o R_Julia.o dataframe.o embedding.o"' ergab Status 2
ERROR: compilation failed for package 'rjulia'
* removing 'C:/Users/besitzer/Documents/R/win-library/3.3/rjulia'
Installation failed: Command failed (1)

I added the julia installation path to my system PATH variables. (Variable called Julia contains the path C:\Users\besitzer\AppData\Local\Julia-0.6.2\bin in my case).

What am I doing wrong?

@mmd52
Copy link

mmd52 commented Jul 31, 2018

Hey!
I am getting a similar error, did you find any solution for this?

@jazzguitar1986
Copy link
Author

jazzguitar1986 commented Jul 31, 2018 via email

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

2 participants