Displaying 20 results from an estimated 70000 matches similar to: "How to output date select in another language ?"
2006 Jan 15
15
Gettext and Rails ?
Hello,
I''m trying to use ruby-gettext 1.1.1 (installed with gem) with rails and
here is all I get :
undefined method `init_gettext'' for ApplicationController:Class
Here is my source :
require ''gettext/rails''
class ApplicationController < ActionController::Base
init_gettext "test"
end
As a Nuby, I don''t really know what to do.
2006 Feb 16
3
How to convert SPSS date data to dates?
Dear R Helpers,
I have imported an SPSS file that contains date data.
The data appear in R in a numeric format, as follows:
10485849600 10477641600 10561104000 10562745600 etc.
I'd be extremely grateful if someone could tell me
how to make these numbers into comprehensible dates!
Thanks,
Jonathan Williams
2012 Jul 09
1
axis.Date language
Dear useRs
I need to do graphs with dates in different languages on Ubuntu.
In Windows the following will plot the date axis labels in Spanish:
random.dates <- as.Date("2001/1/1") + 70*sort(stats::runif(100))
>language <- "Spanish"
>Sys.setlocale("LC_TIME", language)
>plot(random.dates, 1:100, xaxt="n")
>axis.Date(1,
2006 Jan 24
4
PDF::SimpleTable performance issues
Hello,
I am having performance issues ending with a ''time out'' from Apache when
I try to generate a PDF file using pdf-writer.
It seems to happen at the render_on(pdf) function call ; the table I am
trying to draw has 8 colums which values are generated on the fly.
Can''t find anything about pdf-writer and the ''time out'' on the Web so
far.
Any
2016 Feb 18
3
How to interpret Selection DAG error output
On Thu, Feb 18, 2016 at 11:22 AM, Jonathan Roelofs <
jonathan at codesourcery.com> wrote:
>
>
> On 2/18/16 12:19 PM, Rail Shafigulin via llvm-dev wrote:
>
>>
>>
>> On Thu, Feb 18, 2016 at 10:50 AM, Krzysztof Parzyszek via llvm-dev
>> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>> On 2/18/2016
2006 Jun 14
2
Date as INPUT not Selects
Greetings!
Can anyone tell me how to use just a normal input field as a date
entry? I can use a text_field tag, but that brings the date out in
CCYY-MM-DD format. I would like to be able to simply key in my dates
like mm/dd/ccyy format.
Thanks,
Jeremy
2004 Mar 22
1
another date conversion
Dear R People
Here is an interesting problem:
> library(pastecs)
> a <- 1:100
> b <- daystoyears(a,datemin="1/1/2003",dateformat="m/d/Y")
> b
[1] 2002.999 2003.002 2003.005 2003.008 2003.010 2003.013 2003.016 2003.018 2003.021 2003.024 2003.027 2003.029 2003.032
[14] 2003.035 2003.038 2003.040 2003.043 2003.046 2003.049 2003.051 2003.054 2003.057 2003.060
2012 Nov 28
2
output data by date?
Dear Helpers,
I have a dataset X, with no missing values, everything is in order, R reads
it correctly, and I have already done some statistical analyses on the
dataset. The data are in order by date (six sampling dates in one year,
earliest to latest) and I now want to generate boxplots for each parameter
for each date.
However, R outputs the boxplots in some order that I do not understand (eg.
2010 Apr 14
1
[PATCH] Change the date format used in RHEV OVF output
Date formats were previously undefined in RHEV's OVF output. They are now
defined as: 'yyyy/mm/dd hh:mm:ss'.
This change updates dates output by virt-v2v to use the new format.
---
lib/Sys/VirtV2V/Target/RHEV.pm | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/Sys/VirtV2V/Target/RHEV.pm b/lib/Sys/VirtV2V/Target/RHEV.pm
index
2010 Aug 13
4
Rails and Oracle - can select date but cannot save
I''m seeing a behavior in Rails that I find very strange. Having worked
quite a bit with Oracle with other languages I would always dutifully do
ALTER SESSION SET NLS_DATE_FORMAT = <my_date_format> and ensure I use
that date format in my application.
With Rails I still have not figured out how to execute an ALTER SESSION
statement after connecting to the database (I''m using
2011 May 19
1
Creating a "shifted" month (one that starts not on the first of each month but on another date)
Hello!
I have a data frame with dates. I need to create a new "month" that
starts on the 20th of each month - because I'll need to aggregate my
data later by that "shifted" month.
I wrote the code below and it works. However, I was wondering if there
is some ready-made function in some package - that makes it
easier/more elegant?
Thanks a lot!
# Example data:
2007 Jan 07
3
as.Date() results depend on order of data within vector?
Dear all,
The as.Date() function appears to give different results depending on
the order of the vector passed into it.
d1 = c("1900-01-01", "2007-01-01","","2001-05-03")
d2 = c("", "1900-01-01", "2007-01-01","2001-05-03")
as.Date(d1) # gives correct results
as.Date(d2) # fails with error (* see below)
This problem
2000 Jun 22
2
Intermediate LaTeX output generated by R CMD Rd2dvi
Is there any way of getting just the LaTex output which
R CMD Rd2dvi
generates on the way to produces a .dvi file,
which could then be incoorporated into another
document?
Thanks,
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
University Forvie Site
2015 Dec 14
1
Nested Group control doesn't work
Thanks, that's extremely helpful. I searched but wasn't able to find that
bug report.... Just to clarify, there are no known workarounds, correct?
*Jonathan S. Fisher*
*VP - Information Technology*
*Spring Venture Group*
On Sat, Dec 12, 2015 at 10:06 PM, Andrew Bartlett <abartlet at samba.org>
wrote:
> On Sat, 2015-12-12 at 10:25 -0600, Jonathan S. Fisher wrote:
> > Hey
2006 Feb 16
9
calling a controller/action from another controller
Hi,
Is there a way to call a controller/action pair from another controller
as well as render the view for that pair? I have tried using "render
''ctrl/action''" and that works, but the controller code isn''t called
(only the view is rendered). A redirect_to isn''t desirable either as I
want the resulting content to be rendered in the current
2013 Apr 12
1
[LLVMdev] What pattern of front end language can be tranalated into
I find this pattern as below from <llvm-source-tree>/test/CodeGen/Mips/alloca.ll, and want to know what front end pattern can be translated into this. Anybody know this answer?
%tmp1 = alloca i8, i32 %size, align 4 // has %size variable, not pattern, alloca i8, align 4
define i32 @twoalloca(i32 %size) nounwind {
entry:
...
%tmp1 = alloca i8, i32 %size, align 4
}
Jonathan
--------------
2005 Mar 01
2
part of name to Date
hi everybody,
i try to extract a part of name to a date :
like : "VGT1_VGT2_CONTR_B020030401.H0V0.MIR" to "20030401"
but the beginning of the files changes
i have a list of files:
[,1]
[1,] "VGT1_CONTR_B020020301.H0V0.MIR"
[2,] "VGT1_VGT2_CONTR_B020020611.H0V0.MIR"
[3,]
2012 Jan 17
2
Which date format to choose?
R offers a bewildering array of options when it comes to representing
dates and times (e.g, as.Date, chron, strptime, zoo, etc). Can anybody
recommend a document that compares the relative merit of each method? I'm
not looking for help with any one method, but rather a guide that
describes which method is best for a particular data analysis/plotting
goal.
Thanks,
Jake
[[alternative
2015 Feb 09
2
Another Fedora decision
On Mon, Feb 09, 2015 at 07:06:11PM +0000, Always Learning wrote:
> The third item was a 16.1 MB PDF of 1,344 pages. A quick scan of the PDF
> shows every page appears to be readable. 11 pages devoted to BASH.
> Information on other interesting topics too.
>
> Although I have a natural preference for paper books (I became a
> computer person at a large international book
2006 Jun 07
2
date select box''s
Hi
I have the following date select box
<%= date_select ''min'', ''min'' %>
When you submit a date, it re-loads the page with the same date select
box, but displays todays date, no matter what you submitted before.
How can I get it to re load with the submitted date.
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.