Displaying 2 results from an estimated 2 matches for "items1".
Did you mean:
items
2010 Feb 10
1
eval function with javascript-semantics possible in R?
...or an R-equivalent for the eval-function in javascript which
can
interpret a string as code on runtime, thereby allowing things like
for (i in c(1:2))
{
eval(items + "i") <- read.csv(eval(filename+ i), dec=",");
}
which would execute (with filename="testfile"):
items1 <- read.csv(testfile1, dec=",");
items2 <- read.csv(testfile2, dec=",");
The way I intend to use it is to define a string list containing names of
date.frames,
and interate this list to perform some function:
createTable <- function(latentVariableNames)
{
for (curren...
2007 Nov 16
1
drag & drop list needs refreshing
...gt; "items", :url => { :action => "add_item_to_selected" },
:accept => "my_item",
:loading => "Element.show(''indicator'')",
:complete => "Element.hide(''indicator'')" %>
#_item_list
<ul id="items1">
<% @item_list.each do |item| %>
<% domid ="#{item.id}" %>
<li class="my_item" id=''<%= domid %>''><%= item.name%></li>
<%= draggable_element domid, :ghosting => true, :revert => true %>
<% end %...