Skip to main content

Timeline for Loop without 'looping'

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jul 15, 2014 at 13:57 comment added raptortech97 If I could take a stab at this, letters is a built-in vector a-z, print is the built-in print function, and lapply applies the function to every member of a vector/array/matrix/dataframe and then puts them together and returns the result. Interestingly, print returns the printed object as a character vector, so at the interactive prompt this program prints out all the letters a-z and then prints them out again because they are the output of lapply.
Jul 11, 2014 at 13:15 history edited djhurio CC BY-SA 3.0
added 233 characters in body
Jul 11, 2014 at 11:25 comment added Manuel Allenspach Can you explain what this code-snippet does?
Jul 11, 2014 at 10:25 review Low quality posts
Jul 11, 2014 at 12:54
Jul 11, 2014 at 10:05 history answered djhurio CC BY-SA 3.0