Dear Seth,
Thank you for your message.
On Thursday 28 September 2006 16:22, Seth Falcon wrote:
> Arne Henningsen <[EMAIL PROTECTED]> writes:
> > Hi,
> >
> > I was really happy when I saw that in R version 2.3.0 "R CMD check" works
> > for packages whose package name is different from the director
Hi,
I am unable to build a package I maintain using a relatively current
build of R-2.4.0 alpha, whereas the package builds just fine on R-2.3.1.
Both versions of R were built from source. I'm hoping a guRu might be
able to give some help.
Some snippets from the build process:
R-2.3.1
making
Here is a patch to improve documentation for finding useful, yet newish,
functions: 'findInterval' and 'colorRamp'. I think that it is worthwhile
to mention these in the 'seealso' section of the similar 'match' and
'palette' documents. I had difficulty finding these functions at first,
as they
On Thursday 28 September 2006 13:36, Patricia Bautista Otero wrote:
> Hi r-devel,
>
> I am working on a R extension. My package is writen on C++ and in my code
> I require a R function object. I received the R function object, then a
> point x in which the "function" is going to be evaluated is gen
Hi r-devel,
I am working on a R extension. My package is writen on C++ and in my code
I require a R function object. I received the R function object, then a
point x in which the "function" is going to be evaluated is generated in
some way, then I evalue the "function" at x and I repete this pr
On Thu, 28 Sep 2006, Hiroyuki Kawakatsu wrote:
> Hi,
>
> I'm having problems using ACML with R. I made two changes in
> config.site by setting
> LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
> BLAS_LIBS="-lacml"
That's not how the R-admin manual describes how to do this. Please try
the way it does descr
On Thu, 28 Sep 2006, Prof Brian Ripley wrote:
> I don't understand why \` is regarded as intentional. It crops up in
> packages date and survival (the same code) in
>
> stop(paste("\`", .Generic, "' not meaningful for dates",
> sep = ""))
>
> which clearly should use s
On Thu, 28 Sep 2006, Christoph Buser wrote:
> Dear Brian
>
> Thank you for your answer and the comment you included on the
> apply() help page.
>
> 1)
>
> You are correct. My data.frame is coerced into a matrix in
> apply()
>
> 2)
>
> I agree that the new version of unlist() is better and works
>
On Thu, 28 Sep 2006, Peter Dalgaard wrote:
> "Gabor Grothendieck" <[EMAIL PROTECTED]> writes:
>
>> That's a good idea for the case I mentioned although there is still
>> the case where one requires a single quoted string (maybe for
>> generating code for some other language) and that is
>> not han
Hi,
I'm having problems using ACML with R. I made two changes in
config.site by setting
LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
BLAS_LIBS="-lacml"
./config and make go through but when I try to use the lm() function,
I get the error message
Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
l
"Gabor Grothendieck" <[EMAIL PROTECTED]> writes:
> That's a good idea for the case I mentioned although there is still
> the case where one requires a single quoted string (maybe for
> generating code for some other language) and that is
> not handled by deparse.
Yes, but there be devils lurking
On 28 Sep 2006 16:33:17 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote:
> "Gabor Grothendieck" <[EMAIL PROTECTED]> writes:
>
> > One area where a problem might appear is if one is
> > generating R code, e.g.
> >
> > paste("a <-", dQuote("xyz")) # wrong!
> >
> > since in UTF-8 dQuote (and sQuot
I normally only keep one version locally since everything else
can be retrieved, if needed, from the repository. If you do want
to keep multiple versions locally then, of course, there is still
a potential problem.
On 9/28/06, Arne Henningsen <[EMAIL PROTECTED]> wrote:
> Dear Gabor,
>
> Thank you
"Gabor Grothendieck" <[EMAIL PROTECTED]> writes:
> One area where a problem might appear is if one is
> generating R code, e.g.
>
> paste("a <-", dQuote("xyz")) # wrong!
>
> since in UTF-8 dQuote (and sQuote) do not necessarily
> generate double quotes (and single quotes) so one winds
> up u
Dear Brian
Thank you for your answer and the comment you included on the
apply() help page.
1)
You are correct. My data.frame is coerced into a matrix in
apply()
2)
I agree that the new version of unlist() is better and works
correctly and that in array() (due to as.vector()) the factor
"ans"
Arne Henningsen <[EMAIL PROTECTED]> writes:
> Hi,
>
> I was really happy when I saw that in R version 2.3.0 "R CMD check" works for
> packages whose package name is different from the directory name in which it
> is located (see http://cran.r-project.org/src/base/NEWS).
> Now, I can have branch
Dear Gabor,
Thank you for your message.
On Thursday 28 September 2006 15:30, Gabor Grothendieck wrote:
> Another possibility is to store your code in svn or other version
> control system.
Unfortunately, I can't see why this should make a difference for
"R CMD build". Do I miss something?
The e
Maybe this was not as obvious or well-known as I assumed would be the
case on this list.
In an OOP system (I dislike the term but let's use it), the programming
mechanism is to invoke a method on an object. Say method flag on object x:
x$flag()
(using "$" in R style instead of the usual "
One area where a problem might appear is if one is
generating R code, e.g.
paste("a <-", dQuote("xyz")) # wrong!
since in UTF-8 dQuote (and sQuote) do not necessarily
generate double quotes (and single quotes) so one winds
up using double quotes within single quotes or else
backslash-protecte
Thanks, Bill, that is helpful.
I've been running a prototype across R itself and CRAN. It is clear that
we do have lots of strings with escaped newlines (the escape is generated
in the parser if there is an embedded newline) so they need to be an
exception. On my first version 99 CRAN package
Another possibility is to store your code in svn or other version
control system.
On 9/28/06, Arne Henningsen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was really happy when I saw that in R version 2.3.0 "R CMD check" works for
> packages whose package name is different from the directory name in whi
In my package's zzz.R, I put
.Last.lib <- function(libpath) {
unloadNamespace("mypackage")
}
and I exported .Last.lib in NAMESPACE, with the intent that detaching
the package would also cause the name space to be unloaded. However, the
result of detach("package:mypackage") is then
Error: e
Hi,
I was really happy when I saw that in R version 2.3.0 "R CMD check" works for
packages whose package name is different from the directory name in which it
is located (see http://cran.r-project.org/src/base/NEWS).
Now, I can have branches of my packages in directories like
"[...]/branches//
23 matches
Mail list logo