search for: c_value

Displaying 3 results from an estimated 3 matches for "c_value".

Did you mean: m_value
2011 Aug 10
3
How to quickly convert a data.frame into a structure of lists
...o 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 of the tw...
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype? Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value). For eg - If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
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