Re: [R] Is there any good tools to facilitate us to create R functions?

2007-08-17 Thread Uwe Ligges


zhijie zhang wrote:
 Dear R users,
   We have some programs for the specific task in our research, but they were
 very commonly used. We want to make some functions for them, anybody can
 recommend any good tools to facilitate us to create R functions even without
 going deep into the theories of R functions ?
   Any suggestions or help are greatly appreciated.
 

The tool is a) a manual, b) your eye, and after that c) your keyboard.
So, what is your program if it is not a function?
If my guess is right and your programm is a sequence of many lines of R 
code: given you have a program that calculates the square root of x, then

myfoo - function(x){
sqrt(x)
}

is your function:

myfoo(4)

Uwe Ligges

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Is there any good tools to facilitate us to create R functions?

2007-08-17 Thread Francisco J. Zagmutt
Hello Zhijie,

You can many specific commands and tricks by using R commander's menus:

install.packages(Rcmdr)
library(Rcmdr)


However, I can not stress enough that if you want to be proficient and 
sound in your work with R, you will have to invest time reading the 
documentation (see documentation section here http://www.r-project.org/) 
and perhaps an introductory book such as the ones recommended in the R 
project site.

Good luck!

Francisco

zhijie zhang wrote:
 Dear R users,
   We have some programs for the specific task in our research, but they were
 very commonly used. We want to make some functions for them, anybody can
 recommend any good tools to facilitate us to create R functions even without
 going deep into the theories of R functions ?
   Any suggestions or help are greatly appreciated.


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Is there any good tools to facilitate us to create R functions?

2007-08-17 Thread Weiwei Shi
Your question is well un-defined. Specify your question, maybe by an
example so we can help.

You can also send me personal email if you want. I graduate from Fudan
too, so I would like to give a favor, lol

Best,

Weiwei

On 8/17/07, zhijie zhang [EMAIL PROTECTED] wrote:
 Dear R users,
   We have some programs for the specific task in our research, but they were
 very commonly used. We want to make some functions for them, anybody can
 recommend any good tools to facilitate us to create R functions even without
 going deep into the theories of R functions ?
   Any suggestions or help are greatly appreciated.

 --
 With Kind Regards,

 oooO:
 (..):
 :\.(:::Oooo::
 ::\_)::(..)::
 :::)./:::
 ::(_/
 :
 [***]
 Zhi Jie,Zhang ,PHD
 Tel:86-21-54237149
 Dept. of Epidemiology,School of Public Health,Fudan University
 Address:No. 138 Yi Xue Yuan Road,Shanghai,China
 Postcode:200032
 Email:[EMAIL PROTECTED]
 Website: www.statABC.com
 [***]
 oooO:
 (..):
 :\.(:::Oooo::
 ::\_)::(..)::
 :::)./:::
 ::(_/
 :

 [[alternative HTML version deleted]]

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.



-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

Did you always know?
No, I did not. But I believed...
---Matrix III

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.