search for: takagi

Displaying 12 results from an estimated 12 matches for "takagi".

Did you mean: taka
2005 Dec 23
13
how to form.rest in RJS
is there any way to Form.reset (clear all fields of the form ) in form_remote_tag generated form? I want to reset fields after ''submit'' in .rjs. -- Hiroshi Takagi <gollum-u1eKKkw+WM0gE89CWYshPg@public.gmane.org>
2008 Feb 20
1
Deleting multiple rows based on a variable
...e, I am trying to remove observations that have variable Identity = 1, 2, 3: Data2<-subset(Data1, Identity!=c(1,2,3)) This does not work. It works if I do it one at a time, but is very time consuming. Is there a way to remove all desired observations at once? Thanks! Kenneth Takagi kat215@psu.edu [[alternative HTML version deleted]]
2005 Dec 31
7
Dynamic form? Not really!
Hi guru''s out there, Im happilly coding my first rails app, and all goes well. I find myself manually coding in a particular field all the time (company_id), that relates the contact to a company. The total coding of this form seems somewhat much. Could somebody tell me what Rails power I''m possibly missing and stuborn as I am trying to do myself? I was wondering if the
2005 Dec 28
1
RJS and :loading
...ence? .rjs seems a kind of alternate for .rhtml view file, so I guess they are in action after the controller action completed. The contents of .rjs file are :complete scenario, right? if so, can''t I write some on :loading action in .rjs? like disabling submit-button. TIA, -- Hiroshi Takagi <gollum-u1eKKkw+WM0gE89CWYshPg@public.gmane.org>
2009 Jun 22
5
Convert "ragged" list to matrix
Hi, I have a list made up of character strings with each item a different length (each item is between 1and 6 strings long). Is there a way to convert a "ragged" list to a matrix such that each item is its own row? Here is a simple example: a=list(); a[[1]] = c("a", "b", "c"); a[[2]] = c("d", "e"); a[[3]] = c("f",
2010 May 30
4
Changing R_LIB_USER variable in ubuntu...
Hi, I'm an experienced R user on windows, but new to linux. This may be an issue with how R (or Ubuntu) was install on my computer, but maybe not. I just installed Ubuntu 10.04, I have administrator privileges and am using R 2.11. Here goes: I'd like to change the location where R installs packages not included in the base installation (using install.packages()). Right now it is
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2006 Jul 06
0
big size file uploading problem w/IE
...question is : Is there any way in Rails to receive a big file from popular browsers in stable and rapidly? I confirmed above in the following envs. Rails 1.1.2 webrick ( Ruby 1.8.4) lighttpd 1.4.11 Any suggestions, workarounds or alteratives will be really appreciated. Regards, -- Hiroshi Takagi <gollum@hi-net.zaq.ne.jp>
2008 Feb 22
1
How to Include greek symbol in axis label?
Hi, I'm fairly new to R, so hopefully this is an easy question... On a plot, I would like to have the y label read: "Response(phi)" with phi = the greek character. From old posts I've found this: title(ylab=expression(paste("Response (", phi, ")"))) This displays nicely, but in the default font. I would like to use font=6 (which is the font of the other
2009 Apr 23
1
Parenthesis around date/time using chron?
Hi, I've been using the chron package to convert excel time into month/day/year and h:m:s formats, specifically for use as axis labels. I've come across something I don't quite understand. ### Here are some excel times: dat = c(39083, 39083.00694, 39083.01389, 39083.02083, 39083.02778, 39083.03472, 39083.04167, 39083.04861, 39083.05556, 39083.0625 ) ### I create
2009 May 31
1
using chron vector with boxplot
Hi, I'm having trouble using dates (created using library(chron)) as groupings for a boxplot. I have 10 repeat measurements of a variable within an individual day. The measurements were done over 10 days. I would like to plot the measurements as a box and wisker plot (using boxplot or something similar) where the days (as chron object) would be the grouping and the repeated measurements
2010 Jun 05
1
Issues with unionSpatialPolygons on Ubuntu
Hi, I've cross posted with r-sig-debian since they may be an issue for linux (never had this problem on my windows machine...) I recently made the switch to Ubuntu 10.04 (lucid), and found that unionSpatialPolygons() gives me the following error when trying to combine polygons within a shapefile: # Read in shapefile and merge polygons foo <- readShapePoly("foo.shp",