Displaying 20 results from an estimated 2000 matches similar to: "what database field type should i use ??"
2011 Oct 26
1
Plot complete dataset
Hello,
I am a new user of R, so I still have some basic difficulties.
I'm trying to create a bar graph completely from reading a file.
The idea was on the x axis have the columns of the table
Married ,Single,Divorced, widower
the legend Ages
18-34
35-45
46-64
65-69
70-74
the dataset
dataset
Ages Married Single Divorced widower
1 18-34 10.5 35.7 8.5 3.2
2 35-45
2017 Dec 14
1
Aggregation across two variables in data.table
Dear all,
I have a data.frame that includes a series of demographic variables for a
set of respondents plus a dependent variable (Theta). For example:
Age Education Marital Familysize
Income Housing Theta
1: 50 Associate degree Divorced 4
70K+ Owned with mortgage 9.147777
2: 65
2006 Aug 18
3
setting a value of text_field from a controller
Hi,
I need to set up an initial value from controller. In my views I''ve
something like
<%= text_field "object", "name" %>
and would like to do something like this from controller
def index
@object[:name] = ''default value''
end
but still got an error. Object doesn''t have database model (and will not
have)
Thank you
PS: now using
2018 May 11
4
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 09:14:24 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > You would replace 'FACILITY' with one of the facilities shown in
> > 'man syslog' e.g. full_audit:facility = LOG_AUTH
>
> OK, done. But samba (as stated in previous email) still reply:
2009 May 27
12
query on Ruby array
Looking for suggestions on following two queries.
Query 1
------------------------------
Are the two following lines of code different in Ruby / Rails ( in a
*.html.erb) file.
<% if @forms.count != 0 %> <!-- first code -->
Vs.
<% if @forms.count %> <!--second code -->
@forms is an array of objects. Coming from "C" language development
background, i thought
2011 May 20
3
Div style changes
Rails is not changing my divs styles.
I made a new layout and set a div''s style to style="width:2000" but it
does not change the width. Any ideas?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Jan 22
4
undefined method `gsub!' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span
Hey all,
I am getting this error:
NoMethodError (undefined method `gsub!'' for 2012-01-22 17:00:00
-0500..2012-01-23 00:00:00 -0500:Chronic::Span):
in this code:
date_range = Chronic.parse(the_date, :guess =>
false)
reports.sum_distance_by_date(date_range).each do |d|
u[:m] << d
end
def
2007 May 01
10
Problem with the installation of "install R" on Sun Solaris
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070501/bdf55878/attachment.txt
2000 Jan 11
1
a +1 shift overlaying lines/points on a boxplot (PR#398)
Full_Name: Adrian Custer
Version: 0.90.0
OS: Linux on Thinkpad (pentium) and desktop (K6)
Submission from: (NULL) (128.32.251.234)
When I create a boxplot, and then try to overlay a lowess fit or just the
points,
the points do not appear in the highest level and the lowess curve does not
reach
the highest level. However, if I add one to each of the models, the problem is
solved.
I tried this
2011 Jun 21
2
Find by parameter
Hi,
I''m trying to do a query on controller for get list by a boolean value
I do
@movies = Movie.where(:active => 1)
This value is already on form and it is being written on database, but when
I write a block, I still picked up the list of all videos
Can anyone see what I''m doing wrong?
Thanks!
--
*Fernando Aureliano*
--
You received this message because you are
2011 Sep 21
5
bundle install rmagick error in unix
I have Rails 3 and Ruby 1.9.2
Installing rmagick (2.13.1) with native extensions
/opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue
in block in build_extensions'': ERROR: Failed to build gem native
extension. (Gem::Installer::ExtensionBuildError)
/opt/local/bin/ruby19 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for
2010 Mar 30
1
Need help in speex..
Hi, Vipin,
What you're going to want to do here is convert your 8-bit stereo
samples into 16-bit mono samples and back again when you're done(*).
What you are actually doing here, it sounds like, is feeding 2 8-bit
mono samples into Jspeex, which expects 16-bit mono. So, the
most-significant-byte is in the right channel, and more or less gets
encoded/decoded properly, but the
2012 Sep 14
5
ruby server chrashes
Hello,
When I do rails server it chrashed with this ouput :
http://pastebin.com/DJ21qC5h
Anyone a idea what is the cause of this problem and how to solve this ?
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2006 Jul 31
5
can someone explain RoR MVC from a C++ or Java perspective?
is a model similiar to a class? and active record is similiar to how
Java classes inherit from Object?
View is nothing more than an output of a model with HTML?
Controller is basically the Main part of the program?
--
Posted via http://www.ruby-forum.com/.
2018 May 08
2
vfs_full_audit and facility 'auth'...
I've tried to setup VFS full audit facility in some share, like:
vfs objects = [...] full_audit
full_audit:prefix = %S|%d|%I|%M|%u
full_audit:success = mkdir rmdir read pread write pwrite rename unlink
full_audit:failure = none
full_audit:facility = auth
full_audit:priority = info
but samba refuse 'full_audit:facility = auth' as a good
2018 May 08
2
vfs_full_audit and facility 'auth'...
Mandi! Rowland Penny via samba
In chel di` si favelave...
> >From 'man vfs_full_audit'
>
> full_audit:facility = FACILITY
> Log messages to the named syslog(3) facility.
>
> See 'man syslog' for the 'facilities' you can use.
[2018/05/08 17:34:42.388486, 0] ../source3/param/loadparm.c:1179(lp_enum)
lp_enum(LOG_AUTH,enum): value
2018 May 10
2
vfs_full_audit and facility 'auth'...
On Thu, 10 May 2018 15:31:23 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> > > >From 'man vfs_full_audit'
> > >
> > > full_audit:facility = FACILITY
> > > Log messages to the named syslog(3) facility.
> > >
> > > See 'man syslog' for the 'facilities' you can use.
2005 Apr 19
1
How to make combination data
Dear R-user,
I have a data like this below,
age <- c("young","mid","old")
married <- c("no","yes")
income <- c("low","high","medium")
gender <- c("female","male")
I want to make some of combination data like these,
age.income.dat <- expand.grid(age,
2008 Jul 16
4
Likelihood ratio test between glm and glmer fits
Dear list,
I am fitting a logistic multi-level regression model and need to test the difference between the ordinary logistic regression from a glm() fit and the mixed effects fit from glmer(), basically I want to do a likelihood ratio test between the two fits.
The data are like this:
My outcome is a (1,0) for health status, I have several (1,0) dummy variables RURAL, SMOKE, DRINK, EMPLOYED,
2010 Feb 15
1
error message in endseq
Hi there,
I am new to R and feel so bloody stupid. Abut in spite of a search of
several hrs I could not find an answer to my problem.
I have imported SPSS data to R, and apart from some warnings regarding
duplicate labels, everything looks fine and names lists all my variables.
Then I try to run a seqdef command - and get the error message below:
> fam.seq<- seqdef(family_seq, var= c