[R] Error installing ggplot2 package

2018-01-09 Thread Amelia Marsh via R-help
DeaR Forum, I am trying to install the library ggplot2.  Currently I am using following R version R version 3.4.1 (2017-06-30) -- "Single Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform: x86_64-w64-mingw32/x64 (64-bit) However, when I try to install ggplot2 and few ot

[R] Difference in Generalized Extreme Value distribution parameter estimations using lmom and fExtremes

2017-01-03 Thread Amelia Marsh via R-help
Dear R forum I have following dataset amounts = c(2803102.248,1088675.278,10394575.14,1007368.396,1004871.328,1092956.088,1020110.818,997371.4487,1000904.154,998105.9744,997434.3006,1080067.258,997594.7992,1000871.015,1001321.094,1000713.448,997591.2307,1469501.54,1066924.393,1074918.566,998628.

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
this issue with RStudio people too. I have started using R again. Regards and thanks again Amelia On Thursday, 15 December 2016 2:43 PM, Martin Maechler wrote: >>>>> Amelia Marsh via R-help >>>>> on Thu, 15 Dec 2016 08:05:44 + writes: > Sor

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
t; -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Dec 14, 2016 at 10:18 PM, Amelia Marsh via R-help wrote: > Hi > > I had installed R studio Desktop 1.0.44. However whenever I wanted to write > any command, before I could complete, I was getting follo

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
Thanks a lot Kimmo for your valuable guidance. Hope it works. Regards Amelia On Thursday, 15 December 2016 12:06 PM, K. Elo wrote: Hi! Maybe this helps: http://r.789695.n4.nabble.com/Error-in-normalizePath-path-with-McAfee-td2532324.html Best, Kimmo 15.12.2016, 08:18, Amelia Marsh via R

[R] R studio Problem

2016-12-14 Thread Amelia Marsh via R-help
Hi I had installed R studio Desktop 1.0.44. However whenever I wanted to write any command, before I could complete, I was getting following error Error in normalizePath(dir, winslash = "/", mustWork = TRUE) : unused argument(s) (winslash = "/", mustWork = TRUE) I had uninstalled RStudio and

[R] Memory problem

2016-04-06 Thread Amelia Marsh via R-help
Dear R Forum, I have about 2000+ FX forward transactions and I am trying to run 1000 simulations. If I use less no of simulations, I am able to get the desired results. However, when I try to use more than 1000 simulations, I get following error. > sorted2 <- ddply(sorted, .(currency_from_exch

[R] Improvement in Process time

2016-02-02 Thread Amelia Marsh via R-help
Dear R forum, I am running a Particular process 1000 times for different rates. Each time the result of the process is getting stored (appended) in a data.frame. However, the process is taking unsual time at times more than 2 hours. When I had tried to find out the reason for such a long proces

[R] Changing X axis values

2015-12-18 Thread Amelia Marsh via R-help
Dear Forum, Assuming I need to plot a graph. In the code I have defined X axis range as xlim=c(0,18000) In the plot, the values visible w.r.t X axis are 0, 5000, 1, 18000. To improve the graph clarity, is there any way I can show the values of X axis as 0, 1000, 2000, 3000, 4000, 5000

[R] Excel Price function in R

2015-09-27 Thread Amelia Marsh via R-help
Dear Forum, I am using trying to find price of bond in R. I have written the code in line with Excel PRICE formula. However, whenever the residual maturity is less than a year, my R output tallies with the Excel Price formula. However, moment my residual maturity exceeds 1 year, the R output di

[R] Bootstrap library

2015-07-29 Thread Amelia Marsh via R-help
Hello! I have following data and I am trying to apply bootstrapping. My data and code is as follows- amounts = c(829.53,4000,6000,1000,1063904,102400,22000,4000,4200,2000,1,400,459006,7276,4000,100,4000,1,613803.36, 3825,1000,5000,4000,3000,84500,200,2000,68000,97400,6267.8,49500,2700

[R] Sample Weights

2015-07-26 Thread Amelia Marsh via R-help
Dear R Forum I have a data.frame as mydat = c(6,6,5,6,4,6,8,4,6,6,6,3,4,6,5,7,7,4,3,5,5,5,3,6,7,4,4,7,4,3,4,6,4,6,5,4,4,7,6,8,5,6,5,5,8,2,3,5,7,5) Is there any library or way in R to allocate weights to these values? Actually I am having a large data, but for illustrative purpose, have consid

Re: [R] Statistical distribution not fitting

2015-07-22 Thread Amelia Marsh via R-help
Dear Sir, Thanks for your great guidance. Made me realize that I need to think out of box. As regards the low losses, BASEL guidelines do say to get rid of such low losses which create noise in analysing the losses caused by Operational Loss events. Its the right tail events do matter which

Re: [R] Gamma Distribution - is there any problem with "pgamma"?

2015-03-11 Thread Amelia Marsh via R-help
Dear Mr Byng, Thanks a lot for your great help. Appreciate. Regards Amelia On Wed, 11/3/15, Martyn Byng wrote: Subject: RE: [R] Gamma Distribution - is there any problem with "pgamma"? e...@r-project.org> Date: Wednesday, 11 March, 2015, 11:48 AM