Re: [R] Problem with Dynamo-Package
Hi Jim, In fact I faced this message when I installed several other packages but I didn't face any problem loading them except the Dynamo-Package. I tried to install it on an another computer and I faced the same problem, the package failed to load. Any help will be appreciated. Mohammad From: Jim Lemon j...@bitwrit.com.au Sent: Monday, April 6, 2009 5:31:44 AM Subject: Re: [R] Problem with Dynamo-Package Mohammad Sabr wrote: Good day, I am facing a problem when I am installing the dynamo-package and loading it. After I installed the package, I received the following warning message: In file.create(f.tg) : cannot create file 'C:\PROGRA~2\R\R-28~1.1/doc/html/packages.html', reason 'Permission denied' and when I load the package, an error message pops up saying that the application failed to start because libgsl.dll was not found. Re-installing the application may fix the problem Hi Mohammad, Seems like you need administrator privileges to install the package. Jim [[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] Problem with Extracting Fitted Values from fGarch package
Good day everyone, I fitted a GARCH model to a time series and R estimated the model and provide me with the estimates. However, when I tried to extract the fitted values from the estimated model I got the following error message: Error in .local(object, ...) : object fit not found I used the following to extract the fitted values fitted_TASI - fitted(garchFit(~ garch(1,1), residuals_TASI, trace = TRUE, include.mean = FALSE)) Can someone please advice me with the reason that I am getting this error message. Best regards, Mohammad [[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] Problem with Dynamo-Package
Good day, I am facing a problem when I am installing the dynamo-package and loading it. After I installed the package, I received the following warning message: In file.create(f.tg) : cannot create file 'C:\PROGRA~2\R\R-28~1.1/doc/html/packages.html', reason 'Permission denied' and when I load the package, an error message pops up saying that the application failed to start because libgsl.dll was not found. Re-installing the application may fix the problem Can anyone help to solve this problem. Mohammad [[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] Multivariate GARCH Package
Good day everyone, I tried to find a multivariate GARCH package and failed to find one. Although when I searched R I found the following link which describes the package: http://www.r-project.org/user-2006/Slides/Schmidbauer+Tunalioglu.pdf can any one help me with this issue. Thank you in advance [[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] Partial sum of a vector
I am trying to run a loop where I can sum parts of a matrix. For example, I want at each step in the loop to sum the the next 4-values of a vector. I tried to do the following but the result were wrong: for (i in 4:T) { data_q[i-3,]=sum(data_m[i-3,]:data_m[i,]) } can anyone please direct me on what should I do to run this loop properly Thanks in advance [[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] Partial sum of a vector
Thanks Jorge, I tried to use the rollapply function as follows: rollapply(data_m ,4 , sum, by =1 , by.column = TRUE) but it is giving me the following error message: Error in UseMethod(rollapply) : no applicable method for rollapply Is there any file that I need to install or update. I reinstalled the zoo package but I still getting the previous problem. Thank you for your assistance, --- On Sun, 3/1/09, Jorge Ivan Velez jorgeivanve...@gmail.com wrote: From: Jorge Ivan Velez jorgeivanve...@gmail.com Subject: Re: [R] Partial sum of a vector To: Mohammad Sabr mohammad_s...@yahoo.com Cc: r-help@r-project.org Date: Sunday, March 1, 2009, 10:49 PM Dear Mohammad, Take a look at the rollmean function in the zoo package. HTH, Jorge On Sun, Mar 1, 2009 at 9:29 PM, Mohammad Sabr mohammad_s...@yahoo.com wrote: I am trying to run a loop where I can sum parts of a matrix. For example, I want at each step in the loop to sum the the next 4-values of a vector. I tried to do the following but the result were wrong: for (i in 4:T) { data_q[i-3,]=sum(data_m[i-3,]:data_m[i,]) } can anyone please direct me on what should I do to run this loop properly Thanks in advance [[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.