Re: [R] Load the shared object/DLL

2008-04-16 Thread Guohui Ding
:) Thanks. I owe you an apology and retract it, as I copied the codes from others and did not check the origin of these codes. 2008/4/16, Prof Brian Ripley <[EMAIL PROTECTED]>: > > On Wed, 16 Apr 2008, Guohui Ding wrote: > > Dear All, > > > > I have written a funct

[R] Load the shared object/DLL

2008-04-16 Thread Guohui Ding
Dear All, I have written a function in c (in a file named 'a.c') as follows, void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *nb - 1; for(i = 0; i < nab; i++) ab[i] = 0.0; for(i = 0; i < *na; i++) for(j = 0; j < *nb; j++) ab[i + j] += a

Re: [R] How to convert the "user coordinate system" in R graph to"normal coordinate system" whose origin is the upper-leftcornner of the drawing area?

2008-02-29 Thread Guohui Ding
-Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Guohui Ding > > Sent: Friday, February 29, 2008 12:12 AM > > To: R help (E-mail) > > Subject: [R] How to convert the "user coordinate system" in R > > gra

[R] How to convert the "user coordinate system" in R graph to "normal coordinate system" whose origin is the upper-left cornner of the drawing area?

2008-02-28 Thread Guohui Ding
Dear friends, The user coordiante system in the R graphics is easy to understand as it simply corresponds to the range of values on the axes of the plot. However, sometimes, we want to kown the coordinates of a region in other system, e.g., the normal coordinate system whose origin is the th

[R] R 中国BBS论坛 (R China Forum)

2008-01-11 Thread Guohui Ding
¸÷λºÃ£¬ http://rbbs.biosino.org/Rbbs/ ÏÖÔÚÔÚ²âÊÔ£¬»¶Ó­Òâ¼û¡£ -- ADDRESS: Bioinformatics Center, Shanghai Institutes for Biological Sciences, Chinese Academy of Sciences 320 Yueyang Road, Shanghai 200031, P.R.China [[alternative HTML version deleted]] _