Re: [Rd] proposal for new flag to R CMD INSTALL

2010-12-03 Thread Prof Brian Ripley
Why do you think dependencies are not needed for the help system? At some point they will be needed to resolve cross-references: at install time if you are generating static HTML. I've not seen any issues that cannot be solved by --install=fake: I have fake installs of a few packages (e.g. ROr

[Rd] Clean up after "R CMD INSTALL" and/or "R CMD check"

2010-12-03 Thread Berwin A Turlach
G'day all, I noticed the following (new) behaviour of R 2.12.0, running on Kubuntu 10.10, when installed with sub-architectures: When I run "R CMD INSTALL" or "R CMD check" on the source directory of a package that contains C or FORTRAN code, R creates sub-directories src-32/ and src-64/ that see

[Rd] Strange problems with compiling dll

2010-12-03 Thread Oleksandr Dyklevych
Dear sir\madam! I'm trying to speed up my R code by writing quite simple dll's in C. But I faced some problems, and I cannot determine their source. #include SEXP mycombin(SEXP N, SEXP k){ int i, *j, *l, c; j = INTEGER(k);l = INTEGER(N); c = 1; if(j[0] > 0 && j[0] < l[

Re: [Rd] Clean up after "R CMD INSTALL" and/or "R CMD check"

2010-12-03 Thread Prof Brian Ripley
On Fri, 3 Dec 2010, Berwin A Turlach wrote: G'day all, I noticed the following (new) behaviour of R 2.12.0, running on Kubuntu 10.10, when installed with sub-architectures: Yes, there are new features when there are multiple sub-architectures. When I run "R CMD INSTALL" or "R CMD check" on

Re: [Rd] Strange problems with compiling dll

2010-12-03 Thread Dirk Eddelbuettel
On 3 December 2010 at 08:46, Oleksandr Dyklevych wrote: | I'm trying to speed up my R code by writing quite simple dll's in C. But I Yes, that can be a very appropriate approach and many tools help. Make sure you read the 'Writing R Extensions' manual though. | faced some problems, and I cannot

Re: [Rd] Clean up after "R CMD INSTALL" and/or "R CMD check"

2010-12-03 Thread Berwin A Turlach
G'day Brian, On Fri, 3 Dec 2010 13:14:44 + (GMT) Prof Brian Ripley wrote: > > I noticed the following (new) behaviour of R 2.12.0, running on > > Kubuntu 10.10, when installed with sub-architectures: > > Yes, there are new features when there are multiple sub-architectures. Indeed. One ne

[Rd] Competing with one's own work

2010-12-03 Thread Prof. John C Nash
No, this is not about Rcpp, but a comment in that overly long discussion raised a question that has been in my mind for a while. This is that one may have work that is used in R in the base functionality and there are improvements that should be incorporated. For me, this concerns the BFGS, Nel

Re: [Rd] Competing with one's own work

2010-12-03 Thread Duncan Murdoch
On 03/12/2010 10:57 AM, Prof. John C Nash wrote: No, this is not about Rcpp, but a comment in that overly long discussion raised a question that has been in my mind for a while. This is that one may have work that is used in R in the base functionality and there are improvements that should be

Re: [Rd] Competing with one's own work

2010-12-03 Thread Ravi Varadhan
Dear Duncan, What constitutes a convincing argument for making significant changes? Taking the example of optimization algorithms (say, for smooth objective functions), how does one make a convincing argument that a particular class of algorithms are "better" than another class? This can be a dif

Re: [Rd] Competing with one's own work

2010-12-03 Thread Douglas Bates
On Fri, Dec 3, 2010 at 11:01 AM, Ravi Varadhan wrote: > Dear Duncan, > What constitutes a convincing argument for making significant changes? > Taking the example of optimization algorithms (say, for smooth objective > functions), how does one make a convincing argument that a particular class >

Re: [Rd] Competing with one's own work

2010-12-03 Thread Ravi Varadhan
Dear Doug, Thank you for the response. "constrOptim is in the stats package, not the base package." Yes, I know, and I meant to say base *distribution* rather than base package. "The burden of maintaining the code, fixing bugs or other infelicities, etc. is on the package maintainer." Of cou

Re: [Rd] Competing with one's own work

2010-12-03 Thread Duncan Murdoch
On 03/12/2010 12:01 PM, Ravi Varadhan wrote: Dear Duncan, What constitutes a convincing argument for making significant changes? I don't think there's any answer to that other than "an argument that convinces someone to make the changes". What would convince you to work on a problem? Your

Re: [Rd] Competing with one's own work

2010-12-03 Thread Ravi Varadhan
"The decision about whether it belongs in a package or in base R is about who should maintain the code." Ok. I understand it now. Thanks, Ravi. --- Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology Sch

Re: [Rd] Competing with one's own work

2010-12-03 Thread Paul Gilbert
At one time I lobbied for putting something in base or a required package, and it was suggested that the idea at the time was to remove things rather than add them. Generally, I agree that is a good idea, so I did not lobby more. When this question comes up it is always asked, and answered, in

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-03 Thread Dominick Samperi
Dirk, Please let me know whether or not you will comply with my request to remove references to my name in Rcpp (except copyright notices). Thanks, Dominick On Thu, Dec 2, 2010 at 6:28 PM, Dominick Samperi wrote: > > > On Thu, Dec 2, 2010 at 5:58 PM, Dirk Eddelbuettel wrote: > >> >> On 2 Decem

Re: [Rd] Competing with one's own work

2010-12-03 Thread Ben Bolker
Ravi Varadhan jhmi.edu> writes: > > "The decision about whether it belongs in a package or in base R is > about who should maintain the code." > > Ok. I understand it now. > > Thanks, > Ravi. > A point that may not have been made (sorry if it was and I missed it): A better question m

[Rd] Problem installing RCurl

2010-12-03 Thread Zhang,Jun
I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to install RCurl, it failed with the following lines, ... Version has CURLOPT_SSL_SESSIONID_CACHE libcurl version: libcurl 7.19.6 configure: creating ./config.status config.status: creating src/Makevars ** libs

Re: [Rd] Problem installing RCurl

2010-12-03 Thread Duncan Temple Lang
Hi Jun On 12/3/10 2:15 PM, Zhang,Jun wrote: > I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to > install RCurl, it failed with the following lines, > > ... > Version has CURLOPT_SSL_SESSIONID_CACHE > libcurl version: libcurl 7.19.6 > configure: creating .

Re: [Rd] Problem installing RCurl

2010-12-03 Thread Prof Brian Ripley
On Fri, 3 Dec 2010, Duncan Temple Lang wrote: Hi Jun On 12/3/10 2:15 PM, Zhang,Jun wrote: I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to install RCurl, it failed with the following lines, ... Version has CURLOPT_SSL_SESSIONID_CACHE libcurl version: