Re: [R] R & VBA

2010-10-31 Thread julien cuisinier
rayFromVBA > documented in the RExcel help file. > > Please send followup questions on RExcel and statconnDCOM to > the mailing list at > > "statconnDCOM, rcom, and RExcel server related issues" > > > Rich > On Sat, Oct 30, 2010 at 1:44 PM, julien cuisinier > wr

[R] R & VBA

2010-10-30 Thread julien cuisinier
;test" >> So it would be something like: Call RInterface.PutArray("test", DblArray) >> But as could be expected I have an error because the RInterface.PutArray() >> is expecting an Excel range as second argument Any hint very appreciated! Thanks & regards

[R] for loop Vs apply function Vs foreach (REvolution enhancement)

2010-02-16 Thread julien cuisinier
Dear all, I know this topic has already been covered in other posts (at least the for loop Vs apply family of function), but I am looking for fresh / up-to-date opinion and feedback on those 3 methods to run unavoidable loops in R. I realise that it may be too general question for many, so an

[R] R CMD BATCH question under Ubuntu 9.04

2009-08-18 Thread julien cuisinier
Dear list, I could not find a mailing list of R under ubuntu, so I give it a try here...any direction/suggestion welcome I run R 2.8.1 under Ubuntu 9.04 >From the terminal I am able to run a R CMD BATCH command when I am on my home >folder /home/user j...@jc-laptop:~$ R CMD BATCH /var/www/t

Re: [R] Relative paths in R?

2009-07-30 Thread julien cuisinier
Date: Thu, 30 Jul 2009 09:41:55 -0400 > > Hi, > > (Sorry, noticed I didn't CC r-help originally) > > On Jul 30, 2009, at 8:16 AM, julien cuisinier wrote: > > > Dear list, > > > > I use the R CMD BATCH to run a file of R commands (from php for inf

[R] Relative paths in R?

2009-07-30 Thread julien cuisinier
Dear list, I use the R CMD BATCH to run a file of R commands (from php for info) This file of R commands contains a line to source a configuration file "source('path/conf.R')" In this configuration file I define some variables, e.g. the path of some file (uploaded before this R CMD usin

[R] Relative paths in R?

2009-07-30 Thread julien cuisinier
Dear list, I use the R CMD BATCH to run a file of R commands (from php for info) This file of R commands contains a line to source a configuration file "source('path/conf.R')" In this configuration file I define some variables, e.g. the path of some file (uploaded before this R CMD u

[R] Write in file matrices of sifferent size

2009-07-20 Thread julien cuisinier
Matrix B (Matrix B element 1,1), (Matrix B element 1,2), ... (Matrix B element 2,1), (Matrix B element 2,2), ... ... " Write or write.table or write.csv did not help as it complains the matrices are not of equal size Any help/directi

[R] OO programming & S3/S4 paradigm - General question

2009-01-30 Thread julien cuisinier
Hi, Being relatively new to OO programming and not so old on R, I noticed the possibility to do OO programming in R. But it seems there is two "paradigms" S3 that seems the old one but is the one used in the R.oo package and S4 which seems more recent As a starting point, which one is b

[R] Saving plot into file without showing it

2009-01-28 Thread julien cuisinier
Hi List, My apologies in advance if question is simplistic, I am quite new to R graphics capabilities and I could not find anything in past threads... I use R 2.8.1 under Mac OS X, but I would preferrably have a cross platform answer as I use also R under Windows I produce plots using R