Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `c`<-function(...){list(...)[[-1]];}->>`c`;`[`=0;`]`=10;c(c,c)(c,c)(c,invisible)(`[`[]:`]`[])[];
- [1] 0 1 2 3 4 5 6 7 8 9 10
- {.=0;for(`~1` in c(1,2,3,4,5,6,7,8,9,10)){.=c(., `~1`,recursive=F)};print(unname(.[drop=T]));rm(.)}
- [1] 0 1 2 3 4 5 6 7 8 9 10
- unlist(lapply(LETTERS[-(11:26)],function(x) as.integer(charToRaw(x))-as.integer(charToRaw('A'))+1L))
- #[1] 1 2 3 4 5 6 7 8 9 10
- I(cumsum(Reduce("sum", replicate(paste0(as.integer(T),as.integer(T)), T), accumulate=1-F) - T >0))
- assign("a",1:10); b<<-paste(a,collapse=";"); unlist(lapply(strsplit(b,";")[[1]],function(c)c[[1]]))
Add Comment
Please, Sign In to add comment