Re: [Rd] Multiple sub-architecture: linking issue

2012-06-08 Thread Simon Urbanek
R doesn't use C++ nor the other libraries so you wouldn't find out about such missing pieces. Unfortunately I'm traveling w/o computer today so I can't look up what you need. If someone doesn't beat me to it I'll have a look when I get back. Simon Sent from my iPhone On Jun 8, 2012, at 11:08 A

[Rd] Interaction parameter for split()

2012-06-08 Thread R. Michael Weylandt
Tal's wonderful aggregator recently reblogged this post: http://rsnippets.blogspot.com/2012/06/you-should-not-use-split-in-production.html It's a rather obscure little buglet [and probably only arises in pathological cases], but I don't know if it's not a case that deserves a bit of consideration

Re: [Rd] Multiple sub-architecture: linking issue

2012-06-08 Thread Renaud Gaujoux
Thank you for your reply Simon. I have the gcc-multilib and ia32-libs packages installed (I think their installation is part of the procedure you described in your previous post). Could not find the package ia32-dev you mention. It seems to be flagged as obsolete in Natty repositories: $ sud

Re: [Rd] Multiple sub-architecture: linking issue

2012-06-08 Thread Simon Urbanek
Make sure you have installed multilib gcc and the ia32 dev packages - it seems you don't have them. I'm a Sent from my iPhone On Jun 8, 2012, at 6:27 AM, Renaud Gaujoux wrote: > Hi again, > > following my previous post on RCurl, I cannot install Rcpp either: > > g++ -m32 -I/home/renaud/bin/

[Rd] Working with optim in C

2012-06-08 Thread Edward Worbis
I've searched to find examples of how to work with the C versions of optim. I've separated out the function just to test on it alone, and currently I'm attempting to use fmmin as follows: !~~CODE ~~! double optimfn(int n, double *par, void *ex) { double * lambda = (double*)malloc(sizeo

[Rd] Multiple sub-architecture: linking issue

2012-06-08 Thread Renaud Gaujoux
Hi again, following my previous post on RCurl, I cannot install Rcpp either: g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include-fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/l

[Rd] Multiple sub-architecture: problem installing RCurl

2012-06-08 Thread Renaud Gaujoux
Hi, for checking purposes, I setup a multiple sub-architecture R installation following this post from Simon Urbanek: https://stat.ethz.ch/pipermail/r-devel/2011-August/061755.html It all went fine. The only change I made to Simon's procedure was to install with: make prefix=~/bin/R/2.15 insta