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 <lig...@statistik.tu-dortmund.de> wrote: > > > On 20.07.2017 13:55, Iago Mosqueira wrote: > >> Hi, >> >> I maintain a repository of R packages, where some of them co

[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

[R-pkg-devel] Scripts to generate data objects

2016-03-30 Thread Iago Mosqueira
Hello, What is the best way of keeping R scripts that are used to generate the data files in the data/ folder? These are not meant to be available to the user, but I would like to keep them in the package itself. Right now I am storing them inside data/, for example PKG/data/datasetone.R to

Re: [Rd] Overloading S4 methods

2011-06-07 Thread Iago Mosqueira
loading process? I have also tried adding it to a zzz.R file on iuts own but that did not work, I still need to re-run it after loading has finished. Many thanks, Iago On 6/6/11 4:11 AM, Iago Mosqueira wrote: On Wed, Jun 1, 2011 at 6:04 PM, Martin Morganmtmor...@fhcrc.org  wrote: On 06/01/2011

Re: [Rd] Overloading S4 methods

2011-06-07 Thread Iago Mosqueira
, a workaround until the bug is fixed would be something like: setMethod(plot, c(mynum, missing), getMethod(plot, c(mynum, missing))) executed after B is attached (I think it could be in the .onLoad function for B, but have not tested that). John On 6/6/11 4:11 AM, Iago Mosqueira wrote: On Wed

Re: [Rd] Overloading S4 methods

2011-06-06 Thread Iago Mosqueira
On Wed, Jun 1, 2011 at 6:04 PM, Martin Morgan mtmor...@fhcrc.org 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 setGeneric(plot, useAsDefault = plot

[Rd] Overloading S4 methods

2011-06-01 Thread Iago Mosqueira
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

[Rd] S4 generic for lowess

2008-05-20 Thread Iago Mosqueira
[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 with this. Many thanks, Iago -- Iago

[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

[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

[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 (About:

[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 __

[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

Re: [Rd] Package compile under Windows on 2.6.0

2007-10-09 Thread Iago Mosqueira
... 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 installer under Windows XP. (1) First, compiling any package using

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

2007-06-26 Thread Iago Mosqueira
- 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-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 name and then calls setClass, and a few other functions, inside. I have done

[Rd] setClass inside a function

2007-04-19 Thread Iago Mosqueira \(Cefas\)
(...) { return(FLPar(..., class=name)) } ) } --- Iago Mosqueira Systems Modelling Cefas Pakefield Rd. Lowestoft NR33 0HT U.K. Tel +44 (0) 1502 558003 *** This email and any attachments

Re: [Rd] Default argument value for [

2006-10-09 Thread Iago Mosqueira
, l, m, ..., drop = TRUE] return(flq) } .local(x, i, j, ..., drop = drop) } Signatures: x target FLQuant defined FLQuant Any idea where the problem might originate? Thanks, Iago Iago Mosqueira wrote: El mié, 04-10-2006 a las 09:52 -0400, John Chambers

[Rd] Default argument value for [

2006-10-04 Thread Iago Mosqueira
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] Default argument value for [

2006-10-04 Thread Iago Mosqueira
]) units(flq) - units(x) quant(flq) - quant(x) } else if(drop) flq - [EMAIL PROTECTED], j, k, l, m, ..., drop=TRUE] return(flq) } ) Iago Mosqueira wrote: Dear all, After

Re: [Rd] NAMESPACE and bundle

2006-06-29 Thread Iago Mosqueira
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 Mosqueira CC: r-devel@r-project.org Asunto: Re: [Rd] NAMESPACE and bundle Iago There is a problem that bundle

[Rd] NAMESPACE and bundle

2006-06-22 Thread Iago Mosqueira
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 Dr. Iago

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 differently than individual package

[Rd] Bundle internal dependencies

2006-03-29 Thread Iago Mosqueira
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/mailman

[Rd] install.packages in R 2.2.0

2005-11-22 Thread Iago Mosqueira
. 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 mailing list https://stat.ethz.ch/mailman/listinfo/r

[Rd] operators as S4 methods

2005-06-14 Thread Iago Mosqueira
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