Change R function path