You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installation issue. R version 3.4.3. Python 3.6. windows 8.1 with rPython #20
Firstly, I use install.packages("rPython") to install rPython,the result:
Installing package into ‘C:/Users/fanfj/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘rPython’ is not available (for R version 3.4.3)
And then, I use install("D:/download/rPython"), and edit the configure.win file as follows:
#!/bin/sh
echo 'PKG_LIBS=-LD:\Users\Anaconda3\libs -lpython36' > src/makevars.win
echo 'PKG_CFLAGS=-I"D:\Users\Anaconda3\include"' >> src/makevars.win the result as follows:
installing source package 'rPython' ...
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture
c:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LD:UsersAnaconda3libs -lpython36 -LC:/PROGRA1/R/R-341.3/bin/x64 -lR
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
removing 'C:/Users/fanfj/Documents/R/win-library/3.4/rPython'
In R CMD INSTALL
Error: Command failed (1) I use the directory (D:\Users\Anaconda3\libs) to check file, just python36.lib, no the file lpython36.
So where I can find lpython36, what's the problem?
Activity
Riiiiichard commentedon Mar 14, 2019
I encount the same problem as you, but I can't solve it.