RFileHandler vs RFileEval with Rook

28 views
Skip to first unread message

Murat Tasan

unread,
Dec 19, 2014, 3:25:18 PM12/19/14
to rap...@googlegroups.com
Hi all ---

Is there any functional difference between these two Rook paradigms?

foo1.R:
  APP <- ## code to create APP
Method 1 in Apache conf:
  RFileEval /path/to/foo1.R:Rook::Server$call(APP)

foo2.R:
  APP <- ## code to create APP
  Rook::Server$call(APP) ## i.e. final line in foo2.R
Method 2 in Apache.conf:
  RFileHandler /path/to/foo2.R

Is one method preferred?
If so, why?

Cheers,

-murat
Reply all
Reply to author
Forward
0 new messages