Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 R 的新手。我需要为 R 编写一个扩展。当 Rstudio 启动时,应该调用这个包中的一个函数来验证并将一些数据加载到主内存以便更快地访问。我如何告诉 R studio 在启动时调用将数据加载到主内存中的特定函数?
这可以使用包中的 .onLoad 函数挂钩来实现。