Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread nobody
On Tue, Aug 14, 2012 at 10:32:22AM -0400, Simon Urbanek wrote: > > On Aug 14, 2012, at 10:19 AM, nobody wrote: > > > On Tue, Aug 14, 2012 at 01:48:44PM +0200, peter dalgaard wrote: > >> > >> Perhaps I'm confused, but how did either of you expect to fix a problem > >> with fgetc by modifying fge

[Rd] chown, chgrp?

2012-08-14 Thread Hadley Wickham
Hi all, Is there an R wrapper for chown/chgrp (a la Sys.chmod)? I couldn't find one with a few minutes of searching, but it seems like a curious omission. Thanks, Hadley -- Assistant Professor Department of Statistics / Rice University http://had.co.nz/ __

[Rd] as.numeric and as.character with locale using comma as separator

2012-08-14 Thread Claudia Beleites
Dear all, summary: My LC_NUMERIC is changed from C to de_DE by library (qtbase). [which shouldn't happen according to the warning when setting it back manually]. I posted an issue at their github repository, but maybe the behaviour is a bit more of general interest. However, if LC_NUMERIC is cha

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread Simon Urbanek
On Aug 14, 2012, at 10:19 AM, nobody wrote: > On Tue, Aug 14, 2012 at 01:48:44PM +0200, peter dalgaard wrote: >> >> Perhaps I'm confused, but how did either of you expect to fix a problem with >> fgetc by modifying fgets??? >> >> -- >> Peter Dalgaard, Professor >> Center for Statistics, Copen

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread nobody
On Tue, Aug 14, 2012 at 01:48:44PM +0200, peter dalgaard wrote: > > Perhaps I'm confused, but how did either of you expect to fix a problem with > fgetc by modifying fgets??? > > -- > Peter Dalgaard, Professor > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederik

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread Simon Urbanek
Ouch - typo, misread ... Sent from my iPhone On Aug 14, 2012, at 7:48 AM, peter dalgaard wrote: > > On Aug 13, 2012, at 20:22 , nobody wrote: > >> On Mon, Aug 13, 2012 at 10:49:26AM -0400, Simon Urbanek wrote: >>> I suspect that your runtime/libc is defining fgetc as a macro which breaks >>>

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread peter dalgaard
On Aug 13, 2012, at 20:22 , nobody wrote: > On Mon, Aug 13, 2012 at 10:49:26AM -0400, Simon Urbanek wrote: >> I suspect that your runtime/libc is defining fgetc as a macro which breaks >> any code that uses it as an identifier. Ideally, your runtime should be >> fixed to use a proper function,

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread nobody
On Mon, Aug 13, 2012 at 10:49:26AM -0400, Simon Urbanek wrote: > I suspect that your runtime/libc is defining fgetc as a macro which breaks > any code that uses it as an identifier. Ideally, your runtime should be fixed > to use a proper function, but you could probably work around it with > som