datacamp-light-wordpress
datacamp-light-wordpress copied to clipboard
Just want to show a little script
Hi there,
Thank you for very much for making this plug-in! I hope the problem I have is just because I am not getting something... any help is very much appreciated :)
This is what I have in wordpress:
[datacamp_exercise lang="r"]
[datacamp_sample_code]
mylist = list("abc", list("def", "ghi")
mylist[1]
mylist[[1]]
mylist[2]
mylist[[2]]
[/datacamp_sample_code]
[datacamp_pre_exercise_code]
[/datacamp_pre_exercise_code]
[datacamp_solution]
[/datacamp_solution]
[datacamp_sct]
[/datacamp_sct]
[datacamp_hint]
[/datacamp_hint]
[/datacamp_exercise]
This comes up on the post (although nothing comes up if I use <- as the assignment operator):
This is what results after clicking run:
I think you forgot a ) at the end