search for: brands

Displaying 20 results from an estimated 3184 matches for "brands".

Did you mean: brand
2010 Sep 26
4
How to update an old unsupported package
Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and will not work. How can I tweak the package so it will run on 11.1? It was a one-off product and has not been maintained. Is there a way to "unpackage" it and repackage it to work? I
2013 Jan 22
2
Creating a Data Frame from an XML
Hello, I'm attempting to read information from an XML into a data frame in R using the "XML" package. I am unable to get the data into a data frame as I would like. I have some sample code below. *XML Code:* Header... Data I want in a data frame: <data> <row BRAND="GMC" NUM="1" YEAR="1999" VALUE="10000" /> <row
2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands should be avai...
2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml (Reader class) def xml_import_to_brands require''xml'' reader = XML::Reader.file(''c:/brands.xml'') . . .
2004 Aug 01
2
Strange Problem with "proj" and "aov" for split-plot analysis output
I'm using R 1.8.1 on Red Hat Linux 9. I've worked out the linear model decomposition by hand. Using "aov" with "Error" to fit a split-plot model, I get very different results depending on whether I use the "data" argument for "aov" or not. When I use the "data" argument, the ANOVA table from "summary" is correct but the
2006 Aug 09
1
Migrating a Field to External Model
...to a separate model Brand so that I can have other attributes with each brand. I created the the model and created and ran the migration to create the new table. So far so good. Then I created a separate migration to transfer the data. The up method looks like this: #Migrate Product Brands add_column :products, :brand_id, :integer Product::reset_column_information Product::find(:all).each do |p| brand = Brand::create(''name'' => p.attributes[''brand'']) unless brand = Brand::find_by_name(p.attributes[''brand''])...
2013 Jan 22
1
Create a Data Frame from an XML
Hello, I'm attempting to read information from an XML into a data frame in R using the "XML" package. I am unable to get the data into a data frame as I would like. I have some sample code below. *XML Code:* Header... Data I want in a data frame: <data> <row BRAND="GMC" NUM="1" YEAR="1999" VALUE="10000" /> <row
2006 Jan 13
3
related drop down list / ajax
...quot;> <%= category.title %> </option> <% end %> </select> <select id=''brand_id_container'' name=''brand_id_container''> <option value=''''>No Brand</option> <% for brand in @brands -%> <option value=''<%= brand.id %>''><%= brand.title %></option> <% end -%> </select> <%= observe_field("category", :frequency => 0.25, :update => "brand_id_container", :url => { :action => :get...
2008 Jul 22
2
ActiveRecord Associations issue
...`brand_id` int(11) NOT NULL default ''0'', `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_idx` (`nome`), KEY `FK_MODELS_BRAND` (`brand_id`), CONSTRAINT `FK_MODELS_BRAND` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ); CREATE TABLE `webcars_development`.`brands` ( `id` int(11) NOT NULL auto_increment, `name` varchar(16) NOT NULL default '''', `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_idx` (`name`) ); # Mo...
2007 May 30
2
newb trying to figure out ActiveRecord relationships
3 tables. item, brand, commercial item -------- id name brand_id name brand --------- id name commercial ---------- id item_id The idea is that a commercial will have one item. each item will have brand. and a brand may have zero to many items. I can''t figure out how to make the relationships for my models. Eventually, i''d like to be able to show a brand name from a
2005 Mar 13
5
ASTCC - how to use different brands?
I just downloaded the new astcc and it includes now a new field in the list of the cards: Brand Great! How can I use it in the dialplan? bye Ronald
2009 Nov 08
2
Counting non-empty levels of a factor
Hi everyone, I'm struggling with a little problem for a while, and I'm wondering if anyone could help... I have a dataset (from retailing industry) that indicates which brands are present in a panel of 500 stores, store , brand 1 , B1 1 , B2 1 , B3 2 , B1 2 , B3 3 , B2 3 , B3 3 , B4 I would like to know how many brands are present in each store, I tried: result <- aggregate(MyData$brand , by=list(MyData$store) , nlevels) but I got: Group.1 x 1 , 4 2 , 4 3 , 4 whi...
2006 Aug 02
1
Ordering the many in a many to one relationship
I have a many-to-one relationship between a model named Category(one) and a model named Brands (one). How can I get ActiveRecord to order the brands by the "name" attribute? This seems like a simple question and I can think of long ways around it but there has go to be a way to do this by accessing @category.brands . Can anyone help? I tried the code below in the controller but it...
2014 Oct 03
1
Lost audio on forwarded calls
OK, been messing with Asterisk for a long time and I have my opinion on where the issues lies but sometimes it's just nice to see what others think that can relate :-) Here goes.. Inbound calls flow like this:Tier 1 Provider (SIP) > Asterisk 1.8 > Name Brand PBX - Calls work fine Outbound calls flow like this:Name Brand PBX > Asterisk 1.8 > Tier 1 provider (SIP) - Calls work fine
2012 Nov 13
1
help formatting data for clustering
...xample: 1 , 45 , 32, 45, 23 2 , 34 4, 11, 43, 45 I'm looking for the right procedure to be able to cluster users. I am especially interested to know which functions to use at each step. I am currently able to load the data in a data frame, each row's name being the user id. #extract user brands, ie all collumn except the first user_brands <- userclustering[,-1] # extract user ids, ie the first column user_ids <- userclustering[,1] # set user ids as row name row.names(user_brands) <- user_ids But now I'm stuck replacing the brand ids by a count for each brand the user orde...
2003 Dec 30
4
Assignments in loops
Greetings all. Any help with the following would be appreciated. I want to create a data frame for each file in a directory. The following code does not work but it may show what I am trying to do: carmakes <- c('BMW','Chrysler','Citroen','Fiat','Ford','Holden','Honda',
2018 Jun 01
4
Regroup and create new dataframe
Hello folks, I have a big project to work on and the dataset is classified so I am just going to use my own example so everyone can understand what I am targeting. Let's take Target as an example: We consider three brands of tape: Target brand, 3M and Avery. The original data frame has 4 columns: Year of Record, Product_Name(which contains three brands of tape), Sales, and Region. I want to create a new data frame that looks like this: Year of Record Sales Region Target Brand 3M...
2009 Feb 25
7
Solaris 8/9 branded zones on ZFS root?
Hi all, I have a situation where I need to consolidate a few servers running Solaris 9 and 8. If the application doesn''t run natively on Solaris 10 or Nevada, I was thinking of using Solars 9 or 8 branded zones. My intent would be for the global zone to use ZFS boot/root; would I be correct in thinking that this will be OK for the branded zones? That is, they don''t care about
2011 Aug 04
3
#create tests fail when I add FriendlyId to my model
I am doing controller testing, and I can''t seem to get the create method test to pass when friendly_id is added to the mix. If I comment it out of the model, the tests all pass perfectly. The moment I add it back in, the error looks like this: 1) Error: test_create_valid(BrandsControllerTest): FriendlyId::BlankError: FriendlyId::BlankError app/controllers/brands_controller.rb:16:in `create'' test/functional/brands_controller_test.rb:27:in `test_create_valid'' Here''s the relevant line in brand.rb: has_friendly_id :name, :use_slug =&g...
2009 Jun 24
1
Compile driver for new kernel rpm
Hi All, My question is directed at those with kernel compiling experience. I have a driver source xxxxx.c file and a Makefile with it. I want to recompile the kernel to include the driver and rebuild the initrd.img. Where do I copy the file in the kernel sources? I currently have it in a sub folder of the drivers directory in the kernel source folder. There is one more question if I may, it does