search for: vlist300

Displaying 1 result from an estimated 1 matches for "vlist300".

2009 Jun 29
2
How to read a list into R??
...000 [[3]] [1] 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 [19] 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.5 0.0 0.5 0.0 0.0 0.0 0.0 'List.txt' was output by 'sink' from R. I try to read 'List.txt' into R. First I tried 'dget', I got > dget('Vlist300.txt') Error in parse(file = file) : Vlist300.txt: unexpected '[[' at 1: [[ Then I tried 'scan', >scan('List.txt', what='list') Read 86 items [1] "[[1]]" "[1]" "0.0" "0.0" "0.0" &qu...