swirlydino
swirlydino

Reputation: 29

How can I solve Error: object 'opencpu' not found

I tried to load the appdemo into opencpu and it gave me an error. How should I solve this error?

Steps to Reproduce:

 1. git clone git clone https://github.com/rwebapps/appdemo.git
 2. sudo -i R[enter image description here][1]
 3. library(opencpu)
 4. opencpu$browse("/library/appdemo/www")

picture of the error on my terminal

Upvotes: 1

Views: 625

Answers (1)

Jeroen Ooms
Jeroen Ooms

Reputation: 32988

In OpenCPU 2.0 you need a different command to start the server:

ocpu_start_server()

Or to directly start the appdemo app

ocpu_start_app("rwebapps/appdemo")

Upvotes: 1

Related Questions