Trying to get R to work in the server thread...