search for: j_cuisinier

Displaying 8 results from an estimated 8 matches for "j_cuisinier".

Did you mean: cuisinier
2009 Jul 20
3
Write in file matrices of sifferent size
Hi list, How to save a list content into a text file? Please consider example below, I have two numeric matrices that I bundle into a list & give each list element a name Example: > matrixA <- matrix(0,5,4) > matrixB <- matrix(1,7,13) > matrixList <- list(matrixA,matrixB) > names <- c("Matrix A","Matrix B") > names <-
2009 Jan 30
1
OO programming & S3/S4 paradigm - General question
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 best to use? Is R.oo useful? what are the main difference between the two? Any feedback
2010 Oct 30
1
R & VBA
Hi List, Is there any way to pass on directly VBA variable content into a R variable? on windows XP & using R 2.12.0 I have installed RExcel addin (with associated D(COM)) >> It function fine when trying to pass Excel Range to R but I failed (sorry if it is only my own limitation, search till now unsuccessful) to find out how to pass directly VBA array into R Below an example -
2010 Feb 16
2
for loop Vs apply function Vs foreach (REvolution enhancement)
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 any feedback appreciated. 1. apply Vs for loop >> Seems apply is (was?) supposed to be faster than
2009 Jan 28
2
Saving plot into file without showing it
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 & save them in a file e.g. below: y <- rnorm(1000) x <- rnorm(1000) plot(x,y)
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems
2009 Jul 30
2
Relative paths in R?
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 using php) "PathUpload <- 'path/uploads'" What I would like to
2009 Aug 18
2
R CMD BATCH question under Ubuntu 9.04
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 jc@jc-laptop:~$ R CMD BATCH /var/www/test.R The file "test.R" contains simply: a <- 1 write.csv(a,"/var/www/test.csv")