remove rendundant line
add doc lookup for R