Re:Introducing R to a non-programmer in one hour
by danso on Wednesday January 08, 2014 @09:35PM
(#7028402)
Don't remember for sure, might have been a Windows machine. I just tried it on my Mavericks OS X. It was allowed, but instead of:
it auto-translated to this:
(i'm assuming that's not a Sublime Text 3 thing, which is what I just tested on)
[ Parent
| on HN ]
Re:Introducing R to a non-programmer in one hour
by dded on Wednesday January 08, 2014 @11:02PM
(#7028673)
This fails on a Mac (10.9) and on CENTOS5 (2.6.18):
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
int main()
{
int fd = creat("foo/bar", 1);
if (fd == -1) {
printf("error\n");
} else {
close(fd);
}
return 0;
}