Re: [R] How download to spreadsheet?

2011-12-13 Thread Yumin
the package "RAdamant" now, I tried the sentence you give me: "write.csv" It declined to work! Could you tell me the way to download quotes to spreadsheet in RAdamant library? --Yumin require(quantmod) getSymbols('IBM', from='2010-01-01

Re: [R] How download to spreadsheet?

2011-09-11 Thread Yumin
g required package: TTR > getSymbols('IBM', from='2010-01-01') [1] "IBM" > write.csv(Cl(IBM), file='ibm-2010-present.csv') > I can open the 'ibm-2010-present.csv' - Original Message - From: Hasan Diwan-2 [via R] To:

[R] How download to spreadsheet?

2011-09-11 Thread Yumin
Hello all: As everyone knows the stock quotes in Yahoo can be downloaded directly on EXCEL spreadsheet. we can also use the simple sentence of package tseries of R to download Yahoo quote: x <- get.hist.quote(instrument = "ibm", start = "2010-01-01", quote = "close

Re: [R] How download Yahoo Quote?

2011-08-28 Thread Yumin
Hi Michael: I have simplified the code only to download the sp500 index. How to correct this simple codes. -- View this message in context: http://r.789695.n4.nabble.com/How-download-Yahoo-Quote-tp3769563p3774672.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] How download Yahoo Quote?

2011-08-27 Thread Yumin
Hi Michael: I installed: install. packages("quantmod") and now it accept library(quantmod) sentence. BUT after input: * con <- url("http://quote.yahoo.com";) if(!inherits(try(open(con), silent = TRUE), "try-error")) {

Re: [R] How download Yahoo Quote?

2011-08-27 Thread Yumin
- Original Message - From: Yumin [via R] To: Yumin Sent: Saturday, August 27, 2011 3:32 PM Subject: Re: How download Yahoo Quote? Hi Michael: I tried to simplify the code, but still failed. con <- url("http://quote.yahoo.com";)

Re: [R] How download Yahoo Quote?

2011-08-27 Thread Yumin
Hi Michael: I tried to simplify the code, but still failed. *con <- url("http://quote.yahoo.com";) if(!inherits(try(open(con), silent = TRUE), "try-error")) { close(con) x <- get.hist.quote(instrumen

[R] How download Yahoo Quote?

2011-08-25 Thread Yumin
Hello all: Friend told me that we can download the stock historical quote from Yahoo site by R! Could you tell me that is true or not, how to do that? Thanks! -- View this message in context: http://r.789695.n4.nabble.com/How-download-Yahoo-Quote-tp3769563p3769563.html Sent from t