[R] Filling empty List in a FOR LOOP

michaelyb cel81009759 at gmail.com
Sun Apr 1 17:59:46 CEST 2012


Basically I need to read the data from an external source using many R
commands.
The problem is that sometimes the source is empty, and I get a list with
empty values, and I need to substitute them by "NA".
It is def. not hard, I just don't see how....
In the prvious post, the first example had values on the source, but the
second example didn't....

--
View this message in context: http://r.789695.n4.nabble.com/Filling-empty-List-in-a-FOR-LOOP-tp4522694p4523731.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list