Displaying 2 results from an estimated 2 matches for "example_list".
2010 Feb 19
1
Confused about appending to list behavior...
...is really going on and why one approach works and another doesn't.
Thank you again for all the help and feedback, as I love lists and especially the fact (that unlike data.frames) you can store different "type" data and also arrays of different lengths. They are great.
> example_list<-list(tracking<-c("house"), house_type<-c("brick", "wood"), sizes<-c(1600, 1800, 2000, 2400))
> example_list
[[1]]
[1] "house"
[[2]]
[1] "brick" "wood"
[[3]]
[1] 1600 1800 2000 2400
>
> cost_limits<-c(200000.25...
2011 May 17
5
Feed a list of filenames to vim
There are some googlable ways to feed a list of filenames to vim, but I
stumble on weird results.
With my filelist, I try to do
cat list | xargs vim
...to edit the files listed in the file "list". Here's what happens:
[root at lasso2 tempdir]# ls -l
total 8
-rw-r--r-- 1 root root 0 May 17 18:28 a
-rw-r--r-- 1 root root 0 May 17 18:28 b
-rw-r--r-- 1 root root 3 May 17