Re: [Rd] Separate packages per windows subarch in repository

2017-07-20 Thread Iago Mosqueira
I have something working using configure.win, but this changes the executable when the windows version of the package is created via R CMD INSTALL --build. Could there be any way to do so at installation time from the binary package? Thanks, Iago On 20 July 2017 at 16:21, Iago Mosqueira

Re: [Rd] Separate packages per windows subarch in repository

2017-07-20 Thread Iago Mosqueira
/ so that the right one is installed? Cheers, Iago On 20 July 2017 at 15:38, Uwe Ligges wrote: > > > On 20.07.2017 13:55, Iago Mosqueira wrote: > >> Hi, >> >> I maintain a repository of R packages, where some of them contain >> executable binaries. I need t

[Rd] Separate packages per windows subarch in repository

2017-07-20 Thread Iago Mosqueira
Hi, I maintain a repository of R packages, where some of them contain executable binaries. I need to separate those compiled for 32 and 64 bit in Windows, but I could not how to do any of the two options I can think of: 1. Have subarch subfolders in PKG/inst/bin to that the right one is installed

Re: [Rd] Overloading S4 methods

2011-06-07 Thread Iago Mosqueira
ictable implementation for most applications would, say, define a >>> new class in B that extended the class in A. In your example (very >>> helpful, by the way) one might have a class "mynumB", perhaps with the >>> same slots as "mynum" but with modified b

Re: [Rd] Overloading S4 methods

2011-06-07 Thread Iago Mosqueira
priate here? Adding the call to setMethod(..., getMethod()) did not work if placed inside .onLoad, and in fact had the effect of getMethod() now returning the Apkg method after Bpkg was loaded. Running the line after Bpkg has loaded did sort it out. What would then be the best way of adding this

Re: [Rd] Overloading S4 methods

2011-06-06 Thread Iago Mosqueira
On Wed, Jun 1, 2011 at 6:04 PM, Martin Morgan wrote: > On 06/01/2011 04:39 AM, Iago Mosqueira wrote: >> >> Dear all, >> >> I am experiencing some problems with S4 method overloading. I have >> defined a generic for graphics:plot, using >> >> setGeneri

[Rd] Overloading S4 methods

2011-06-01 Thread Iago Mosqueira
be going wrong? How is it that a different method than the one shown by selectMethod() is being run? Something to do with the 'missing' part of the signature? Many thanks, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Linking to headers and shared library in another package

2008-11-11 Thread Iago Mosqueira
Hi, A package with some C code needs to use the headers and shared library in another package during installation/compilation. The first one is achieved through the LinkingTo option in DESCRIPTION. For the second a Makevars file with PKG_LIBS=$(R_HOME)/library/firstPkg/libs/firstPkg.so was being

Re: [Rd] Cross-compilers for 2.7.0

2008-05-29 Thread Iago Mosqueira
Prof Brian Ripley wrote: > On Wed, 28 May 2008, Iago Mosqueira wrote: > >> Hello, >> >> Am I right in thinking the cross-compilations tools, kindly maintained >> by Prof Ripley, are still waiting to be updated for 2.7.0? > > What is unclear about > >

[Rd] Cross-compilers for 2.7.0

2008-05-28 Thread Iago Mosqueira
Hello, Am I right in thinking the cross-compilations tools, kindly maintained by Prof Ripley, are still waiting to be updated for 2.7.0? Thanks, Iago -- Iago Mosqueira Cefas Systems Modelling Pakefield Rd. Lowestoft NR33 0HT U.K. +44 (0)1502 558003

[Rd] S4 generic for lowess

2008-05-20 Thread Iago Mosqueira
= 0.01 * diff(range(xy$x[o]))) where 'xy' and 'o' are present in the argument list but are really defined inside the function itself. I suppose I can safely ignore this warning, and the new methods seems to work fine, but I was curious to know if there is a better way to deal w

[Rd] LinkingTo for 2 packages

2008-04-17 Thread Iago Mosqueira
Hello, One of our packages contains C++ code that needs to be compiled against 2 other packages. So the LinkingTo field in DESCRIPTION looks like this LinkingTo: FLCore,FLash Both packages are also in the Depends field. In R 2.6.2, first thing we noticed was that both names could not have any s

[Rd] Need for garbage collection after creating object

2008-02-05 Thread Iago Mosqueira
Hello, After experiencing some difficulties with large arrays, I was surprised to see the apparent need for class to gc() after creating fairly large arrays. For example, calling a<-array(2, dim=c(10,10,10,10,10,100)) makes the memory usage of a fresh session of R jump from 13.8 Mb to 166.4 M

[Rd] Errors in demo (PR#10527)

2007-12-24 Thread Iago Mosqueira
> Date: Mon, 24 Dec 2007 07:00:23 +0100 (CET) > From: [EMAIL PROTECTED] Subject: [Rd] Errors in demo (PR#10527) > To: [EMAIL PROTECTED] > R version 2.6.1 (2007-11-26) OS: Mac OS X v 10.4.11 > Submission from: (NULL) (76.240.79.123) > I downloaded the most recent version of R for the mac (Ab

[Rd] Errors in demo (PR#10527)

2007-12-24 Thread Iago Mosqueira
> Date: Mon, 24 Dec 2007 07:00:23 +0100 (CET) > From: [EMAIL PROTECTED] Subject: [Rd] Errors in demo (PR#10527) > To: [EMAIL PROTECTED] > R version 2.6.1 (2007-11-26) OS: Mac OS X v 10.4.11 > Submission from: (NULL) (76.240.79.123) > I downloaded the most recent version of R for the mac (Ab

[Rd] Small typo in 'Writing R extensions'

2007-12-21 Thread Iago Mosqueira
Hello, I have just noticed the Table of Contents of 'Writing R extensions' is wrongly numbered, as it gives, for example, 5. Debugging, when that is section 4, as the acknowledgements section is numbered in the ToC only. Regards, Iago __ R-devel@r-

Re: [Rd] SHLIB steps on a Makefile

2007-12-20 Thread Iago Mosqueira
On Dec 20, 2007 11:23 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 20 Dec 2007, Iago Mosqueira wrote: > > > Hi, > > > > I need to create a Makefile.win for a given package so as to fiddle > > slightly with the compilation process. My Makefile w

[Rd] SHLIB steps on a Makefile

2007-12-20 Thread Iago Mosqueira
_res.rc -o pkg_res.o g++-sjlj -shared -s -o pkg.dll pkg.def pkg.o FL pkg_res.o -L$(RHOME)/bin -lR This might be fairly obvious, but it is my first attempt at compiling with MinGW and my search has been fruitless. What is it that I need to add to replicate what Rcmd SHLIB does? Many than

Re: [Rd] Package compile under Windows on 2.6.0

2007-10-09 Thread Iago Mosqueira
ackage that shows problems ... This is the basic package of our library, so we need this one before others can be tested. > > Iago Mosqueira wrote: > > Dear all, > > > > We are experiencing some trouble when compiling R packages using R > > 2.6.0 and the new Rtools inst

[Rd] Package compile under Windows on 2.6.0

2007-10-09 Thread Iago Mosqueira
Dear all, We are experiencing some trouble when compiling R packages using R 2.6.0 and the new Rtools installer under Windows XP. (1) First, compiling any package using the new setup stops with an errorrelated to some "/" issue on the inst folder. This folder only contains a CITATION file --

[Rd] Behaviour of mle and environments or calling mle inside a function

2007-06-26 Thread Iago Mosqueira
found rec <- object$rec ssb <- object$ssb foo(object) and this works. Using R version 2.5.0 (2007-04-23), on Linux (Ubuntu) 2.6.17 Many thanks, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] setClass inside a function

2007-04-24 Thread Iago Mosqueira
Hi Martin, Thanks very much, your suggestion on the "where" argument did the trick. Many thanks, Iago > > "Iago Mosqueira (Cefas)" <[EMAIL PROTECTED]> writes: > > > Hi Martin, > > > > Thanks very much for your help. >

Re: [Rd] setClass inside a function

2007-04-20 Thread Iago Mosqueira \(Cefas\)
Hi Martin, Thanks very much for your help. > > Hi Iago -- > > Here's my attempt at an answer. > > "Iago Mosqueira (Cefas)" <[EMAIL PROTECTED]> writes: > > > Hello, > > > > I would like to create a function that gets passed a class

[Rd] setClass inside a function

2007-04-19 Thread Iago Mosqueira \(Cefas\)
uot;, sep=""))) setMethod(name, signature(object='ANY'), function(object, ...) return(FLPar(object, ..., class=name)) ) setMethod(name, signa

Re: [Rd] Default argument value for "["

2006-10-09 Thread Iago Mosqueira
flq <- FLQuant([EMAIL PROTECTED], j, k, l, m, drop = FALSE]) units(flq) <- units(x) quant(flq) <- quant(x) } else flq <- [EMAIL PROTECTED], j, k, l, m, ..., drop = TRUE] return(flq) } .local(x, i, j, ..., drop = drop) } S

Re: [Rd] Default argument value for "["

2006-10-04 Thread Iago Mosqueira
flq <- FLQuant([EMAIL PROTECTED], j, k, l, m, drop=FALSE]) units(flq) <- units(x) quant(flq) <- quant(x) } else if(drop) flq <- [EMAIL PROTECTED], j, k, l, m, ..., drop=TRUE]

[Rd] Default argument value for "["

2006-10-04 Thread Iago Mosqueira
Am I missing something? Has there been a change in R 2.4.0 of relevance here? I could not find it in the NEWS file. Many thanks, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] NAMESPACE and bundle

2006-06-29 Thread Iago Mosqueira
t outside of the bundle is solved with Depends: in DESCRIPTION. Is there anything else I could look at? Thanks, Iago Iago Mosqueira wrote: > > -Mensaje original- > > De: Paul Gilbert [mailto:[EMAIL PROTECTED] > > Enviado el: jue 22/06/2006 15:47 > > Para: Iago M

Re: [Rd] NAMESPACE and bundle

2006-06-22 Thread Iago Mosqueira
> -Mensaje original- > De: Paul Gilbert [mailto:[EMAIL PROTECTED] > Enviado el: jue 22/06/2006 15:47 > Para: Iago Mosqueira > CC: r-devel@r-project.org > Asunto: Re: [Rd] NAMESPACE and bundle > Iago > There is a problem that bundle checking works slightly differ

[Rd] NAMESPACE and bundle

2006-06-22 Thread Iago Mosqueira
o conflict with every other secondary package. I am dealing with internal dependencies by adding a require(FLCore) line to the .onLoad() call in zzz.R Can anybody point me at what to look for? What could be the reason for this problem? I hope the explanation was clear enough. Many thanks, Iago

[Rd] Bundle internal dependencies

2006-03-29 Thread Iago Mosqueira
so I am not sure right now whether the whole dependencie is not being met or simple relates to data(). What is the best way of dealing with this structure? Many thanks, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.ethz.ch/ma

[Rd] install.packages in R 2.2.0

2005-11-22 Thread Iago Mosqueira
when install.packages is called from R 2.1.1. There are other packages in this repository that do not have versions dependent on R version, but still the same problem appears. Any ideas? Thanks very much, Iago Mosqueira __ R-devel@r-project.org ma

[Rd] operators as S4 methods

2005-06-14 Thread Iago Mosqueira
for doing this? I hope I haven't missed some obvious piece of documentation. Many thanks, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel