opencpu - Creating the first web page via brew -


when use accesses application, want return web page construct using brew. right have init() - function user specifies. function executes brew , creates web page. returns file name of web page.

when attempt following ../library/xbrowser/r/init/file following error reported browser:

cannot coerce type 'closure' vector of type 'character'  in call: as.character(x) 

the documentation indicates use /file output means create , return web page. using feature incorrectly? there better way create , return web page?

ok, think problem operator error.

i should have been testing function post instead of is, of course, method used when use browser.

i don't message if post curl - instance.

my apologies wasting anyone's time.

peter

one more observation: don't use init function name; seems use other namespace , complains lazy-loading database named 'p'


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -