fixed R chunks