I want my R code to be organised into different files. I have done done that but I am not able to call a function present in another file from my current file. I know it would be a simple thing... It would be great if someone can pen down a response.
file1: test1.R contains
`func1<-function(){
....
}`
file2: test2.R contains
func2<-function(){
func1();
}
Both files are in same directory I get an error : func1 doesn't exist
Is there something like C,Cpp like include statement in R