args <- commandArgs(trailingOnly = TRUE)
if (length(args) > 0) {
- Env.set(repl_env, "*ARGV*", new.listl(slice(list(args),2)))
+ Env.set(repl_env, "*ARGV*", new.listl(slice(as.list(args),2)))
tryCatch({
. <- rep(concat("(load-file \"", args[[1]], "\")"))
}, error=function(err) {