New answers tagged

1

I've made this a bit verbose but does this help: (* Define a function that returns the argument *) REvaluate["f <- function(v) {v};"] (* Define the value for a variable *) x = "vvvv"; (* Construct the REvaluate argument *) arg = "f(\"" <> x <> "\")" (* f("vvvv") *) (* Evaluate function *) REvaluate[arg] (* {"vvvv"} *)



Top 50 recent answers are included