문제

I am a newbie to R. I need to write a extension for R. When Rstudio is started , a function in this package should be called which verifies and loads some data to main memory for faster access. How can i tell R studio to call a particular function at startup which loads data into main memory ?

도움이 되었습니까?

해결책

This can be achieved using the .onLoad function hook in the package.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top