similar to: format numbers as words

Displaying 19 results from an estimated 19 matches similar to: "format numbers as words"

2008 Nov 05
2
puzzled by cat() behaviour when argument '...' is a vector (and argument 'sep' contains "\n")
Hi r-devels, I am a bit puzzled by the behaviour of cat() --- any help is appreciated... At least AFAICS, cat() for vector-valued '...' argument behaves in contradiction to what I understand from the note in the help to cat() which reads " Despite its name and earlier documentation, 'sep' is a vector of terminators rather than separators, being output after every
2006 May 23
6
How to list all models of an application?!?
How can I get a list of all model classes in the domain of a Rails application (all models, both in "app/models" and in components/somedir/model.rb)? Thanx in advance for your precious help! Edoardo "Dado" Marcora
1997 May 25
1
R-alpha: generic write()
Attached is a first shot at a generic write with my `old' write.table as write.data.frame, suitably modified. There is also a stupid generic latex function, which is just there because it illustrates that the extra arguments sep and eol are useful. In playing with it, I noticed a few `problems'. * The documentation for factor() says, If exclude is set to a zero length vector, then any
2006 May 14
3
Help with domain model/database design
Hi All, I was wondering if I could get some comments on my approach to the design of the domain model and database for my rails app. I don''t have much experience in this so I am wondering if I am heading in the right direction. My app is an ecommerce site for my business which is a record label. That might seem straight forward, but the one thing that might be tricky is that
2006 Jun 24
2
using flickr.rb
Does anyone have any experience with using flickr.rb? Seems the only thing which is documented for it is searching through your photos. Anyway, all I''m trying to do is return a list of my 20 most recent photos, but nothing seems to work. doing this returns 100 photos for a given user (which takes all day to load) @flickr = Flickr.new ''API KEY'' @user =
2006 May 17
9
Render No Layout?
Hi guys, Am having a problem. I have this def in my index controller that works like this: def do_something $a = variable1 $b = variable2 $c = variable3 $d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'', ''#{$a} - #{$b}''); \n </script>" $trigger = "1" render(:partial =>
2006 Jun 30
2
File Column woes
I followed this guide http://www.fearoffish.co.uk/blog/article/file_column_and_lightbox to make sure I''d set everything up right, but when I point my browser to the page where I can upload a new file, I get a NoMethodError for "undefined method `file_temp'' for #<Image:0x252e254>" I am so confused. It''s fallen apart and I havent even tried using
2006 May 06
4
rake doc:rails fails
Hi there, Running doc:rails and doc:rerails on a fresh rails directory after running ''rake freeze_gems'' fail with the following error: > Don''t know how to build task ''vendor/rails/activesupport/README'' Should it work? That file doesn''t seem to exist. If that''s not the sequence for generating the api documentation, what
2006 May 07
3
Webrick not showing sql queries any more?
Hi all, I updated rails to 1.1.2, and somehow, when I run script/server on a new rails project, I don''t see the sql queries in the console any more... It was very useful to see them live... Does any one have any idea why? Thank you very much! Nauhaie -- Posted via http://www.ruby-forum.com/.
2006 May 13
2
Using RJS in views without ajax
Hi! I can use RJS in views like this (without using ajax): <%=link_to_function("switch fields", update_page do |page| page.insert_html :before, ''date'', date_select(''exhibition'', ''date'') page.remove ''date'' end) %> Is there a way to move this RJS code into a function to separate file? .js files are not parsed
2006 May 08
5
Files in LIB folder do not seem to update even in DEV mode!!
Hi When i change my classes in the LIB folder they are not updating on the server. My server is in development mode. Any ideas why? Any help is appreciated Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 May 14
3
Strange Database Mapping Question
Dear Rails List, I am new on the list so will assume straight away that this question has been answered before. As I can see no immediate way of searching the list, I will ask the question. I apologize in advance for any disruption this may cause. Question time: I am trying to write a web application for the staff at my office to play a form of virtual Super14. Its a bit like any of the
2010 Sep 11
3
confidence bands for a quasipoisson glm
Dear all, I have a quasipoisson glm for which I need confidence bands in a graphic: gm6 <- glm(num_leaves ~ b_dist_min_new, family = quasipoisson, data = beva) summary(gm6) library('VIM') b_dist_min_new <- as.numeric(prepare(beva$dist_min, scaling="classical", transformation="logarithm")). My first steps for the solution are following: range(b_dist_min_new)
2006 Aug 03
12
More than one has_many :through association between the same 2 models
I wonder if you can have more than one has_many :through association between 2 models. For example... I have a model Teacher and a model Class Now, 1 Teacher works in many Classes, right?. So I need a join model like class Work < ActiveRecord::Base belongs_to :teacher belongs_to :class end But I also would like to know if a teacher CAN teach a class before I
2007 Aug 06
1
Question Possibility.
Hi everyone i am new to the rails and enjoying what this framework has to offer. And I have a job interview comming up as rails developer. I have passed the 1st stage which was theory and I was wondering if you could give me some potential coding exercise that might come in the interview. for instance loops ? related to ORM and anything else you can think of. -- Posted via
2006 Jul 29
9
How to write RoR code
Hi all I took a look to several examples of RoR on different web sites, and I found that it is hard to write a class, in RoR, because I do not understand all the codes used on the source code. jsn -- Posted via http://www.ruby-forum.com/.
2007 Jun 08
1
history of your mount point sessions
Dear all SmileThank you for your timeWell I like to ask some thing about( total_bytes_read )(total_bytes_sent)Etc.. () Mount point valuesAs we know each Mount Point has a separated status diagram in the admin page !I want to save this numbers in a Mysql database !So I can see some thing like (total_bytes_read /total_bytes_sent?etc) history , because when you disconnect you broadcast the status
2003 Oct 27
92
Help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dragen@pbsi.org ?rta: | I am hacing trouble. I can see my linux box from my windows box, I can connect | and browse but I cant delete or modify files. Do I have something wrong? | | The is my smb.conf | | [global] | netbios name = dragenlinux | server string = "DragenLinux" | workgroup = WORKGROUP | security = share | log file =
2006 Jun 07
0
javascript that remote_function creates
I''m tring to use remote_function instead of writing all the javascript out, but am having difficulties.. I have this code in a layout: <body onload="<%= remote_function(:update => ''show_active'', :url => {:action => ''show_active_bugs''}, :complete => visual_effect(:blind_down, ''show_active'')) %>">