Simple and raw conversion to yacas

# S3 method for character
as.Sym(x, ...)

Arguments

x

An R character vector.

...

Not used

Examples

x <- c("a", "2", "4", "c", "d", "6")
x
#> [1] "a" "2" "4" "c" "d" "6"
y <- as.Sym(x)
y
#> Yacas vector:
#> [1] a 2 4 c d 6
Eval(y, list(a = 3, c = 3, d = 3))
#> [1] 3 2 4 3 3 6