[Rd] sprintf error: only 100 arguments allowed

2015-08-22 Thread Martin Bel
I'm trying to apply a function defined in the VW R docs, that attemps to convert a data.table object to Vowpal Wabbit format. In the process i'm getting the error in printf mentioned in the subject. The original function is here: https://github.com/JohnLangford/vowpal_wabbit/blob/master/R/dt2vw.R

Re: [Rd] unset() function?

2015-08-22 Thread luke-tierney
This wouldn't actually work at present as evaluating a promise always sets NAMED to 2. With reference counting it would work so might be worth considering when we switch. Going forward it would be best to use MAYBE_REFERENCED to test whether a duplicate is needed -- this macro is defined

Re: [Rd] unset() function?

2015-08-22 Thread Henrik Bengtsson
Hi, I was playing around with this idea earlier this year. This would allow you to remove a variable with NAMED2 while still passing it's value, e.g. x1 - log(r(x1)) where the returned value/variable has NAMED=1. At first I was quite excited about the results, but it turned out that it

[Rd] Build optimized R : openblas, MKL, ATLAS

2015-08-22 Thread arnaud gaboury
I want to build R optimized, with either MKL, OpenBLAS or ATLAS. My OS: Fedora 22 Hardware: CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 Thread(s) per core: 2 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz I am a little confused when it comes