-
Notifications
You must be signed in to change notification settings - Fork 3
Home
phcosta29 edited this page Oct 26, 2016
·
1 revision
- Lua 5.3
- TerraME >= 2.0.0 Beta 3
- Lua socket
- Lua vstruct
- Start a terminal. Press
Ctr + Alt + T - Install R. (instructions)
- Install Rserve:
- Start R (by terminal).
sudo R- Install Rserve.
install.packages("Rserve")- Exit R.
quit()- Install Lua.
sudo apt-get install lua5.3 liblua5.3-dev- Install luasocket:
git clone https://github.com/phcosta29/luasocket-lua5.3.gitcd luasocketmakesudo make installlua test/hello.luacd ..-
NOTE: If luasocket compilation fails because of missing headers (e.g. lua.h),copy them to the common header folder. For example:
sudo ln -s /usr/include/lua5.3/lua.h /usr/include/lua.hsudo ln -s /usr/include/lua5.3/luaconf.h /usr/include/luaconf.hsudo ln -s /usr/include/lua5.3/lauxlib.h /usr/include/lauxlib.h
- Install vstruct:
git clone https://github.com/ToxicFrog/vstruct.gitsudo cp -r vstruct /usr/local/share/lua/5.3/lua vstruct/test.lua- Start Rserve. On a dfferent terminal type
R CMD Rserve. Or done: Rlibrary(Rserve)-
Rserve(debug=TRUE). - And have a good time!