[R] How to read a .rar file in R

2013-06-09 Thread Deb Midya
Hi,
 
Thanks in advance.
 
May I request you to assist me for the following please.
 
I am using R-3.0.1 on Windows.
 
Is there any R package or R function to read a .rar file (file with an 
extension rar)?
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Multi-Level classification

2013-06-15 Thread Deb Midya
Hi,
 
Thanks in advance.
 
I am using R-3.0.1 on Windows XP.
 
May I request you to assist me for the following please.
 
I have a data set where each instance has two or more levels. As for example, 
level 1 (binary): 0, 1; level 2 (binary): 0, 1 and so on. These levels are 
target variables. The predictor variables may be numeric / factor /... / mixed.
 
I am looking for models to analyse the data.
 
Is there any R-package(s) / R-code(s) / any others to solve Multi-Level 
classification problems?
 
I am looking for some literature also.
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Composing Music - R Package

2010-09-19 Thread Deb Midya
Hi R Users,
 
Thanks in advance. 
 
I am using R-2.11.1 on Windows XP.
 
May I request you to assist me for the following please.
 
1.   Is there any R-package or if any to compose music?
 
2.   Is there any R-package or if any to analyse music?
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] High Frequency Trading

2010-11-07 Thread Deb Midya
Hi R users,
 
Thanks in advance.
 
I am using R 2.12.0 on Windows XP.
 
My objective is to construct algorithms for High Frequency Trading.
 
May I request you to provide me information such as packages or tools please.
 
Thank you very much for the time you have given.
 
Regards,
 
Deb
 


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] High Frequency Trading

2010-11-07 Thread Deb Midya
Thanks for your reply.
 
I am looking for some algorithms to find pattern and trend in stocks in real 
time.
 
I have experience in "Modern Portfolio Optimization Using S-PLUS". I have used 
various analytical tools such Mean-Variance, CVaR, CDaR, MAD, Re sampling and 
others analytical tools.
 
I am interested to learn tools and techniques for High-Speed Trading.
 
I will have a look into sig-finance.
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb

--- On Mon, 8/11/10, fjpcaball...@gmail.com  wrote:


From: fjpcaball...@gmail.com 
Subject: Re: [R] High Frequency Trading
To: "Deb Midya" 
Received: Monday, 8 November, 2010, 10:02 AM


Help us help you: more exactly, what do you need? 

There are so many things that can be done in the field that without further 
clarification, pretty much 80% of CRAN could be recommended.

Also: consider addressing the question to the sig-finance mailing list



On Nov 7, 2010, at 17:50, Deb Midya  wrote:

> Hi R users,
>  
> Thanks in advance.
>  
> I am using R 2.12.0 on Windows XP.
>  
> My objective is to construct algorithms for High Frequency Trading.
>  
> May I request you to provide me information such as packages or tools please.
>  
> Thank you very much for the time you have given.
>  
> Regards,
>  
> Deb
>  
> 
> 
> 
>    [[alternative HTML version deleted]]
> 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Downloading quote data from yahoo finance

2010-12-01 Thread Deb Midya
Hi R users,
 
Thanks in advance.
 
I am using R 2.12.0 on Windows XP.
 
May I request you to assist me in the following please.
 
1. I am getting error while downloading quote data from yahoo finance.
 
The example code is below (taken from tseries help):
 
library(tseries)
 
con <- url("http://quote.yahoo.com";)
if(!inherits(try(open(con), silent = TRUE), "try-error")) {
  close(con)
  x <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
  quote = "Close")
  plot(x)
  x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
  plot(x, main = "International Business Machines Corp")
  spc <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
 quote = "Close")
  ibm <- get.hist.quote(instrument = "ibm",  start = "1998-01-01",
 quote = "AdjClose")
  x <- merge(spc, ibm)
  plot(x, main = "IBM vs S&P 500")
  x <- get.hist.quote(instrument = "EUR/USD", provider = "oanda",
  start = Sys.Date() - 500)
  plot(x, main = "EUR/USD")
}
 
Error message:
 
Warning message:
In open.connection(con) :
  unable to connect to 'quote.yahoo.com' on port 80.
 
2. How can I download Key Statistics Data from Yahoo Finance
 
A. http://finance.yahoo.com/
 
B. ASH.AX (Using GET QUOTES)
 
C. Key Statistics
 
How can I download Key Statistics dynamically (Using R code)
 

Thank you very much for the time you have given.
 
Regards,
 
Deb


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Extracting information from text data

2011-01-23 Thread Deb Midya
Hi R-Users,
 
Thanks in advance.
 
I am using R-2.12.0 on Windows XP.
 
I am trying to produce an n X m matrix from text data stored in different 
files. Where n = number of words (say w1, w2, …, wn). M is the number of 
documents (say d1, d2, …, dm)
 
A. Using package tm
 
I am using package tm to do the job. I have provided the code below:
 
> my.corpus <- Corpus(DirSource(my.path), readerControl = list 
> (reader=readPlain))
 
In readLines(y, encoding = x$Encoding) :
  incomplete final line found on 'M:\textmine/slr.txt'
 
> x <- TermDocMatrix(my.corpus) 
Error: could not find function "TermDocMatrix"
 
B. Using package(s) other than tm 
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 
The code:
 
library(tm)
my.path<- 'M:\\textmine'
my.corpus <- Corpus(DirSource(my.path), readerControl = list 
(reader=readPlain)) 
x <- TermDocMatrix(my.corpus) 
x
 


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Extracting content from web

2011-02-08 Thread Deb Midya
Hi R Users,
 
Thanks in advance.
 
I am using R-2.12.1 on Windows XP.
 
May I request you to assist me for the following please.
 
Is there any R-package or R Script to extract content(s) from web.
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Installing R on cygwin

2011-02-10 Thread Deb Midya
Hi R users,
 
Thanks in advance.
 
Is it possible to install R on cygwin? If yes, can anyone assist me how can I 
install R on cygwin?
 
Currently, I am using R on Windows XP. I have found that binary version of some 
packages such as RCurl is not available. 
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb



  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Regular Expression

2011-02-14 Thread Deb Midya
Hi R users,
 
Thanks in advance.
 
I am using R-2.12.1 on Windows XP.
 
I am looking for some good literature on Regular Expression. May I request you 
to assist me please.

Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Extract Data from Yahoo Finance

2011-11-03 Thread Deb Midya
Hi R –users,
 
I am using R-2.14.0 on Windows XP.
 
May I request you to assist me for the following please.
 
I like to extract all the fields (example: a : Ask, b : Bid, ……, w : 52-week 
Range, x: Stock Exchange)  for certain period of time, say, 1 October 2011 to 
31 October 2011.
 
Is there any R-Package(s) & any R- script please?
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Extract Data from Yahoo Finance

2011-11-03 Thread Deb Midya
Vikram,
 
Thanks for this.
 
The field names we put like this:
quote = c("Open", "High", "Low", "Close")
 
But in order to download all the fields, what are the names I need to use in 
the object quote. 
In Yahho Finance these are special tags.
 
The special tags are:
a=Ask, b= Bid, ..., v= Volume, W= 52-week Range, x= Stock EXchange
 
quote= c("Open", "High", "Low", "Close", "Ask", "Bid", , "W", "x"). What 
are the names I can use to download Ask, Bid, ..., Stock Exchange?
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 


From: Vikram Bahure 

Sent: Thursday, 3 November 2011 7:15 PM
Subject: Re: [R] Extract Data from Yahoo Finance


Hi, 

You can install the following library:
library(tseries)

and use the following command:
?get.hist.quote

Regards
Vikram




Hi R –users,
> 
>I am using R-2.14.0 on Windows XP.
> 
>May I request you to assist me for the following please.
> 
>I like to extract all the fields (example: a : Ask, b : Bid, ……, w : 
>52-week Range, x: Stock Exchange)  for certain period of time, say, 1 October 
>2011 to 31 October 2011.
> 
>Is there any R-Package(s) & any R- script please?
> 
>Once again, thank you very much for the time you have given.
> 
>Regards,
> 
>Deb
>
>__
>R-help@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Extract Data from Yahoo Finance

2011-11-03 Thread Deb Midya
Michael,
 
Thanks for your response.
 
The link to the page is: http://www.gummy-stuff.org/Yahoo-data.htm
 
I like to download the fields (mentioned under special tags) for a period of 
time and for a particular stock (or for a list of stocks).
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb

From: R. Michael Weylandt 
To: Deb Midya 
Cc: "r-help@r-project.org" 
Sent: Friday, 4 November 2011 12:13 AM
Subject: Re: [R] Extract Data from Yahoo Finance

The quantmod package can probably do what you are asking, but it's a
little hard to be certain since you provide neither a list of all the
fields you are actually talking about nor a link to the page with the
fields in question.

Michael

On Thu, Nov 3, 2011 at 12:02 AM, Deb Midya  wrote:
> Hi R –users,
>
> I am using R-2.14.0 on Windows XP.
>
> May I request you to assist me for the following please.
>
> I like to extract all the fields (example: a : Ask, b : Bid, ……, w : 
> 52-week Range, x: Stock Exchange)  for certain period of time, say, 1 
> October 2011 to 31 October 2011.
>
> Is there any R-Package(s) & any R- script please?
>
> Once again, thank you very much for the time you have given.
>
> Regards,
>
> Deb
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.