Displaying 20 results from an estimated 58 matches for "gaujoux".
2011 Oct 28
3
R CMD check and error in an \Sexpr in an Rd file
...tion:
\Sexpr[results=verbatim, stage=render]{x <- 1; stop("sexpr error")}
The strange thing is that it occurs at the example checking step.
Not sure why it does not break before.
Thank you.
Renaud
PS: I am on R version 2.13.2 (2011-09-30) - x86_64-pc-linux-gnu (64-bit)
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2012 Jun 08
4
Multiple sub-architecture: linking issue
....5.2/libstdc++.a when
searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
There is definitely some conflict or missing libraries going on...
Any help is appreciated.
Thank you.
PS: Dirk do you want me to post this on the Rcpp list for record?
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2012 Jun 08
4
Multiple sub-architecture: linking issue
....5.2/libstdc++.a when
searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
There is definitely some conflict or missing libraries going on...
Any help is appreciated.
Thank you.
PS: Dirk do you want me to post this on the Rcpp list for record?
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2010 Jul 09
2
Defining a method that behaves like '$'?
Hi,
is there a way to define a method say '$$' that would behave like '$'
and allow calls like 'a$$name'?
Thanks.
Renaud
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
###
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 4500. This e-mail is in...
2012 Apr 17
1
url, readLines, source behind a proxy
...`, which apparently uses internal
network functions (not as download.file), but is supposed to work behind
a proxy (correct?).
Does anybody else have this problem?
I was wondering if there is a way around, as I would like to be able to
use --as-cran for my checks.
Thank you.
Renaud
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2012 Dec 18
1
Call function only when running via R CMD check?
Hi Henrik (and list),
I am interested in a similar feature, and would be happy to see the
suggestions you got off-line :)
Have you come up with a robust solution, which would work in a variety
of situations (in examples, tests, \Sexpr calls, etc..)?
Thank you.
Bests,
Renaud
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2010 Sep 10
3
Non identical numerical results from R code vs C/C++ code?
...fly the R code perform multiple matrix product; the C code is an
optimization of those specific products via custom for loops, where
entries are not computed in the same order, etc... which improves both
memory usage and speed. The result is theoretically the same.
Thank you,
Renaud
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
###
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 4500. This e-mail is in...
2013 May 08
1
Namespace/inheritance problem in S4 methods for a union class
...html
See reproducible example from Martin below.
Thank you.
Renaud
---------- Forwarded message ----------
From: Martin Morgan <mtmorgan at fhcrc.org>
Date: 7 May 2013 19:55
Subject: Re: [Bioc-devel] ExpressionSet and LumiBatch: inheritance problem
in S4 methods for union class
To: Renaud Gaujoux <renaud at mancala.cbio.uct.ac.za>
Cc: bioc-devel at r-project.org, dupan.mail at gmail.com
I can replicate this with a simpler example, where PkgA has
setClass("A", representation(x="numeric"))
with NAMESPACE
import(methods)
exportClasses("A")
PkgB ha...
2011 Jun 28
1
doMC - compiler - concatenate an expression vector into a single expression?
...t;- i
message("Custom ", a)
}, {
print(i)
i * 2
})
[[2]]
expression({
a <- i
message("Custom ", a)
}, {
print(i)
i * 2
})
[[3]]
expression({
a <- i
message("Custom ", a)
}, {
print(i)
i * 2
})
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
###
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mai...{{dropped:5}}
2013 Nov 01
5
cat with backspace and newline characters
Hi,
when mixing newline and backspace characters I get the following output
(see below). In the second call, the backspace character is simply not
applied. Is this normal behaviour?
Thank you.
> cat("abc\b")
ab> cat("abc\b\n")
abc
>
[[alternative HTML version deleted]]
2012 Jul 05
1
Extracting srcref for S4 methods
...x, ...) standardGeneric('myfun'))
setMethod('myfun', 'numeric', function(x, ...){ 'myfun,numeric' })
")
source(f, keep.source=TRUE)
# there are srcref data for functions
str(f)
# no srcref data
str(myfun)
str(selectMethod(myfun, 'numeric'))
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
2008 Oct 30
2
Convert windows package to Linux source package
Hi,
is there a simple way, I mean a utility that converts a windows package
(.zip file) to a Linux source package (tar.gz or even simply extract the
source code and Rd files needed to run successfully a R CMD check).
The windows package doesn't have any external lib, C code, etc..., just
plain R code, so in theory it is quite straight forward (extract the
code from the functions, and
2014 Dec 05
2
install.packages deletes PACKAGES file in local repo
Hi,
running install.packages() to install a package from a local repository
(i.e., starts with file:///) appears to delete the PACKAGES file that is in
the src/contrib/ directory.
This happens on a cluster running Scientific Linux release 6.4 (Carbon),
but not on my Ubuntu local machine.
Subsequent calls to install.packages() complain about src/contrib/PACKAGES
not existing, although there still
2015 Jul 07
3
List S3 methods and defining packages
Hi,
from the man page ?methods, I expected to be able to build pairs
(class,package) for a given S3 method, e.g., print, using
attr(methods(print), 'info').
However all the methods, except the ones defined in base or S4
methods, get the 'from' value "registered S3method for print", instead
of the actual package name (see below for the first rows).
Is this normal
2011 Mar 04
1
Extending type list: names and inherited methods issue
...RY=C LC_MESSAGES=en_ZA.utf8 LC_PAPER=en_ZA.utf8
[8] LC_NAME=C LC_ADDRESS=C
LC_TELEPHONE=C LC_MEASUREMENT=en_ZA.utf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
###
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mai...{{dropped:5}}
2011 Oct 05
1
Behaviour of 'source' with URLs and proxy
...LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_ZA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_0.4
loaded via a namespace (and not attached):
[1] RCurl_1.6-10 tools_2.13.2
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
###
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mai...{{dropped:5}}
2015 Jul 08
0
List S3 methods and defining packages
...uly 2015 at 15:48, Kevin Wright <kw.stat at gmail.com> wrote:
> Not sure if this answers your question, but you can't unregister a method. See
>
> http://tolstoy.newcastle.edu.au/R/help/06/07/30791.html
>
> Kevin Wright
>
>
> On Wed, Jul 8, 2015 at 5:09 AM, Renaud Gaujoux
> <renaud at mancala.cbio.uct.ac.za> wrote:
>> Thank you for your reply Martin.
>> Your code made me realize that S3 methods are added to the
>> .__S3MethodsTable__. of the package that defines the generic, not to
>> the ones defining the method itself.
>> How...
2009 Aug 20
2
eval and evironments: call local function in a global function
Hi,
in my project I want the user to be able to write hook functions that
are in turn called in my main code. I'd like the user's hooks to be able
to call some function that set a variable outside their running
environment. The trick is that this variable is not global, but defined
on runtime before calling the hooks, and I don't want to leave any trace
(i.e. global variables)
2016 Mar 03
0
Ubuntu console weird behaviour
...LC_MONETARY=en_ZA.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_ZA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_ZA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
--
Renaud Gaujoux, PhD
Systems Immunology - Technion, Haifa, Israel
[[alternative HTML version deleted]]
2009 Nov 27
0
NMF package for Nonnegative Matrix Factorization
...ckage implements a number of standard algorithms to perform
Nonnegative Matrix Factorization.
It also provides a flexible framework to easily test and develop new
methods, as well as a layer to work with Bioconductor objects.
The package is available from CRAN. Feedbacks are welcome.
--
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages