Displaying 3 results from an estimated 3 matches for "b_value".
Did you mean:
m_value
2011 Aug 10
3
How to quickly convert a data.frame into a structure of lists
...mpt was to go through every row of the data.frame and append
the value to the appropriate vector.
I first initialized a structure of lists ending with NULL vector, then I did
something like this:
for (i in 1:nrow(DataFrame)) {
eval(
substitute(
append(MyData at list_structure$a_value$b_value, c_value),
list(a_value=as.character(DF$A[i]), b_value=as.character(DF$B[i]),
c_value=as.character(DF$C[i]))
)
)
}
This works... but way too slowly for my purpose.
I would like to know if there is a better road to take to do this
transformation. Or, if there is a way of speeding one...
2006 Oct 11
2
Adding TrippLite SMART550 / Protocol 2001 Support
...ot;);
+ }
+ }
+
if(tl_model == TRIPP_LITE_SMARTPRO) {
switch(s_value[2]) {
case '0':
@@ -949,7 +991,7 @@
status_commit();
- if( tl_model == TRIPP_LITE_OMNIVS ) {
+ if( tl_model == TRIPP_LITE_OMNIVS || tl_model == TRIPP_LITE_OMNIVS2 ) {
ret = send_cmd(b_msg, sizeof(b_msg), b_value, sizeof(b_value));
if(ret <= 0) {
dstate_datastale();
@@ -1037,6 +1079,7 @@
switch(tl_model) {
case TRIPP_LITE_OMNIVS:
+ case TRIPP_LITE_OMNIVS2:
dstate_setinfo("output.voltage", "%.1f", hex2d(l_value+1, 4)/2.0);
break;
case TRIPP_LITE_SMARTPRO:
@@ -...
2007 Dec 13
4
please explain find_with_ferret, retrieve_records, :include and :conditions
Hello, I''m using find_with_ferret to search multiple models and it
works great. The trouble is I need to filter the results
using :include and :conditions.
I get two errors depending on the syntax I use in the search. Reading
the source, I see the retrieve_records method seems to filter
the :include and :conditions so that they only apply to the relevant
model when searching