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

can not install Flash package. #4

Closed
wohatian opened this issue Feb 8, 2017 · 7 comments
Closed

can not install Flash package. #4

wohatian opened this issue Feb 8, 2017 · 7 comments

Comments

@wohatian
Copy link

wohatian commented Feb 8, 2017

Dear author,

I was trying to install Flash package using code
"library(devtools)
install_github("flr/FLash", lib="D:/software/R_library")"

I tried several R and Rtool combinations: 1) R 3.3.2 with Rtool 3.4; (-->"gcc can not found") 2) R 3.2.4 with Rtool 3.3. (-> i guess error starts from "C:\Rtools\gcc-4.6.3\bin\nm.exe: 'sublibs': No such file"

However, neither of them managed to install. Do you know what could possibly lead to my failure of installation? Could u recommend a R-Rtool version combination? or what the log would be if installation is successful, so that I can check my log to figure out where went wrong?

thanks very much in advance!!

Regards,
Chun

@iagomosqueira
Copy link
Member

FLash for windows only works on the 32-bit version. So you need to call the 32-bit version from the command line or change the $PATH$ variable to point to the i386 executable. This is due to some old C++ code.

I will add a warning on the github page about it.

We are working on a new version, coded from the ground up using RCpp, which can be found at

https://github.com/iagomosqueira/FLasher

We should have it ready for release in 3-4 weeks.

Let us know if you get it to compile.

@wohatian
Copy link
Author

wohatian commented Feb 8, 2017 via email

@iagomosqueira
Copy link
Member

iagomosqueira commented Feb 8, 2017

Will check. There is a compiled version available at our repository for both R 3.3 and 3.2

install.packages('FLash', repos='http://flr-project.org/R')

As we are working on the new version we are limited on the time we can spend fixing the soon-to-be-retired one.

@wohatian
Copy link
Author

wohatian commented Feb 8, 2017 via email

@iagomosqueira
Copy link
Member

Great. We might still look into it and see if there is an easy fix.

@iagomosqueira
Copy link
Member

Compilation works using the --no-multiarch options, for example

devtools::install_github('flr/FLash', INSTALL_opts="--no-multiarch")

@wohatian
Copy link
Author

wohatian commented Feb 9, 2017 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