R을 처음 써 보는 사람들이면 예제를 따라 할때 함수를 못찾아서 애먹을 때가 있다. 이런 경우 해당 예제에서 쓰고 있는 함수를 담은 패키지를 다운받아 설치하면 돌릴 수 있다. 예를 들어, 내가 autoplot()이라는 함수를 쓰고 싶은데, 아래처럼 예제에 나온대로 돌리니 해당 함수를 찾을수 없다는 에러가 뜬다. > autoplot(melsyd[,"Economy.Class"]) + ggtitle("passengers: Melbourn-Sydney") + xlab("year") + ylab("passengers(Unit: 1,000)") Error in autoplot(melsyd[, "Economy.Class"]) : could not find function "autoplot" 이 autoplot이라는 ..