Displaying 20 results from an estimated 2000 matches similar to: "vector name"
2003 Jun 25
2
probelem of function inside function
Hi,
I encountered a problem when I am trying to write my
own function which contains another function. To
simplify a problem, I tried the following simplified
function, hope someone can idenfity the problem for
me.
I have a simple data frame called "testdata" as
following:
>
2010 May 17
2
Variable variables using R ... e.g., looping over data frames with a numeric separator
Hello,
I have programmed in PHP a lot, and wanted to know if anyone figured out
Variable variables using R.
For example, I have several dataframes of unequal sizes that relate to L
treatments (1, 2, 3, 4, 5,6, L) ... in this case L=7
fData.1
unique.1
fit.nls.1
summary.nls.1
fit.var.1
summary.var.1
.....
fData.2
unique.2
fit.nls.2
summary.nls.2
fit.var.2
summary.var.2
.....
fData.L
unique.L
2013 Mar 25
3
Obtaining the internal integer codes of a factor XXXX
Hi everyone,
I understand the process of obtaining the internal integer codes for
the raw values of a factor (using as.numeric() as below), but what is
the best way to obtain these codes for the levels() of a factor (since
the as.numeric() results don't really make clear which code maps to
which level)?
2005 Mar 08
2
problem in compiling openh323
hello all
i am having a problem in compiling openh323.
[root@kamran openh323]# ./configure
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler...
yes
2010 Nov 08
1
try (nls stops unexpectedly because of chol2inv error
Hi,
I am running simulations that does multiple comparisons to control.
For each simulation, I need to model 7 nls functions. I loop over 7 to do
the nls using try
if try fails, I break out of that loop, and go to next simulation.
I get warnings on nls failures, but the simulation continues to run, except
when the internal call (internal to nls) of the chol2inv fails.
2009 Jun 23
2
Weighting column entries in a data frame
Hi Guys,
I would like to weight column entries in a data frame by the population of
each state. For example, here is some data:
state statenum year income popul
ALABAMA 1 1 9.703193 3973.00
ALABAMA 1 2 9.745950 3992.00
ALABAMA 1 3 9.762092 4015.00
ALASKA 2 1 10.221640 532.00
ALASKA 2 2 10.169600
2009 Jan 21
1
problem with rbind
Hi All,
I have a problem with rbind.
I have data that consist of weight height .. etc of 1000 patients. I would
like to find the mean and the standard deviation ( for the weight , height
etc) for each gender.
data<-read.table("data.txt", header=T, sep='\t')
fdata=NULL
for (i in 1:50){
nn<-names(X)[i]
m<-tapply(X[,i],data$gender,mean,na.rm=T)
s<-tapply(X[,i],
2004 Dec 19
2
OH323 channel compile error
Hello
I am trying to compile asterisk-oh323-0.7.0 with pwlib-Janus_patch4
and openh323-Janus_patch4 downloaded from inaccessnetworks so I did
this:
tar -zxvf openh323-Janus_patch4-src-tar.gz
cd openh323
patch -p1 < /root/asterisk-oh323-0.7.0/openh323_1.13.5-make.patch
./configure
make opt
cd asterisk-oh323-0.7.0
vi Makefile (to set the paths and options according to my system...)
NOW I
2020 Sep 15
2
[ELF] String literals don't obey -fdata-sections
Hi there,
When I compile my code with -fdata-sections and -ffunction-sections, I
still see some unused string in my shared library (Android). Actually,
the strings appear together inside a .rodata.str1.1 section instead of
getting their own section. It seems that the C-string literal are
considered differently than other constant and the -fdata-sections is
not respected in
2020 Sep 16
2
[ELF] String literals don't obey -fdata-sections
On 2020-09-16 00:18, Fangrui Song wrote:
> Usually it is because nobody has noticed the problem or nobody is
> motivated enough to fix the problems, not that they intentionally leave
> a problem open:) I took some time to look at the problem and conclude
> that clang should do nothing on this. Actually, with the clang behavior,
> you can discard "Unused" if you use LLD.
2015 May 07
3
[LLVMdev] LLD improvement plan
On 5/7/2015 8:38 AM, Joerg Sonnenberger wrote:
> On Wed, May 06, 2015 at 09:28:54PM -0500, Shankar Easwaran wrote:
>> The atom model allowed lld to have a single intermediate
>> representation for all the formats ELF/COFF/Mach-O. The native model
>> allowed the intermediate representation to be serialized to disk
>> too. If the intermediate representations data
2007 Oct 02
5
Linear Regression
Hello,
I would like to fit a linear regression and when I use summary(), I got the
following result:
Call:
lm(formula = weight ~ group - 1)
Residuals:
Min 1Q Median 3Q Max
-1.0710 -0.4938 0.0685 0.2462 1.3690
Coefficients:
Estimate Std. Error t value Pr(>|t|)
groupCtl 5.0320 0.2202 22.85 9.55e-15 ***
groupTrt 4.6610 0.2202 21.16 3.62e-14
2007 Jul 03
4
sequences
Hi, I would like to generate a series in the following form (0.8^1, 0.8^2,
..., 0.8^600)
Could anyone tell me how can I achieve that? I am really new to R.
--
View this message in context: http://www.nabble.com/sequences-tf4019146.html#a11414836
Sent from the R help mailing list archive at Nabble.com.
2013 Jul 25
2
[LLVMdev] [PROPOSAL] ELF safe/unsafe sections
Then how about enable these flags for -O2? I want to hear from other people
cc'ed, and I may be too cautious, but I'd hesitate to define a new ELF
section if there's other mean already available to achieve the same thing.
On Thu, Jul 25, 2013 at 2:12 PM, Shankar Easwaran
<shankare at codeaurora.org>wrote:
> Not all users compile their code with -ffunction-sections and
>
2013 Jul 25
0
[LLVMdev] [PROPOSAL] ELF safe/unsafe sections
Is there any reason -ffunction-sections and -fdata-sections wouldn't work?
If it'll work, it may be be better to say "if you want to get a better
linker output use these options", rather than defining new ELF section.
On Thu, Jul 25, 2013 at 2:01 PM, Shankar Easwaran
<shankare at codeaurora.org>wrote:
> On 7/25/2013 3:56 PM, Rui Ueyama wrote:
>
>> I think I
2013 Jul 25
2
[LLVMdev] [PROPOSAL] ELF safe/unsafe sections
Not all users compile their code with -ffunction-sections and
-fdata-sections.
This is to handle usecases when libraries use a mix of object files too.
On 7/25/2013 4:10 PM, Rui Ueyama wrote:
> Is there any reason -ffunction-sections and -fdata-sections wouldn't work?
> If it'll work, it may be be better to say "if you want to get a better
> linker output use these
2007 Jul 05
3
Loop and function
Hi All, I am trying to make a loop for a function and I am using the
following codes. "p" and "var" are some matrix obtained before. I would like
to apply the function "gpdlow" for i in 1:12 and get the "returnlow" for i
in 1:12. But when I ask for "returnlow" there are warnings and it turns out
some strange result.
for (i in 1:12){
gpdlow
2013 Jul 31
1
[LLVMdev] [PROPOSAL] ELF safe/unsafe sections
On 7/30/2013 7:50 PM, Eric Christopher wrote:
> On Tue, Jul 30, 2013 at 5:36 PM, Nick Kledzik <kledzik at apple.com> wrote:
>> On Jul 30, 2013, at 4:28 PM, Eric Christopher wrote:
>>> On Mon, Jul 29, 2013 at 9:24 AM, Nick Kledzik <kledzik at apple.com> wrote:
>>>> On Jul 25, 2013, at 2:10 PM, Rui Ueyama wrote:
>>>>> Is there any reason
2009 Dec 18
1
[LLVMdev] Compiling a raw binary with llvm/clang
$ clang -ffunction-sections -fdata-sections -Os -nostartfiles -c -o hello.o
hello.c
$ clang -ffunction-sections -fdata-sections -Os -nostartfiles -c -o test.o
test.c
$ llvm-ld -s -o hello2 hello.o
$ llc hello2.bc -o hello3
$ ld -o hello_B hello3 --oformat binary
ld:hello3: file format not recognized; treating as linker script
ld:hello3:1: syntax error
I am guessing that is what you meant by the
2013 Jul 26
1
[LLVMdev] [PROPOSAL] ELF safe/unsafe sections
On 7/26/2013 7:39 AM, Rafael EspĂndola wrote:
> On 25 July 2013 17:24, Rui Ueyama <ruiu at google.com> wrote:
>> Then how about enable these flags for -O2? I want to hear from other people
>> cc'ed, and I may be too cautious, but I'd hesitate to define a new ELF
>> section if there's other mean already available to achieve the same thing.
> I would