Skip to content

Instantly share code, notes, and snippets.

@houshuang
Last active August 25, 2015 19:25
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
stops working beyond a certain number of elements
elem = function(x,y) { x[[y]]}
splitspc = . %>% as.character %>% strsplit(' ', fixed=TRUE) %>% unlist
a = dbraw$V6 %>% head(n=10000000) %>% laply(splitspc)
method =a[1,]
url = a[2,]
# output:
# > a = dbraw$V6 %>% head(n=100) %>% laply(splitspc)
# > a = dbraw$V6 %>% head(n=1000) %>% laply(splitspc)
# > a = dbraw$V6 %>% head(n=10000) %>% laply(splitspc)
# Error: Results must have the same dimensions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment