The following Java code illustrates the easy integration of Rserve:ĭouble d = c.eval("rnorm(10)").asDoubles() ĭ now contains 10 random samples from the N(0,1) distribution if there is a runing Rserve on the local machine. Typical use is to integrate R backend for computation of statstical models, plots etc. ![]() ![]() Rserve supports remote connection, authentication and file transfer. Client-side implementations are available for popular languages such as C/C++, PHP, JavaScript and Java. Every connection has a separate workspace and working directory. Rserve is a TCP/IP server which allows other programs to use facilities of R (see from various languages without the need to initialize R or link against R library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |