Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] create two Twine object"
2010 Apr 18
0
[LLVMdev] create two Twine object
According to documentation Twines should be used only for temporary
values and not stored, so allocating the in heap sounds wrong.
I think all you need here is
static int varNum;
++varNum;
Instruction *sstatusInst = new AllocaInst(StatusTy, Twine("status") +
Twine(varNum), entry_inst);
Instruction *sreqInst = new AllocaInst(ReqTy, Twine("request") +
Twine(varNum),
2010 Apr 18
1
[LLVMdev] create two Twine object
On Sun, Apr 18, 2010 at 4:36 AM, Eugene Toder <eltoder at gmail.com> wrote:
> According to documentation Twines should be used only for temporary
> values and not stored, so allocating the in heap sounds wrong.
Yes, in general you should never be naming Twine directly, except in
the case where you need to make a Twine for an integer. All other uses
should be considered poor style, as
2011 Dec 30
2
Applyiing mode() or class() to each column of a data.frame XXXX
Hi everyone,
I am attempting to use the apply() function to obtain the mode and class of
each column in a data frame, however, I am encountering unexpected results.
I have the following example data:
v13<-1:6
v14<-c(1,2,3,3,NA,1)
v15<-c("Good","Bad",NA,"Good","Bad","Bad")
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
2011 Dec 26
4
Summary tables of large datasets including character and numerical variables
Hello !
I am attempting to switch from being a long time SAS user to R, and would
really appreciate a bit of help ! The first thing I do in getting a large
dataset (thousands of obervations and hundreds of variables) is to run a SAS
command PROC CONTENTS VARNUM command - this provides me a table with the
name of each variable, its type and length; then I run a PROC MEANS - for
numerical
2004 Apr 25
2
nonparametric multiple sample comparison
Hello all,
Here goes one of my first functions.
I want to make a nonparametric multiple sample comparison with unequal sample
sizes (see Zar?s Biostatistical Analysis, 3rd. Ed., pg. 201 Example 10.11, pg.
288 Example 11.10). In the real world, I want to compare samples of fish
length captured with different fishing gears.
After using the Kruskal-Wallis test I want to check the differences
2006 May 31
1
Creating Multiple Child objects on a single form
I''ve been trying to solve this for the last few hours and I have
something that is working now but I''m curious if there isn''t a better
''right'' way to do it since this seems a bit of a cludge to me, but I
haven''t find a better way to make it work.
The models are as follows:
Goals, which have multiple objectives.
Goals also have multiple
2011 Feb 20
4
Need Help
Hi,
We realized that there are certain parameters within icecast that request
specific directory path
address for the program to connect upon start up...we are now trying to find
an icecast.pid file
but we have not been able to find it in any of the directories. Do you know
were we can find that
file?
Thank you,
Luis Barrett
-------------- next part --------------
An HTML attachment was
2008 Jan 02
6
problem when editing record in polymorphic relation
I have the following three models created applying the polymorphic
concept
==========================================================================
class SoftwareCi < ActiveRecord::Base
has_one :ci, :as => :content
end
class HardwareCi < ActiveRecord::Base
has_one :ci, :as => :content
end
class Ci < ActiveRecord::Base
belongs_to :content, :polymorphic => true
end
The
2000 Jun 21
3
SAS dataset
Hello,
Is there any way we convert SAS dataset into R dataset?
Kindest Regards,
Peppy Adi-Purnomo
------
Peppy Adi-Purnomo
Energy Market Analyst
Energy Link Ltd
Dunedin - New Zealand
Ph.: +64 3 479 2475
Fax: +64 3 477 8424
Email: s.adi.purnomo at energylink.co.nz
www.EnergyLink.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2010 Feb 07
3
[LLVMdev] Help with Mac OS X 10.6.2 build
Greetings,
I am having trouble getting the Kaleidoscope example to build from
tutorial #3 on Mac OS X 10.6.2. I didn't have too much trouble
getting llvm-2.6 and llvm-gcc-frontend to build. Thanks for the help.
Here are the steps I followed:
Environment variables for build
export LLVMOBJDIR=/opt/llvm
export TARGETOPTIONS='--with-arch=nocona --with-tune=generic'
export
2005 Dec 19
0
new(er) SEC driver.
Hi!
I've recently come into to the possesion of a couple of Belkin Omniguard
3200 UPS's. Given the horrible apache/java based software they come with, I
decided to see if I cannot get them to work with NUT.
To cut a long story short, they work out to be SEC -based, and extensively
modifying the nut-1.4 driver code to come up with the attached two files.
I've marked them
2007 Mar 20
1
Re: [nut-commits] svn commit r879 - in trunk: . drivers
Julius: I just realized after committing Michal's patch that you have
a more comprehensive patch on the tracker that approaches this piece
of code differently.
We can go ahead and apply the following patch to the trunk if you
still think it's relevant:
https://alioth.debian.org/tracker/index.php?func=detail&aid=303719&group_id=30602&atid=411544
If you have a newer version of
2007 Aug 27
2
validate (package Design): error message "subscript out of bounds"
Dear R users
I use Windows XP, R2.5.1 (I have read the posting guide, I have
contacted the package maintainer first, it is not homework).
In a research project on renal cell carcinoma we want to compute
Harrell's c index, with optimism correction, for a multivariate
Cox regression and also for some univariate Cox models.
For some of these univariate models I have encountered an error
2005 Dec 20
1
imlib2-loader_jpeg RPM Needed
Hi All,
was trying to install eterm rpm, and got the below dependencies errors,
Eterm-0.9.3-1.i386.rpm
[root at status1 eterm]# rpm -Uvh Eterm-0.9.3-1.i386.rpm
error: Failed dependencies:
imlib2 is needed by Eterm-0.9.3-1.i386
imlib2-loader_jpeg is needed by Eterm-0.9.3-1.i386
imlib2-loader_png is needed by Eterm-0.9.3-1.i386
libImlib2.so.1 is needed by
2007 Jan 04
7
Hi: New SUNWqemu cvs20070102tue in the works .... rgds. -Martin
²Š'
2005 Dec 05
2
Permission Denied: /proc/cpuinfo
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Mark Sargent
> Sent: Sunday, December 04, 2005 10:38 PM
> To: CentOS mailing list
> Subject: [CentOS] Permission Denied: /proc/cpuinfo
>
> HI All,
>
> why do I get the below,
>
> [root at status1 ~]# /proc/cpuinfo
> -bash: /proc/cpuinfo:
2009 Apr 02
0
Sparse PCA problem
Dear R user,
I want to do sparse principal component analysis
(spca). I am using elastic net package for this and spca() and the code is
following from the example.
My question is How can I decide the *K =? *and *para=c(7,4,4,1,1,1)) . So,
here k=6 i.e the no of Principal Components. and each pcs say , *
**
pc1 number of non zero loading is 7
pc2 number of non zero loading
2007 Dec 27
0
SAS to R - if you have SAS 8.2+
Hi there,
the attached R function uses the SAS Integrated Object
Model (IOM) and it can deal with SAS dates and long
variable names. All you need to provide is the folder
where the SAS data file is and the data file name
without the extension. The function requires the rcom
package.
This is meant to be first cut...but improvements and
suggestions are more than welcome!
Gyula
import.sas.data
2006 Feb 04
0
form_tag_with_upload_progress
hi all!
i have a PictureController with an upload action:
class PictureController < ApplicationController
.
.
.
upload_status_for :upload
.
.
.
def upload
if params[:picture]
@message = "File uploaded: " + params[:picture][:file].size.to_s
picture = Picture.save(params[:picture])
session.update
finish_upload_status "''#{@message}''"
end