[R] performance analytics- package

2012-10-11 Thread sheenmaria
In performance analytics - performance summary session , i cant run the code of - charts.PerformanceSummary(datafrom_table, rf = 0, main = NULL, method = "ModifiedVaR", width = 0,event.labels = NULL, ylog = FALSE, wealth.index = FALSE, gap = 12) it just return blank chart. datafrom_table - h

[R] performance analytics

2012-10-14 Thread sheenmaria
hi Michael, am sorry for the incomplete reply . csv file data havinmg like this , >getSymbols("IBM") >weekly_data = to.weekly(week_name) >dataframe=data.frame(weekly_data) >outputfile_name="F:\\R-programs\\Outputfile.csv" >write.table(dataframe, file =outputfile_name,sep = ",",col

[R] to.yearly()

2012-10-19 Thread sheenmaria
v="IBM" library(quantmod) v v1=getSymbols(v) to.yearly(v1) === when i pass the value through a variable in to.yearly() function it shows the error msg like "Error in try.xts(x) : Error in UseMethod("as.xts") : no applicable method for 'as.xts' applied to an object

[R] find the Best-ticker

2012-10-28 Thread sheenmaria
i need to find the best ticker from the group of some tickers.? i also need to know on what basis we calculate the best ticker? i have some idea about the if the risk rate low, or the market price high we can say the ticker is best. but i dont know is it true. Anyone can help me . T

[R] ratios

2012-11-08 Thread sheenmaria
i need o know what are the ratios used in language 'R'. i just get the sharp, Treynor, information ratios, is ther any other ratios used in it ? and also please give any reference web page link too. Thanks . -- View this message in context: http://r.789695.n4.nabble.com/ratios-tp4648826.html Se

[R] TreynorRatio

2012-11-08 Thread sheenmaria
i read about the performance analytics package i have a doubt about the TreynorRatio i have code g=getSymbols("IBM") > c=Cl(g) > r=Return.calculate(c) > SharpeRatio.annualized(r) IBM.Close Annualized Sharpe Ratio (Rf=0%) 0.3566339 > TreynorRatio (ret) Err

[R] benchmark package

2012-11-14 Thread sheenmaria
i used a package like 'benchamrk' is it helpful to find out the benchmak value ? and also colud u please provide some examples for the benchmak package , i cant get the proper answer with that. And also it shows the bs.sampling value also needed. but the r-help pages provide without examples . -

[R] function call from another r file

2012-11-23 Thread sheenmaria
How to call a function from another r file ? Anyone can help me . Having a function named like fun1 which is saved in r file file1.r and i have another r file like file2.r, and i need to call the fun1 (which is in file1) within file2. Thank you -- View this message in context: http://r.789

Re: [R] function call from another r file

2012-11-25 Thread sheenmaria
Thanks for the reply .I am able to call a simple function in an R file from another by using source(). Now I am facing another issue .I am trying to call a r file named es.r which have lotes of R functions. These R functions are internally calling java functions by using ".jnew()" and ".jcall()". I

Re: [R] function call from another r file

2012-11-25 Thread sheenmaria
Yes.I have added #!/usr/bin/Rscript library(rJava) .jinit() in the beginning of es.r On Mon, Nov 26, 2012 at 11:14 AM, David Winsemius [via R] < ml-node+s789695n4650807...@n4.nabble.com> wrote: > > On Nov 25, 2012, at 8:50 PM, sheenmaria wrote: > > > Thanks for the reply

[R] Class Not found execption

2012-11-26 Thread sheenmaria
I am trying to call a r file named es.r which have lotes of R functions. These R functions are internally calling java functions by using ".jnew()" and ".jcall()". I have added necessary jar's to the Classpath and I am able to run es.r from command prompt . But when I tried to call it

[R] Class Not found execption

2012-11-26 Thread sheenmaria
I am trying to call a r file named es.r which have lotes of R functions. These R functions are internally calling java functions by using ".jnew()" and ".jcall()". I have added necessary jar's to the Classpath and I am able to run es.r from command prompt . But when I tried to call it

[R] Class Not found exception from RCosole

2012-11-26 Thread sheenmaria
I tried adding my jars to classpath using #!/usr/bin/Rscript library(rJava) #.jclassPath() .jinit() .jaddClassPath(dir("target\\mavenLib", full.names=TRUE )) .jclassPath() but got in .jnew("com/algoTree/ClientElasticSearch/ElasticSearchLoader") : java.lang.ClassNotFoundException then I t