Re: [R] Opencpu and caching

2017-04-28 Thread Jake Stone
-to-make- a-great-r-reproducible-example [2] http://adv-r.had.co.nz/Reproducibility.html -- Sent from my phone. Please excuse my brevity. On April 28, 2017 5:34:37 PM PDT, Jake Stone wrote: >Opencpu website recommends this site. >You might want to clarify with them. > > > >On A

[R] Opencpu and caching

2017-04-28 Thread Jake Stone
I am new to opencpu. My specialty is java. I use R for very specific analyses. *PROBLEM* My understanding is that each API call to opencpu opens a new R session. My function will classify the data input using the predict method of a linear discriminant analysis (lda from MASS package). The initial

[R] Root Dir for OpenCpu files

2017-04-27 Thread Jake Stone
I have opencpu (single server) up and functioning. My first function will open a dataset from a csv file stored on my hard drive. Where should I deploy the csv file? (I tried my apps www directory, but it doesn't work) In sum: within an opencpu app, where do I deploy a file so that this line of c

[R] OpenCPU app development. Testing Source Code

2017-04-26 Thread Jake Stone
I'm brand new to opencpu. Do I have to package my code before I can test on my opencpu single server? It would be nice to just test from source. -- *jake* [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSC

[R] Network Alternative to rJava/JRI?

2017-04-26 Thread Jake Stone
I am a java programmer, quite new to R. I am familiar with rJava/JRI, but would prefer a distributed networked architecture for my systems. TASK: - Java runs an NLP analysis of a text. It then sends an array (vector) of variables to R - R predicts the class of the input vector based on