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)
#------------------------------------------------------

My question is how to return the value of xmean to the .Net application?

Paul





	[[alternative HTML version deleted]]

