Re: [R] Adding a function with default parameters into the Rcmdr menu

2012-11-23 Thread vincent guyader
I will try this. thank you. 2012/11/23 Milan Bouchet-Valat > Le vendredi 23 novembre 2012 à 03:17 +0100, vincent guyader a écrit : > > Hi everyone, > > > > I made some tests with Rcmdr, to add a function with default parameters : > > > > For example (very simple): > > > > myfunction<-function(v

Re: [R] Adding a function with default parameters into the Rcmdr menu

2012-11-23 Thread Milan Bouchet-Valat
Le vendredi 23 novembre 2012 à 03:17 +0100, vincent guyader a écrit : > Hi everyone, > > I made some tests with Rcmdr, to add a function with default parameters : > > For example (very simple): > > myfunction<-function(var="314"){ > print("hello") > print(var) > } > > if I run myfunction() dire