On Friday 19 January 2007 6:46 pm, Ross Boylan wrote:
> On Fri, Jan 19, 2007 at 03:55:30AM -0500, Kimpel, Mark William wrote:
> I can't say much about "libraries already on other machines", but the
> C runtime is probably the one you can count on being there the most.
Well, I don't think it is the
On Sat, 20 Jan 2007, Roger Bivand wrote:
> On Fri, 19 Jan 2007, Kimpel, Mark William wrote:
>
>> Thanks to all for your excellent suggestions. I think will I proceed
[snip]
Commenting on writing R packages with portable C/C++ code:
>
> [F]ollowing the guides to the letter gets you there like
>
On Fri, 19 Jan 2007, Kimpel, Mark William wrote:
> Thanks to all for your excellent suggestions. I think will I proceed
> working through the Stroustrup book. He has a section on comparing C
> with C++ and one on working with legacy C code that may prove helpful. I
> also have a "C for Dummies" (s
On Fri, Jan 19, 2007 at 03:55:30AM -0500, Kimpel, Mark William wrote:
> I have 3 years of experience with R and have an interest in becoming a
> better programmer so that I might someday be able to contribute
> packages. Other than R, my only experience was taking Lisp from Daniel
> Friedman in the
Simon Urbanek wrote:
>
> In fact, there is even one more caveat which I don't remember seeing
> mentioned - it *must* be a build without r_arch set, otherwise the
> cross-build fails as well (despite a correct version). I got bitten by
> this recently when trying to use the OS X binary for cro
On 1/19/2007 10:04 AM, Kimpel, Mark William wrote:
> Thanks to all for your excellent suggestions. I think will I proceed
> working through the Stroustrup book. He has a section on comparing C
> with C++ and one on working with legacy C code that may prove helpful. I
> also have a "C for Dummies" (
Thanks to all for your excellent suggestions. I think will I proceed
working through the Stroustrup book. He has a section on comparing C
with C++ and one on working with legacy C code that may prove helpful. I
also have a "C for Dummies" (something like that, I don't have it right
next to me) that
On Jan 19, 2007, at 2:38 PM, Hin-Tak Leung wrote:
> Prof Brian Ripley wrote:
>> The 2.4.0 issue has been well documented only last week, in the
>> thread
>>
>> https://stat.ethz.ch/pipermail/r-help/2007-January/123303.html
>>
>> as well as in an answer I had already posted.
>>
>> I am almost ce
Thank you so much for your great answers, and I apologize for using
obsolete versions and not being up to date on all the posts.
My native linux R is indeed R-2.3.1 which was also the version for
which I successfully cross-compiled. When trying to cross-compile for
2.4.0 and 2.4.1 I was not succes
Prof Brian Ripley wrote:
> The 2.4.0 issue has been well documented only last week, in the thread
>
> https://stat.ethz.ch/pipermail/r-help/2007-January/123303.html
>
> as well as in an answer I had already posted.
>
> I am almost certain the issue for 2.4.1 is user error. Remember you need
>
On Friday 19 January 2007 1:29 pm, Gabor Grothendieck wrote:
> > If you decide to use C++ with R you should check out the documentation
> > that comes with the package RcppTemplate, and the sample code that
> > comes with that package. In my experience C++ (or C or FORTRAN) is
> > needed for many c
On Wed, Jan 17, 2007 at 11:56:15PM -0800, Ross Boylan wrote:
> An earlier thread (in 10/2006) discussed encoding issues in the
> context of R data and the desire to represent accented characters.
>
> It matters in another setting: the output generated by R and the
> seemingly order character "'" (
The 2.4.0 issue has been well documented only last week, in the thread
https://stat.ethz.ch/pipermail/r-help/2007-January/123303.html
as well as in an answer I had already posted.
I am almost certain the issue for 2.4.1 is user error. Remember you need
to set in MkRules
## ===
On 1/19/07, Dominick Samperi <[EMAIL PROTECTED]> wrote:
> Kimpel, Mark William wrote:
> > I have 3 years of experience with R and have an interest in becoming a
> > better programmer so that I might someday be able to contribute
> > packages. Other than R, my only experience was taking Lisp from Da
Kimpel, Mark William wrote:
> I have 3 years of experience with R and have an interest in becoming a
> better programmer so that I might someday be able to contribute
> packages. Other than R, my only experience was taking Lisp from Daniel
> Friedman in the 1970's. I would like to learn either C or
Since many posts to R-devel/help invoke this response:
Prof Brian Ripley wrote:
> Please, use the current version of R and not an obselete one
is there an argument for including a version check on R startup? These
things seem somewhat in vogue these days (what with everything on the
internet
Please, use the current version of R and not an obselete one (you failed
to report the version, but you do have 'R-2.4.0' in the path name, so I
presume that is what you are using). This does not occur under 2.4.1.
(The problem is in the binutils you are using to cross-compile, and an
alternat
Mark,
Great question. As Gabor said, if it is "just for R", there is no point in
learning C or C++. However, learning new programming paradigms is very useful
in and by itself, and being able to extend R with C, C++ or Fortran is
extremely useful for R.
I would suggest what I jokingly call 'C+'
Thank you!
It's clear now. I was not looking at the real source code, but at the
code you get from the print method (that is by simply typing combn
at the prompt), which has all the comments removed. Next time I'll
take my time looking for the real source code ;)
Thanks again,
Giampiero
On Fri,
The usual drill: The problem is fixed in R 2.4.1 (i.e. please do
not report bugs on old versions). In addition, you need newer mingw
than you have.
Daniel Berg wrote:
> I have the same problem, trying to cross-compile.
>
> I'm running Ubuntu Edgy, kernel 2.6.17-10-generic, on an IBM T60.
>
> I d
You missed my posts (earlier this week). The subject is:
"mingw-cross with R 2.4.x Re: [Rd] wine and build difference between
R.2.4.0 and R 2.4.1 windows binaries?" which contains my notes on this
subject.
Basically you need newer mingw than on Prof Ripley's web site (i.e.
you'll need to build m
Dear Mark,
On Friday 19 January 2007 09:55, Kimpel, Mark William wrote:
> I have 3 years of experience with R and have an interest in becoming a
> better programmer so that I might someday be able to contribute
> packages. Other than R, my only experience was taking Lisp from Daniel
> Friedman in
You don't necessarily need to know C or C++ to write an R package.
Many (maybe most) R packages only use R.
On 1/19/07, Kimpel, Mark William <[EMAIL PROTECTED]> wrote:
> I have 3 years of experience with R and have an interest in becoming a
> better programmer so that I might someday be able to co
Dear Giampiero,
> storage.mode(1)
[1] "double"
> storage.mode(1:1)
[1] "integer"
as.integer(1) would perhaps be the more pedagogical way to program this.
Best wishes
Wolfgang
--
Wolfgang Huber EBI/EMBL Cambridge UK http://www
On 1/19/2007 3:55 AM, Kimpel, Mark William wrote:
> I have 3 years of experience with R and have an interest in becoming a
> better programmer so that I might someday be able to contribute
> packages. Other than R, my only experience was taking Lisp from Daniel
> Friedman in the 1970's. I would lik
> "Giampiero" == Giampiero Salvi <[EMAIL PROTECTED]>
> on Fri, 19 Jan 2007 14:21:24 +0100 (CET) writes:
Giampiero> Hi,
Giampiero> I was checking the source code to the function combn that
"generates
Giampiero> all combinations of the elements of 'x' taken 'm' at a time.",
Dear all,
I already posted a question regarding this to an existing thread:
http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start
I apologize for the double posting but I have some further information
that might be illuminating.
I am trying to cross-compile my R-package under ubuntu l
I have 3 years of experience with R and have an interest in becoming a
better programmer so that I might someday be able to contribute
packages. Other than R, my only experience was taking Lisp from Daniel
Friedman in the 1970's. I would like to learn either C or C++ for
several reasons:
To gain a
I have the same problem, trying to cross-compile.
I'm running Ubuntu Edgy, kernel 2.6.17-10-generic, on an IBM T60.
I downloaded the Makefile from CRAN and ran make CrossCompileBuild
with the following error messages (also ran each make one at the time
and the problem occurs in make R):
../extra
Hi,
I was checking the source code to the function combn that "generates
all combinations of the elements of 'x' taken 'm' at a time.",
because I wished to modify it. I have a doubt about a statement.
This is the main loop.
._1 <- 1:1
nmmp1 <- n - m + ._1
while (a[1] != nmmp1) {
30 matches
Mail list logo