Nantes Université

Skip to content
Extraits de code Groupes Projets
README.adoc 1,14 ko
Newer Older
Erwan BOUSSE's avatar
Erwan BOUSSE a validé
= WordcloudGenerator

== Presentation

WordcloudGenerator is a basic web application able to compute a word cloud from a text file.

== Requirements and dependencies

The application is developed using the R language, and requires the following R packages :

- `tm`, to analyse the text file.
- `wordcloud`, to create the word cloud.
- `shiny`, to provide the web interface.

Erwan BOUSSE's avatar
Erwan BOUSSE a validé
In addition, the application requires that the https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home[libxml2] native C library to be available in the execution environment, in its development version.
Erwan BOUSSE's avatar
Erwan BOUSSE a validé
Note that *libxml2 must be installed in your environment _before_ installing the required R packages listed above!*

[CAUTION]
====
Erwan BOUSSE's avatar
Erwan BOUSSE a validé
Be careful, the libxml2 development library has a different package name depending on your environment:
Erwan BOUSSE's avatar
Erwan BOUSSE a validé

Erwan BOUSSE's avatar
Erwan BOUSSE a validé
 * _deb_: `libxml2-dev` (Debian, Ubuntu, Alpine, etc)
 * _rpm_: `libxml2-devel` (Fedora, CentOS, RHEL)
 * _csw_: `libxml2_dev` (Solaris)
Erwan BOUSSE's avatar
Erwan BOUSSE a validé
====


== Using the application

To start the application, simply run:

```
$ Rscript ./wordcloudapp.R
```

Then you can access your application locally using a web browser and accessing http://localhost:8888.