Displaying 20 results from an estimated 1200 matches similar to: "Remember me functionality"
2011 Oct 11
1
plots of correlation matrices
Hi,
I want to do a visualisation of a matrix plot made up of several plots of
correlation matrices (using corrplot()). My data is in csv format. Here's an
example:
id,category,attribute1,attribute2,attribute3,attribute4
661,SCHS,43.2,0,56.5,1
12202,SCHS,161.7,5.7,155,16
1182,SCHS,21.4,0,29,0
1356,SSS, 8.8182,0.1818,10.6667,0.6667
1864,SCHS,443.7273,9.9091,537,46
12360,SOA,6.6364,0,10,0
2012 Apr 23
1
Add attributes to igraph vector by name, not index
Hi,
So I've been figuring out how to use igraph in R and like it for it's speed
and simplicity. Now I have a graph built from an edgelist where vectors have
a $name attribute. I have another dataframe with attributes tied to a
vector ID, which is the same as the $name attribute of vectors represented
in the graph.
How can I iterate over the graph by V(g)$name and do
2006 Apr 03
1
attribute select problem
Hi,
I''m searching a metod to do a selection suck as:
Select attribute1,attribute2
from table
where conditions
I know that the "find()" and "find_by_sql" methods takes all the
attribute...But i want only attribute1 and attribute2...Can someone tell
me if there''s a method that give me this opportunity?
Thanks,Ivan.
--
Posted via
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users
select associated objects. In the form I''m working on, the object
"belongs_to" another type of object which is selected from a popup menu.
The id of the chosen object(s) for association is passed back in the
parameter hash, but when rails creates a new object from this parameter
hash, I get a
2007 Feb 26
2
Problem concerning CSV Mime Type
Hello,
I have an application that should be able to export a list of users as
CSV.
So I put
Mime::Type.register "text/csv", :csv
into my environment.rb, and added this code to my UserController''s index
action:
format.csv do
require ''csv''
CSV::Writer.generate(csv_string = "", '','') do |csv|
csv
2007 Jan 28
2
Views just returns #
hi im new to ruby on rails, and I have a stupid little problem, when i
do <%= Class1.find(:first) %> in a view file, it just shows "#" on the
website :( how do make it the value in the mySQL table?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2009 Dec 18
2
NLS-Weibull-ERROR
Hello
I was trying to estimate the weibull model using nls after putting OLS
values as the initial inputs to NLS.
I tried multiple times but still i m getting the same error of Error in
nlsModel(formula, mf, start, wts) :
singular gradient matrix at initial parameter estimates.
The Program is as below
> vel <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,14)
> df <- data.frame(conc, vel)
>
2007 Sep 24
7
Parameter Matchers with optional params
Hi,
Are there any docs for combining parameter matchers, or some way to
define optional parameters? I''m trying to match something like:
.find( 42 ) || .find( 42, {:conditions=>nil,:includes=>nil} )
Or for that matter, 42 followed by nothing or anything... Halp? I''ve
tried different nested combos with any_of/all_of/anything, but
getting lost trying.
--Andrew
2006 May 14
3
hi all
Not much I can say except that I am very excited to enter this new
world(solely for me of course, kind of late) of rubyonrails.If anyone
has any patience or just plain kindness to help me on my first steps
(leaps?) , I would greatly appreciate any links, references, tips,
hellos, or whatever else is offered.
Thanks ahead of time,
Shai Rosenfeld
Octava
I
-------------- next part
2006 May 28
8
a newbie question, if possible to help
i was wondering if anyone can help me form a very simple "if" statment
in the controller...
i did a usual scaffold for table ''pages'', and everything is working out
well, i did the main site ''backbone'' and all, and everythings
good....the thing is, now i need to make sure that the site-admin does
not have the possiblity to destroy page 1 or page 2.
2007 Apr 16
6
How to use a form.check_box ?
Hey guys,
I''m trying to have a simple webform in my administration section to
add a user. I have the text_fields for adding the user''s name,
password, and password confirmation, but cannot seem to figure out the
checkbox. I want it to be a single checkbox, that if clicked, will set
the database column "access" to be "admin" and if its unchecked, set
it to be
2007 Feb 05
3
rsync 3.0.0cvs timeout
Hi,
When I send this command, I get a timeout almost every time...
--- this is the client side ---
rsync -av --timeout 120 /home/bat/20070205_0501/log/sync_dns29_log
/home/bat/20070205_0501/log/sync_dns29_serial
/home/bat/20070205_0501/log/sync_dns29_tcpdump_log.gz --port 5873
fileserver::test/20070205_0501/log
sending incremental file list
sync_dns29_log
sync_dns29_serial
2009 Dec 14
2
R square in NLS-urgent help
Hello
I need one urgent help
I am trying to fit the Sigmod curve of logistic growth model using NLS
estimation.
But i do not get the R square value in that even after getting the "Summary"
In that case how to compare the fit for 3 models and find which one is
better fit??
How to get this R Square value when using NLS estimation?
Thanks
Ruchita
[[alternative HTML version deleted]]
2006 Apr 04
6
check_box_tag is limited?
Hello all.
Am I going totally nuts here and just want to check (Natch!) something.
A normal check_box has two value posssibilities. One for checked and one
for unchecked, the value gets submitted with a form.
The check_box_tag on the other hand, has a checked_value (Called just
''value'') and for the unchecked value...nothing, zip, nada.
This means that if you submit a form with
2006 Jul 19
6
Howto: Check_box with a variable (no model)
Hi,
I would like to put a checkbox on a form where the input field is a
variable rather than a field in a model.
The normal way (with a model) would be:
<%= check_box(''client'', ''accept'', {}, "1", "0") %>
But since accept is a variable @accept and model client will not be
there, how do I make a check box work?
Regards,
Paul
2006 Apr 18
2
check_box
I''ve got a question on the use of check_box.
***
This is working but there just has to be a better way:
RHTML:
<% for book in @books do %>
<tr>
<td><%=book.label%></td>
<td>
<%checked = book.subscribed ? ''checked'': ''nope''%>
<%=check_box("book" + book.id.to_s,
2006 Oct 15
2
Getting check_box to default to checked?
I''ve tried this (in a new method/template -- so @type doesn''t actually
exist yet):
check_box ''type'', ''notify_on_create'', {:checked=>''true''}
But :checked seems to get swallowed. I''ve also tried setting
notify_on_create to true in the Type model, but that doesn''t work
either. Any way to get the
2006 Jun 07
5
check_box:how to update 2 checkboxes dependent on each other
I''ve got the following problem,
I''ve created two check_boxes in my view. The user has to select one
check_box,
but isn''t allowed to seth both of them together on true. Now i am
looking for functionality that can help me doing the folling:
Scenario 1
CheckBox1 = True, The user sets CheckBox2 from False to True, now
CheckBox1 should automatically become False.
2008 May 21
1
Callback method for field
Is there callback method for field level?
Generally, after_create and after_save will fire at object level.
I need to fire some code when the value for the field is changed. I need
to call the call back method from observer
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Feb 11
3
[PATCH 1/5] Change vsmp compile dependency
Change Makefile so vsmp_64.o object is dependent
on PARAVIRT, rather than X86_VSMP
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalemp.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
---
arch/x86/kernel/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/Makefile