[R] date from weeknumber

2010-07-20 Thread H Rao
Hi, Is there a function to get the last(or first) day of the week, given the week number of the year? For eg, week number for 7/20 is 29 as obtained by format(Sys.Date(),"%U"), is there a function which returns 7/25 - the last day of week # 29 TIA, Rao. [[alternative HTML version delete

Re: [R] packaging R

2009-10-15 Thread H Rao
I can license the application under GPL On Wed, Oct 14, 2009 at 6:47 PM, Duncan Murdoch wrote: > On 14/10/2009 6:35 PM, H Rao wrote: > >> Hi, >> >> I am planning to use R as the backend in my application and VB as the >> front >> end. I want to be ab

[R] packaging R

2009-10-14 Thread H Rao
Hi, I am planning to use R as the backend in my application and VB as the front end. I want to be able to distribute it as a stand alone application and my users should not have to install R separately to use the application. I want to be able to integrate the R interpreter into the application so

[R] executing rscript from VB

2009-09-10 Thread H Rao
Hi, I am looking to execute an R script from VB as below. The script runs fine but the redirection doesnt seem to happen. The redirection operator and the out file seem to be treated as arguments to the R script. Is there a way to get the > operator working thanks, R System.Diagnostics.Process p