Displaying 20 results from an estimated 320 matches similar to: "digits in summary.default"
2006 Mar 12
0
Unexpected attribute modification
Hi all,
I''m trying to do multiple render_to_string() calls in a method call,
and I''m getting attributes being modified in unexpected ways.
@left_sidebar = render_to_string( :partial ..... )
puts @left_sidebar.id (-> 123456)
@right_sidebar = render_to_string( :partial .....)
puts @left_sidebar.id (-> 234567 WTF!?!?!)
puts @right_sidebar.id (-> 345678)
2006 Apr 30
8
format numbers as words
Does anyone know if there is a function available which can format any
entered number as words?
eg: ''1234'' would be ''One Thousand Two Hundred and Thirty Four''
In the past, I would have said this is a tall order, but from what I''ve
seen with playing with rails for a short time, I don''t know what to
expect. :)
Thanks for any help,
Damien
2008 Dec 02
1
Question to regular expressions
Hi there,
I know, this question is not directly an R-help question but probably someone
can give me a hint how to deal with the following problem.
I have a vector with file/folder names and want to filter for all entries which
have 6 numbers in a row and nothing else.
folders <- c("folder1", "f2", "F234562", "12345678", "234567",
2006 May 15
3
FXTextField - posSelected?(pos)
Hi,
I wonder if am facing a bug or something else
On a FXtextField, I want to detect the low and high pos of the selected string
example: the text is: 0123456789
The selected string is : 234567
first = last = -1
atext.text.length.times do |pos|
first = pos if atext.posSelected?(pos) and first < 0
last = pos if atext.posSelected?(pos)
2004 Sep 24
3
ISDN (point to point) questions
Hello;
we are looking to replace our current PBX with a *-box; it is
connected to ONE ppp isdn connection that is terminated by the NC. We
got on this box 4 msn's configured.
currently we are working with pstn fxo's behind the PBX; it works but
we can't use the CSID information behind it. We want to migrate and
keep the MSN's to decide routing in combination with the CID.
2004 Nov 08
1
Possible bug in read.fwf (PR#7350)
Full_Name: Shigeru Mase
Version: R 1.9.1 and 2.0.0
OS: Debian Linux
Submission from: (NULL) (219.35.150.115)
I tried to read the following text file "test.txt" with 5 lines using
read.fwf() function:
# comment 1
1234567 # comment 2
1 234567 # comment 3
12345 67 # comment 4
# comment 5
In R 1.9.1, I got the following result (since I have R 2.0.0 installed now
I cannot reproduce
2005 Oct 20
3
numerical issues in chisq.test(simulate=TRUE) (PR#8224)
Hi,
This report deals with p-values coming from chisq.test using
the simulate.p=TRUE option. The issue is numerical accuracy
and was brought up in previous bug reports 3486 and 3896.
The bug was considered fixed but apparently was only mostly
fixed. Just the typical problem of two values that are
mathematically equal not ending up numerically equivalent.
Consider this series of three 2x2
2015 Nov 25
4
Compiling for AARCH64 (VMA=42)
Hi,
I am trying to compile LLVM for AARCH (VMA=42), here my cmake command:
cmake -G "Ninja" -D SANITIZER_AARCH64_VMA=42 ..
But I get the following warning:
------------------------------------------------------------------------------------------
CMake Warning:
Manually-specified variables were not used by the project:
SANITIZER_AARCH64_VMA
2014 Jun 23
2
[LLVMdev] Call an analysis pass inside a tool pass
Hi,
as in the subject, is it possible to call on of the analysis pass present in the LLVM (lib/ folder) within a tool pass (tools/ folder)?
Thanks.
Best,
Simone
2013 Feb 01
2
how to setdiff on lists of lists
Dear List,
I have a data structure like:
> aa
[[1]]
[1] 1 2 3
[[2]]
[1] 4 5 6
> bb
[[1]]
[1] 3
[[2]]
[1] 5
I would like to set differences between "aa" and "bb" and get as
result another list of lists like:
> res
[[1]]
[1] 1 2
[[2]]
[1] 4 6
I am trying:
lapply(aa, setdiff, bb)
but I simply get "aa" back as result. Could you please point me in the
2016 Mar 24
2
Winbind doesn't honor rfc2307 data set in AD (Samba 4.3.6 on Debian jessie)
Hi all, I've just installed Samba 4.3.6 on Debian jessie amd64 (as
described in the wiki [1]) and everything seems to work properly
except for rfc2307 data that winbind doesn't retrieve from AD backend,
shell is always "/bin/false", homedir is always
"/home/DOMAIN/username" and "getent passwd" also lists user without
unix attributes.
I have configured idmap_ad
2005 Mar 13
0
Big databases
1. Read the R Data Import/Export manual.
2. Check the R-help archive, as this question has been asked and answered
many times.
Andy
> From: Kenneth Cabrera
>
> Hi R users:
>
> I am using R 2.01. over a LINUX(Scientific Linux CERN)
> platform and I got the following problem:
> It takes too much time (more than 6 hours, because I
> stop the process) to read a
> 270MB
2008 Apr 28
2
[PATCH] Enable the x2APIC enhancement to Xen
On platforms which supports x2APIC, the patches enable this enhancement
for Xen.
The x2APIC specification is available at
http://www.intel.com/products/processor/manuals/
http://download.intel.com/design/processor/specupdt/318148.pdf
apicid_u8_2_u32.patch: changes the ''apicid'' from u8 to u32;
x2apic.patch: replaces the traditional MMIO-style interface to the
MSR-style one; uses
2015 Feb 25
2
[LLVMdev] Walking thru CallGraph bottom up
Thanks John.
I guess I will use a ModulePass, so when I am implementing the “runOnModule” function,
do I have to loop through all the functions, for each functions all the BasicBlocks and for each BasicBlock all the instructions
or given the Module I have to call the CallGraph directly?
Is there an example out there? I can’t find anything.
Thanks.
Simone
> On Feb 24, 2015, at 13:29, John
2005 Jun 09
3
Asterisk to Cisco Unity
Hi all, first post. My company's office in the UK is soon going to get a
Cisco VoIP solution system. What I am interested in, and couldn't find
googling, is if it is possible to connect an Asterisk solution to the
Cisco system and have all the nice advantages of it (mainly calling the
extensions and directly reach the other office).
Thanks, have a nice day
Simone
2015 Feb 24
2
[LLVMdev] Walking thru CallGraph bottom up
Hi all,
I would like to create a Pass that given an IR instruction walks starting from that instruction up to the main function
to identify all the functions call that have been made to call that instruction.
Is it possible? What kind of Pass should I create?
Thanks
Best,
Simone
Simone Atzeni
simone.at at gmail.com
+1 (801) 696-8373
2016 Nov 20
2
GlobalValue::AvailableExternallyLinkage
>
> On Nov 19, 2016, at 14:09, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> I assume from your description that you are also updating call sites in the same module so that if foo was calling atoi, after cloning you have foo_parallel that is calling atoi_parallel?
> If this is the issue, it depends, I’d probably consider turning the available_externally into internal.
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List,
I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for?
Best regards,
Simone Gabbriellini
2011 Nov 17
2
function sum for array
I'm looking for a function that allows to sum the elements of an array
along a dimension that can be different from the classical ones (rows or
columns).
Let's suppose for example that:
- A is an array with dimensions 2 x 3 x 4
- I want to compute B, a 2 x 3 matrix with elements equal to the sum of the
corrensponding elements on each of the 3 strata.
I've tried to use
2015 Jun 05
2
iMAC does not shutdown
Thanks, yes from macports.
Sent from my iPhone
> On 05 Jun 2015, at 04:21, Charles Lepple <clepple at gmail.com> wrote:
>
>
>> On Jun 4, 2015, at 10:41 AM, Simone Severini <severini.simone at gmail.com> wrote:
>>
>> Thanks for your help!
>> In red below.
>> Cheers
>> simone
>>
>>
>>
>>> On Thu, Jun 4, 2015