search for: object_1

Displaying 4 results from an estimated 4 matches for "object_1".

Did you mean: object_r
2009 Sep 22
3
how to force R to evaluate variable?
Hi, I want to construct a list as Lst <- list(name_1=object_1, ..., name_m=object_m) If name_1 is a variable with value "NAME1", how can I ask R to use "NAME1" instead of 'name_1' as the name of the list element? Thanks! Yupu [[alternative HTML version deleted]]
2010 Oct 20
1
is get() really what I want here?
# Let's say I have 5 objects, object_1, object_2, etc. for (i in 1:5) { assign(paste("object_",i, sep=""), i+500) } # Now, for whatever reason, I don't know the names of the objects I've created, but I want to operate on them. list<-ls(pattern="^obj") #Is get best? for (l in list) { cat...
2007 Sep 27
0
SOLUTION: How to use a custom icon for the Main Menu on the panel
After much head-scratching I finally figured out how to get a custom icon for the Main Menu on the panel. For the benefit of anyone else who wants a custom icon: yum install gconf-editor Run gconf-editor and go to apps - panel - objects The main menu is one of the "object_0", "object_1" items. Just go through them until you find the one that is the Main Menu. Put a checkmark in the "Use custom icon" box. Right-click on the "custom icon" entry (a few lines up from "use custom icon"), select "edit key" and enter the path to the icon y...
2006 Jan 27
17
Multiple Model Validation
Hey All ! I have a form which contains two models. I would like both models to be validated, but have their validations aggregated on the page. If I do: <%= error_messages_for(:model1) %> <%= error_messages_for(:model2) %> It puts two big validation blocks on the page. I would like all the errors from both models, but only in one validation box. Is this possible ? All my attempts