Skip to content

Commit

Permalink
add slam question
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris1221 committed Oct 17, 2016
1 parent 778421d commit d52ae0b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,29 @@ Q: **How does `goldi` match terms to sentences?**
Q: **What if I don't have my text in R, but instead as a text or PDF file?**
> A: `goldi` has four distinct methods for importing text locally, please see the wiki article on the subject.
Q: **Installation from CRAN is not working and it says something about `slam`, what's going on?**

Newer versions of the `tm` package, which is a dependency of `goldi` require a package named `slam` which needs to be compiled from Fortran. Try the following, and if it doesn't work, raise an issue on the repository and we'll get it fixed!

Type the following into terminal (on Mac OSX):

```sh
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
```

Install `slam`:

```R
install.packages("slam")
```

Reinstall `goldi`:

```R
install.packages("goldi")
```

Q: **When I install the package, I get messages about `libc` or `gcc` versions. What's happening?**
> A: The most likely scenario is that your `gcc` compiler (which compiles the `c++` code) is out of date, espcially if you are on an older version of linux distribution like CentOS on some cluster systems. Contact your system administrator and try to update `gcc`.
Expand Down

0 comments on commit d52ae0b

Please sign in to comment.