实例 R 语言 创建两个变量

x
 
name <- "John"
age <- 40
name   # output "John"
age    # output 40
                    

输出结果

[1] "John"
[1] 40