Yingfu Xie
2006-Jan-13 16:04 UTC
[R] Can I ask for the C code inside an R function using .C?
Hello, all, It is a general question, but I couldn't find the answer elsewhere. I am using an R function using .C but don't understand one of its behaviors without the C code. I am wondering the so-called 'open source'. It doesn't include the C code together with the R function, does it? So what I want to ask is whether it is justified, possible or polite to ask for the C code behind the R function. Sorry if I miss anything! Thank you as always! Regards, Yingfu ########################################### This message has been scanned by F-Secure Anti-Virus for Mic...{{dropped}}
Liaw, Andy
2006-Jan-13 16:13 UTC
[R] Can I ask for the C code inside an R function using .C?
Source code for R and all CRAN packages are on CRAN. If you want the C or Fortran code used in R or add-on packages, you need to download the source (the .tar.gz files). You won't see the code if you just install the binary. Andy From: Yingfu Xie> > Hello, all, > > It is a general question, but I couldn't find the answer elsewhere. > I am using an R function using .C but don't understand one of its > behaviors without the C code. I am wondering the so-called 'open > source'. It doesn't include the C code together with the R function, > does it? So what I want to ask is whether it is justified, possible or > polite to ask for the C code behind the R function. > Sorry if I miss anything! Thank you as always! > > Regards, > Yingfu > ########################################### > > This message has been scanned by F-Secure Anti-Virus for > Mic...{{dropped}} > > ______________________________________________ > R-help at 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 > >
Ingmar Visser
2006-Jan-13 16:16 UTC
[R] Can I ask for the C code inside an R function using .C?
You can download the source from any package from a CRAN mirror near you and the src directory will contain the source code of the included C and fortran functions. hth, ingmar> From: "Yingfu Xie" <Yingfu.Xie at sekon.slu.se> > Date: Fri, 13 Jan 2006 17:04:43 +0100 > To: <r-help at stat.math.ethz.ch> > Subject: [R] Can I ask for the C code inside an R function using .C? > > Hello, all, > > It is a general question, but I couldn't find the answer elsewhere. > I am using an R function using .C but don't understand one of its > behaviors without the C code. I am wondering the so-called 'open > source'. It doesn't include the C code together with the R function, > does it? So what I want to ask is whether it is justified, possible or > polite to ask for the C code behind the R function. > Sorry if I miss anything! Thank you as always! > > Regards, > Yingfu > ########################################### > > This message has been scanned by F-Secure Anti-Virus for Mic...{{dropped}} > > ______________________________________________ > R-help at 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 >
Liaw, Andy
2006-Jan-13 18:26 UTC
[R] Can I ask for the C code inside an R function using .C?
Just wondering: How do people with slow connections get R? The Windows binary is about 25MB, while the source .tar.gz is only 13.7MB. Andy From: Francisco J. Zagmutt> > > If you have a slow connection and/or you don't want to > download the entire > source code you can find the sources for R on this site > https://svn.r-project.org/R/trunk/ > > Francisco > > > >From: "Liaw, Andy" <andy_liaw at merck.com> > >To: "'Yingfu Xie'" <Yingfu.Xie at sekon.slu.se>, > r-help at stat.math.ethz.ch > >Subject: Re: [R] Can I ask for the C code inside an R > function using .C? > >Date: Fri, 13 Jan 2006 11:13:51 -0500 > > > >Source code for R and all CRAN packages are on CRAN. If you > want the C or > >Fortran code used in R or add-on packages, you need to > download the source > >(the .tar.gz files). You won't see the code if you just install the > >binary. > > > >Andy > > > >From: Yingfu Xie > > > > > > Hello, all, > > > > > > It is a general question, but I couldn't find the answer > elsewhere. > > > I am using an R function using .C but don't understand one of its > > > behaviors without the C code. I am wondering the so-called 'open > > > source'. It doesn't include the C code together with the > R function, > > > does it? So what I want to ask is whether it is > justified, possible or > > > polite to ask for the C code behind the R function. > > > Sorry if I miss anything! Thank you as always! > > > > > > Regards, > > > Yingfu > > > ########################################### > > > > > > This message has been scanned by F-Secure Anti-Virus for > > > Mic...{{dropped}} > > > > > > ______________________________________________ > > > R-help at 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 > > > > > > > > > >______________________________________________ > >R-help at 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 > > >
Reasonably Related Threads
- How to substitute special characters within a data frame?
- minimization a quadratic form with some coef fixed and some constrained
- Numerical integration of a two dimensional function over a disk
- Sweave, Texshop, and sync with included Rnw file
- clipping off words inside a vector of strings