Displaying 20 results from an estimated 200 matches similar to: "Re : float and double precision with C code"
2008 Jul 17
0
Re : Re : float and double precision with C code
ok, sorry, my mistake was the C printf.
Thank you for your good answer
Regards
----- Message d'origine ----
De : JS Ubei <jsubei at yahoo.fr>
? : jim holtman <jholtman at gmail.com>
Cc : r-help at r-project.org
Envoy? le : Jeudi, 17 Juillet 2008, 15h25mn 07s
Objet : [R] Re : float and double precision with C code
thank you for your quick answer,
I'm far of the digits
2006 May 09
1
Reusing a model to form and link_to.
Hy guys,
Inside my app I have a form which contains user information.
Sometimes a have a form with a text_field as above:
<%= form_remote_tag(:html => { :action => url_for(:controller =>
"my_controller", :action => "my_action") }) %>
<%= text_field(''my_object'', ''my_parameter'', :maxlength =>
2005 Mar 14
2
Install the RMySQL
Hi, I have some problem to install RMySQL package.
Could you help me?
I set up the path.
[root at ep2 library]# export PKG_CPPFLAGS="-I/var/lib/mysql"
[root at ep2 library]# export PKG_LIBS="-L/var/lib/mysql -
lmysqlclient"
[root at ep2 library]# R CMD INSTALL /home/younko/RMySQL_0.5-
5.tar.gz
I got this bunch of error message.
Please help me.
* Installing *source*
2007 Jan 16
0
[LLVMdev] Indirect branch instruction
Chris Lattner wrote:
> I don't understand. You're making a claim that the C compiler isn't
> producing optimal code for some case. Can you give an example of a C
> function that llvm compiles to something suboptimal? LLVM certainly does
> generate stuff like "jmp %eax", but presumably not in the way you want.
> Without an example to see what you mean, we
2012 Aug 17
1
[LLVMdev] Generate data16 assembly instruction for TLS with PIC
Hi all,
System: x86-64 ubuntu 11.04
LLVM: 3.0
gcc: 4.5.2
I declare a thread_local global variable and access it in a function in
llvm IR.
for example,
@my_value = linkonce thread_local global %dummy* null
define void @test1() {
entry:
%load_my_value = load %dummy** @my_value
....
}
After that, I use the following command:
bash$ llc -relocation-model=pic test.ll
And I have test.s
2011 Apr 29
0
Local channel scenario flushes CDR before dialplan end
Hi,
There's a quite complex dialplan scenario and I found out that CDR of
main channel is flushed right after hangup on Local channel. I will try
to simplify my scenario:
[incoming]
exten => 555,1,Noop(do something before using local channel, fill some
variables, play IVR menus and so on)
same => n,Dial(Local/555 at office/n,,g)
same => n,Noop(Notice the option "/n" and
2012 Dec 17
0
[LLVMdev] LLVMdev Digest, Vol 98, Issue 33
Hey Cameron,
Sorry to reply this mail so late.
Recently, I tried to understand what's the impact of the warning message
(Warning: stand-alone `data16' prefix)
And in binutils (gas/config/tc-i386.c), I found:
if (!quiet_warnings)
{
.....
if (t->opcode_modifier.isprefix
&& t->opcode_modifier.ignoresize)
{
/* Warn them that a data or address
2013 Dec 14
0
[LLVMdev] create load from a register in LLVM IR
Hi Chen,
> I have recently encountered a problem when creating LLVM IRs. I am wondering
> if there is a standard or easy way to create a load from a certain register?
> For example, CreateLoad(rbp, NAME).
LLVM doesn't directly provide access to any machine registers. If you
want %rbp because it's the frame pointer then for that one case there
is actually an @llvm.frameaddress
2006 Jul 25
12
DRYing - similar named fields, etc.
I''m sorry - just couldn''t come up with a subject that describes the
problem :(
Anyway, this is my problem. I have a long list of fields that need to
be displayed when a ''show'' is requested on the controller. I''m now
doing the list.rhtml and looking for a DRY way to do the following.
For each data item, I have 2 fields - one is the item name, the
2011 Feb 23
0
Problem with Mclust
Dear All,
I fear I am badly misunderstanding something fundamental about the
mclust package.
Please considered the dataset pasted at the end of the email (you can
also have a look at
http://dl.dropbox.com/u/5685598/dataedges.csv
).
Now, I would like to use the info on columns 1,2 and 4 to predict the
value in column 3.
However, when I run the script below (obg_mining_script.R), I get
2005 Sep 08
0
First 8 bytes of the value of keys in group_mapping.tdb
I'm trying to build a hack to add/modify a groupmap entry in the
group_mapping.tdb file by hand. What I'd like to do is to manually
perform something like this:
echo -e "open group_mapping.tdb\ninsert my_key my_value\nq" | tdbtool
In this attempt, I expect to add a new group map entry in the tdb file.
The key I'm using is the same as samba uses: domain_group/SID. I'm
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
Hi All,
I am attempting to build a Multinomial Logit model with dummy variables of
the following form:
Dependent Variable : 0-8 Discrete Choices
Dummy Variable 1: 965 dummy varsghpow at student.monash.edu.augh@gp1.com
Dummy Variable 2: 805 dummy vars
The data set I am using has the dummy columns pre-created, so it's a table
of 72,381 rows and 1770 columns.
The first 965 columns represent
2005 Oct 22
0
Getting univariate information from a multivariate data set
A quick question that I've had only partial success in answering. I
have a multivariate dataset, and would like to extract some simple
univariate information from it grouped by treatments, etc. I am
encountering two problems however
Note: I am importing my data with
my_data <- read.csv("/path/data.csv")
1) Scoping of unstack
If I attempt
sorted_data <- unstack(response,
2012 Mar 23
1
R conditional matrix operations - advanced condition
Hello List!
I stumbled across an efficiency problem - calculation that would be
probably done very fast as a matrix operation I must perform as a
for-loop.
My intention was to do a conditional operation in matrix depending on
the information in first column (summing as many data points from
vector my_data as the number specified in the first column of the
matrix) but the result is that the
2011 Mar 14
3
increase a value by each group?
Hi everybody.
I'm looking for the way to increase the depth value in 0.01 for each index group.
Easier to explain with this example:
>my_data=read.table("clipboard", header=TRUE)
Depth s_name index
3852 Site_1 144
3852 Site_1 144
3852 Site_1 144
3852 site_A 145
3852 site_A 145
3852 site_A 145
3852 site_A 145
3852 site_B 147
3852 site_B 147
3852 site_B 147
3852 site_B 147
54962
2017 Nov 06
0
[Bug 11414] rsync: chgrp "/.filename.5afK5X" (in dirdir) failed: Operation not permitted (1)
https://bugzilla.samba.org/show_bug.cgi?id=11414
--- Comment #2 from Michal Ruprich <mruprich at redhat.com> ---
I stumbled upon this bug and I have a question. I get the chgrp error even when
running the daemon as root.
#ps -aux | grep rsync
root 18486 0.0 0.0 114696 568 ? Ss 09:41 0:00 rsync --daemon
I have configured a module in /etc/rsyncd.conf like this:
[my_data]
2009 Dec 16
0
lasso regression coefficients
Dear list,
I have been trying to apply a simple lasso regression on a 10-element
vector, just to see how this method works so as to later implement it on
larger datasets. I thus create an input vector x:
* x=rnorm(10)*
I add some noise
* noise=runif(n=10, min=-0.1, max=0.1)*
and I create a simple linear model which calculates my output vector y
* y=2*x+1+noise*
I then do
2011 Sep 30
0
two simple questions about MCMCpoissonChange
Dear R users,
two quick questions about MCMCpoissonChange of the MCMCpack:
1. my data is stored into a vector (e.g. my_data), and as input for MCMCpoissonChange I need either a formula or a data frame.
If I simply transform my vector to a data frame with data.frame(my_data), it does not work.
If I use the formula my_data~1, then I get the following error: 'You have to prior for lambda (c0 and
2007 Jul 29
7
RDig and AAF playing together
I have a site with two indexes. Index A is created offline by RDig
and queried from the web via RDig (specifically,
RDig.searcher.search). Index B is managed by AAF with :remote =>
true. Simple enough. However, I need to query both indexes from RDig.
Usually this is ok, as I modified RDig to accept an array of
search_paths with an element for index A and index B.
However, when Index
2013 Jan 17
3
how to use "..."
Dear users,
I'm trying to learn how to use the "...".
I have written a function (simplified here) that uses doBy::summaryBy():
# 'dat' is a data.frame from which the aggregation is computed
# 'vec_cat' is a integer vector defining which columns of the data.frame
should be use on the right side of the formula
# 'stat_fun' is the function that will be run to