【发布时间】:2013-03-03 10:04:42
【问题描述】:
有没有办法调用文件中定义的函数,比如 myfunc.r
---------------myfunc.r --------------
myfunc = function(){
return(c(1,2,3,4,5,6,7,8,9,10))
}
getname = function(){
return("chart title")
}
---- Python
How to call getname() here ?
任何帮助将不胜感激?
【问题讨论】:
-
为什么在这里定义
myfunc? -
@agstudy:我认为只是一个表明文件可以包含多个函数的示例。