Hello,

Please disregard my previous message for it was wrong.  The correct one is
below.

I'm downloading quote data using the getSymbols() function.  It works very
well but it downloads two additional data frames with just one column for a
few of the symbols, namely _mean_log and _sd_log.
The traditional 5 column OHLCV data frames for each symbol remain ok.
However there are more two data frames downloaded with one column in some
symbols.

I move all downloaded symbols to a list in order to ease some required
computation.  At the same time, my routine depends on OHLCV data only.
Thus, I need to have a new list discarding the new data frames with a
single column that exist in some symbols on the current list.  These
symbols with the "extra" column must be removed from the list.

Could anyone suggest a solution to this problem, please?
I thought about using the ncol() function for each element on the list and
keep only the list elements with 5 columns.

Thanks in advance for any help,

--
Andre Luiz Tietbohl Ramos, PhD

        [[alternative HTML version deleted]]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to