[R] Including an external set of coded

Steven Yen @tyen @end|ng |rom ntu@edu@tw
Tue Feb 20 16:36:20 CET 2024


How can I call and include an external set of R codes, not necessarily a complete procedure (which can be include with a “source” command). Example:

#I like to include and run the following lines residing in a file outside the main program:

mydata<-transform(mydata,
a<-b+c
d<-e+f
}


Steven from iPhone
	[[alternative HTML version deleted]]



More information about the R-help mailing list