I am creating a Twitter sentimental analysis and in the html page, I am giving a tab for looking at the Word Cloud. The Word Cloud code is in R. How do I integrate the R code into my HTML page. Any idea? Thanks.
Asked
Active
Viewed 787 times
2 Answers
1
You may have to use any server side languages like php and execute your R code with php shell_exec function and return this data to html using ajax.

Sanjay Kumar N S
- 4,653
- 4
- 23
- 38
0
Either call an external R-script from php or whatever language you are using (see: this thread) , and generate the images and html-code to be included with knitr or something similar.
Or try Rstudios shiny
package to serve this part of the site directly from R.