Displaying 1 result from an estimated 1 matches for "my_r_code".
Did you mean:
my_qcode
2012 May 02
1
returning value from source() in R .Net
Hello
I would like to source an R script from within a C# .Net application equivalent to:
source("my_r_code.r")
I can get this to run but am not sure how to retrieve R objects defined with script my_r_code.r at runtime.
For example, if "my_r_code.r" contains
#-- contents of my_r_code.r---------------------
x <- 1:10
xmean <- mean(x)
#-----------------------------------------------...