-
Notifications
You must be signed in to change notification settings - Fork 993
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
error when installing development version #1652
Comments
@GeraldCNelson Are you able to reproduce it in R? what is your |
Running from R in the shell that Rstudio opens gives the same error. Session info for Rstudio locale: attached base packages: loaded via a namespace (and not attached): |
Will fix. It needs a #ifdef for compilers that either aren't openmp aware or doesn't have it enabled by default. Since you're on a mac, you can install brew install clang-omp Then using your favorite text editor, add the lines: CC=clang-omp -fopenmp
CXX=clang-omp++ -fopenmp
# on mine, I also have:
# CFLAGS=-g -O3 -Wall -pedantic -mtune=native -std=gnu99
# CXXFLAGS=-g -O3 -Wall -pedantic -mtune=native -std=c++11 to |
At some point I must have installed homebrew. Running
But I'm still getting an error. Here's what it looks like
|
That's strange.. |
Could you paste your command and the entire output here please? |
Here is the command and output from the Rstudio console
|
Re the 'missing' stdlib.h file, here's my path
I do have a stdlib.h file on my computer. It's at /usr/local/include/c++/4.9.0/tr1. Should this be in my path? |
Do you've Xcode development tools installed? Please install the latest Xcode along with the development tools. Then update homebrew and reinstall clang-omp. That should work I think.. but it's time consuming, sorry about that.. |
I can add the #ifdef _OPENMP and a warning message on startup. Actually, maybe a warning message on running fwrite() since the startup message might be missed/suppressed by user. Aside, 3 related answers. Don't know if useful. |
Okay, I'll leave you to it then. If you add the I'm testing some things on parallelising |
Done. Not around all #pragma: http://bisqwit.iki.fi/story/howto/openmp/#Discussion. We want users to be warned they have an openmp lacking compiler/environment (which seems just OSX clang). Or rather, it should be up to user whether they turn off those warnings by turning off Either |
Yes, I do have Xcode development tools installed. Actually, no. I have Xcode installed but not the development tools. I'll do that and see what I progress I can make. Gerald C. Nelson Professor Emeritus, UIUC +1 217-390-7888 (cell) +1 970-639-2079 (land line) From: Arun [email protected] Do you've Xcode development tools installed? — |
Updating home-brew seems to have done the trick. At least the dev version of data.table now installs. Thanks for your help! |
👍 |
That seems to have worked for me. I finally found makevars (I was thinking it was a directory and not a text file). Mine looks like this now. I can't recall why I have the FLIBS in there.
|
I will say that I had to run it 3 times because I could not believe the write times (13 sec for a 3.1 GB csv file). For a test script, see this link: https://gist.github.com/markdanese/28b9f5412df55efceba754fee2363444 |
It looks like an inclusion of Line 3 in 5c5067d
(I get a failure when attempting to install on OS X using Apple
|
Yes, I'm aware of it. Will fix. |
Unable to install R studio On Microsoft Open R, Windows Platform using R studio version 0.99.896. CMD.EXE was started with the above path as the current directory.
|
Usually a '127' error means you don't have R build tools set up properly (I also think you might have trouble since you're using UNC paths) |
Hello! I get the following error, even though it seems that I've tried all the aforementioned steps. Here's my output. I'm running on an OS X 10.11.14 El Capitain. Can somebody shed some light on this issue? `> install.packages("data.table", type = "source",
The downloaded source packages are in |
@arturlascala thanks. It's an oversight on my part. It should be |
Fixed in commit d0e63f8 |
Thanks, @arunsrinivasan ! Works fine now! |
Update: You no longer need to install separate |
With this command in rstudio on a mac.
install.packages("data.table", type = "source", repos = "https://Rdatatable.github.io/data.table")
I get the following error
The text was updated successfully, but these errors were encountered: