Displaying 20 results from an estimated 100 matches similar to: "RJS, & mulitple Drop Down Boxes."
2020 Oct 30
3
Error: variable not found
Hello
I have a question. I made an r-script and did a few commands needed to make some new variables. They all work out well, and when I run the commands, the new variables appear in the dataset. I can also work with these new variables to make other new variables from them. Also, when I use summary(dataset), those new variables appear in the summary of the dataset.
But, when I do summary(new
2020 Oct 30
0
Error: variable not found
Hi Hannah,
Using the same code I sent before, you can append the partner codes to the
household code. I apologize, but I don't know how to use the
dplyr/tidyr/... stuff so this is written in straight R code using logic
statements.
ipumsi_00008_dta<-
read.table(
text="country year sample serial hhwt pernum perwt resident sploc sprule
204 2013 204201301 4000 10 1 10 1 5 2
204 2013
2006 May 10
0
Passing Muliple Parameters with remote_function
<select name="media" id="media" onchange="<%= remote_function(
:url => { :action => :show_performer_categories,
:rate_group_id => @rate_group },
:with => "''media_id=''+this.value''"
) %>">
I''m guessing that''s wrong since WebRick does nothign when I
2006 Apr 25
2
Noob Question: Regarding Form
I''m hoping there''s an easy way to do this. I''m trying
to read options from a database, and insert them into form tags. So
for example,
In the Database Table: options
size: 300
type: text_field
maxsize: 300
and I want to create a text_field form tag, with all the appropriate
options, is there an easy way to do this, other than having the code
output the HTML
2006 May 01
4
When to make a new controller
Hey all,
Ok this is probably a newb question, but I haven''t been programming with
MVC for very long, and I''ve been wondering what the general opinion is,
or best practices, for making a new controller. Like what cases would
you need a new controller for and what cases can you just put everything
into one controller?
Thanks in advance,
Randal
--
Posted via
2006 May 02
3
Ordering Results returned by has_many relationship.
Noob Question 31,265,232
if I''m searching on an object, say order, that has many "order_lines"
and I want to display order lines by Quantity ( an attribute of the
order_lines ) descending
how could I do that without having to do a find() with :order, but
something like;
Order.order_lines.each do |ol|
<!-- code to diplay the line -->
how can I determine the field
2006 Apr 20
5
strange mysql problem
i have this model:
class LineItem < ActiveRecord::Base
belongs_to :quote
end
in the console:
>>l = LineItem.create
ActiveRecord::StatementInvalid: Mysql::Error: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '' , , , )'' at line 1:
INSERT INTO line_items (`qty`, `quote_id`,
2006 May 09
7
going crazy!!!!!! ActiveRecord::StatementInvalid in Project
any suggestions on why I am gaining this error.
ActiveRecord::StatementInvalid in ProjectsController#create
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near '' , , , , )'' at line 1: INSERT INTO projects (`name`,
`date_created`, `quote_id`, `client_id`, `description`, `user_id`)
2006 May 03
3
using select_date causes errors...
I''m getting errors whenever the user chooses, for example, April 31st (
since there is no 31st in April, navicat freaks out ), there MUST be a
method that ruby has that would allow me to validate a date before I
submit to navicat.
I haven''t been able to find anything online about it either, it''s
probably something simple, I just can''t figure it out.
Thanks
2006 Jun 29
1
before_destroy & verification
Hey, probably an easy question but,
I''m trying to get a method to run "before_destory" for a model, and I
want the method to throw an error, and not delete the object from the
database, if a certain condition is held
Obviously, I can just raise an error and rescue it... but for some
reason I can''t get <% error_messages_for ''model" %> to catch
2006 Dec 18
1
Mulitple Indexes or one big index??
I was wondering, is it better to maintain one large index or several
smaller indexes?
I am allowing users to upload files whose corresponding data is
subsequently parsed and indexed. The problem is that each of these
documents has different fields (which the user defines) and this makes
searching and displaying search results slightly difficult. I tried to
attach a unique ID to each file
2006 Aug 18
1
Anyone seen any articles on AJAX autocompleting mulitple...
I don''t even know what its called really, so its hard to search for.
Here''s an example. They do this on MOG.com:
There''s one text field visible. You type in a band name. Another text
field appears. It auto completes album names based on the band name you
chose in the first field.
What is this type of thing called? Where is some source code I could
look at?
any
2011 Apr 22
1
Setup Mulitple VM's
I have a small public IP block (/29) I'd like to populate with VM's from a single physical box running CentOS/5. I'd like to get some thoughts on the best way to setup networking to support this. I'm OK with setting up the virtual hosts.
Any advice would be appreciated.
TIA...
2006 Aug 19
0
Slow Samba performance with single transfers (good speed with mulitple transfers)
System:
Gentoo Linux, fully updated (8/19/2006), Kernel 2.6.17.9 stock kernel,
samba-3.0.22-r3 (have also tried samba-3.0.23b), 1Gb Ethernet. (thoughout).
Problem:
Very poor performance when copying files to or from the client, (ie 2000kb
or lower on writes, 5000kb or lower on reads).
Detailed Problem:
If I use SCP from the same source to the same target (including drives), the
speed of the
2010 Apr 09
1
Samba and mulitple user connections
I have a Solaris system with Samba on it, along with two PC's a windows
2000 and XP. Shares were setup via SWAT. A user can access the shares
on the 2000 machine after putting in login credentials when browsing
through windows explorer. However, when trying to login the same share
through XP the user gets "network connection has been lost." Although
the XP machine can and stays
2006 Aug 30
2
using mulitple sound card inputs
I've been able to successfully stream using Icecast with Darkice on my
Debian box. I want to be able to stream multiple live streams from the
same box using different sound cards (Basically, we have groups that
will be using different TV channels and want to be able to stream the
audio to the user's pc's for the proper channels they are viewing). Has
anyone tried to do this?
2006 Aug 30
0
using mulitple sound card inputs
> I've been able to successfully stream using Icecast with Darkice on my
> Debian box. I want to be able to stream multiple live streams from the
> same box using different sound cards (Basically, we have groups that
> will be using different TV channels and want to be able to stream the
> audio to the user's pc's for the proper channels they are viewing). Has
>
2006 Sep 05
1
using mulitple sound card inputs
telmnstr@757.org wrote:
> Yup! I've gotten 7 feeds from a single host. I had 11 PCI sound cards in
> the machine (FreeBSD w/ Darkice feeding Icecast). After 7 though, it got
> a bit shaky.
>
> In this day and age, I would look at the Creative Labs USB sound
> devices. There is an older one that can be had for $15-20 each. The
> thing I'm not sure is upon system
2005 Jun 24
1
mulitple mixed regression with spline
Hi, I'm looking to implement a regression with mixed terms. I have 2
biological endpoints for a dataset of n=77, one linearly related and
the other fits a spline. I want to combine these two terms in a
linear regression for prediction, then apply the model to a test set.
this works fine, good r2 and I've graphed the spline.
m1<-lm(y~x1,data=train)
m2<-smooth.spline(x2,y); (spl)
2006 Aug 31
1
using mulitple sound card inputs
I got 2 cards working, and will need to add another 2 cards shortly. I
hadn't thought about the matter-it's something I can try to play with
later. What you've done here is awesome, where did you come across a
system that could house 11 pci cards?
______________________________________________
Andrew Wehner
Chatham Financial - Kennett Square
T: 484.731.0029
-----Original