Where is the .R script file located on the PC?

后端 未结 4 1003
猫巷女王i
猫巷女王i 2021-01-01 01:00

I want to find the location of the script .R files which are used for computation in R.

I know that by typing the object function, I will get the code which is runn

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 01:21

    See FAQ 7.40 How do I access the source code for a function?

    In most cases, typing the name of the function will print its source code. However, code is sometimes hidden in a namespace, or compiled. For a complete overview on how to access source code, see Uwe Ligges (2006), “Help Desk: Accessing the sources”, R News, 6/4, 43–45 (http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf).

提交回复
热议问题