Re: [R] Associate a .R file with the RGui

2022-11-07 Thread Amarjit Chandhial via R-help
Hi Uwe, Many Thanks. Amarjiit > On 7 Nov 2022, at 14:00, Uwe Ligges wrote: > > > >> On 06.11.2022 19:43, Amarjit Chandhial wrote: >> Hi Uwe, >> I can do 1. >> 1. Add the line >> if ( length(z <- commandArgs(TRUE)) ) utils::file.edit(

Re: [R] Associate a .R file with the RGui

2022-11-06 Thread Amarjit Chandhial via R-help
ociate the .R extension with the command C:\Program Files\R\R-4.2.2\bin\x64\Rgui.exe --args "%1" Amarjit -- Original Message -- From: "Uwe Ligges" To: "Amarjit Chandhial" ; "David Winsemius" ; "Jeff Newmiller" Cc: "Amarjit Chand

Re: [R] Associate a .R file with the RGui

2022-11-06 Thread Amarjit Chandhial via R-help
hould be naturally implemented in R, having installed RStudio. thanks, Amarjit -- Original Message -- From: "Uwe Ligges" To: "David Winsemius" ; "Amarjit Chandhial" ; "Jeff Newmiller" Cc: "Amarjit Chandhial via R-help" Sent: Sunda

Re: [R] Associate a .R file with the RGui

2022-11-06 Thread Amarjit Chandhial via R-help
David, Thanks. Amarjiit > On 6 Nov 2022, at 00:40, David Winsemius wrote: > > >> On 11/5/22 09:58, Amarjit Chandhial via R-help wrote: >> Hi Jeff, >> >> >> Please see my original question. > > You were told that RGui is not an editor. &g

Re: [R] Associate a .R file with the RGui

2022-11-05 Thread Amarjit Chandhial via R-help
you to edit your R file in an external editor > like Notepad++ and copy paste code snippets or use source("yourfile.R") as > desired. > >> On November 5, 2022 6:47:54 AM PDT, Amarjit Chandhial via R-help >> wrote: >> >> >> >> Hi And

Re: [R] Associate a .R file with the RGui

2022-11-05 Thread Amarjit Chandhial via R-help
t-click on a .R file -> Open With -> R for Windows GUI Front-End RGui (64-bit) opens but the .R file does not appear in the editor. Amarjit -- Original Message -- From: "Andrew Simmons" To: "Amarjit Chandhial" Cc: "R-help Mailing List" Sent: Friday, 4

[R] Associate a .R file with the RGui

2022-11-04 Thread Amarjit Chandhial via R-help
Hi, My OS is Windows 11 Pro 64-Bit, I have R 4.2.2 and RStudio installed. If I double-click on a .R file in File Explorer the OS gives me the option of opening the .R in RStudio, or Look for an app in the Microsoft Store, or More Apps. Similarly with a right-click. I would like to associate

[R] dynamic runSum

2014-08-07 Thread amarjit chandhial
Hello, runSum calculates a running sum looking back a fixed distance n, e.g. 20. How do I calculate a dynamic runSum function for an xts object? In otherwords, I want to calculate a running sum at each point in time looking back a variable distance. In this example, values governed by the vect

Re: [R] time when packages installed

2014-04-27 Thread amarjit chandhial
Many thanks Guys! Amarjit From: Prof Brian Ripley To: amarjit chandhial ; "r-help@r-project.org" Sent: Sunday, 27 April 2014, 11:29 Subject: Re: [R] time when packages installed On 27/04/2014 10:50, Duncan Murdoch wrote: > On 27/04/

[R] time when packages installed

2014-04-27 Thread amarjit chandhial
Is there a way in R to list the packages I installed by date ?  Or to list the packages I installed in the last n days ? Amarjit [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] I want to download "garchOxFit" function.

2013-01-31 Thread amarjit chandhial
  See   Dean Fantazzini (2011) Fractionally Integrated Models for Volatility: A Review - Empirical Appendix: Some Examples with R Interfaced with the Ox Package G@RCH, Moscow School of Economics; National Research University Higher School of Economics http://papers.ssrn.com/sol3/papers.cfm?abstr

Re: [R] NppToR-2.6.1

2012-07-30 Thread amarjit chandhial
Thanks Peter. I'll see the forums at SourceForge.net and try.   Maybe RStudio is the best IDE for me.     AC From: peter dalgaard To: Pascal Oettli Cc: amarjit chandhial ; "r-help@r-project.org" Sent: Monday, 30 July 2012, 10:09 Subject:

Re: [R] NppToR-2.6.1

2012-07-30 Thread amarjit chandhial
So which list do I post to ?   From: Pascal Oettli To: amarjit chandhial Cc: "r-help@r-project.org" Sent: Monday, 30 July 2012, 8:29 Subject: Re: [R] NppToR-2.6.1 Hi, In what your problem is relevant to that list? Regards Le 30/07/

[R] NppToR-2.6.1

2012-07-30 Thread amarjit chandhial
All,   Have installed 'Notepad++', but require 'NppToR' to work with R.   However, when I attempt to download from SourceForge NppToR-2.6.1.exe --- Internet Explorer blocks a Trojan Virus!?!   Please advise. [[alternative HTML version deleted]]

[R] Printing from R Console in colour

2012-07-03 Thread amarjit chandhial
Hi,I want to be able to print in colour from the R console i.e. commands (in navy) with results (in red) as on the console.   From the console if I click on File -> Print, the commands with results print on my printer but only in monochrome, not in colour. Similarly, if I Edit -> Select All, Edit