?
What will be the output of the following R code?
What will be the output of the following R code?
> x <- list(foo = 1:4, bar = 0.6, baz = "hello")
> name <- "foo"
> x$name
> x <- list(foo = 1:4, bar = 0.6, baz = "hello")
> name <- "foo"
> x$name
Join the Discussion
Login to post a comment or share your explanation.
Login