How to run fos with R backend