[Rd] R CMD check tells me 'no visible binding for global variable ', what does it mean?

2010-04-12 Thread Michael Dewey
When I run R CMD check on a package I have recently started work on I get the following: * checking R code for possible problems ... NOTE addlinear: no visible binding for global variable 'x' I appreciate that this is only a NOTE and so I assume is R's equivalent of 'This is perfectly legal

Re: [Rd] R CMD check tells me 'no visible binding for global variable ', what does it mean?

2010-04-12 Thread Duncan Murdoch
On 12/04/2010 10:51 AM, Michael Dewey wrote: When I run R CMD check on a package I have recently started work on I get the following: * checking R code for possible problems ... NOTE addlinear: no visible binding for global variable 'x' I appreciate that this is only a NOTE and so I assume is

Re: [Rd] R CMD check tells me 'no visible binding for global variable ', what does it mean?

2010-04-12 Thread Henrik Bengtsson
On Mon, Apr 12, 2010 at 5:08 PM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 12/04/2010 10:51 AM, Michael Dewey wrote: When I run R CMD check on a package I have recently started work on I get the following: * checking R code for possible problems ... NOTE addlinear: no visible binding

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-12 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Henrik Bengtsson Sent: Monday, April 12, 2010 8:24 AM To: Duncan Murdoch Cc: r-devel; Michael Dewey Subject: Re: [Rd] R CMD check tells me 'no visible binding for

Re: [Rd] Getting started with .C

2010-04-12 Thread Sharpie
Jeff Brown wrote: Hi, I'm trying to learn to use .C, which lets one invoke compiled C code from within R. To do that, one has to first get the C code into R as a shared object, which (I think) means first compiling it (with COMPILE or SHLIB) and then loading it (with dyn.load()).

Re: [Rd] Getting started with .C

2010-04-12 Thread Dirk Eddelbuettel
On 12 April 2010 at 18:11, Sharpie wrote: | Jeff Brown wrote: | I'm trying to learn to use .C, which lets one invoke compiled C code from | within R. To do that, one has to first get the C code into R as a shared | object, which (I think) means first compiling it (with COMPILE or SHLIB) |

[Rd] Lapack, determinant, multivariate normal density, solution to linear system, C language

2010-04-12 Thread shotwelm
r-devel list, I have recently written an R package that solves a linear least squares problem, and computes the multivariate normal density function. The bulk of the code is written in C, with interfacing code to the BLAS and Lapack libraries. The motivation here is speed. I ran into a problem