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]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.