Displaying 20 results from an estimated 300 matches similar to: "how to indice the column in the data.frame"
2011 Nov 17
1
how to read the text ?
hi,R users:
I have such a text
num = 3
testco = 12
testno = 1;12;3
infp = test1;test2;test3
How can I read this text by readLines?
[[alternative HTML version deleted]]
2011 Nov 17
1
how to read a free text file into individual variables
hi ,I am writing a soft package based on R.
But when I try to read a configure file showed as below.
How can I read the parameter in this text file.
How can I read the parameter into each variable in this file ?
configinfo<-scan(file(configfile),ok=TRUE,n=-1)
scan seems need every line have same column ?
configinfo <- readLines(configfile,ok=TRUE,n=-1)
methodnum <-
2011 Aug 18
1
can i use a variable to describe the dimension name of a data.frame?
for example:
a data.frame
data
V1 V2 V3
1 2 3
4 5 6
If I want to calculate the V2
I can get data$V2
But now I want to calculate the dimension name and then analysis the data.
for example
No=3*x ;x=1,2,3,...n
anadata=data$VNo
How could I do?
--
TANG Jie
[[alternative HTML version deleted]]
2004 Feb 12
3
Debugging R Code
Hi all,
is there a more convenient way to debug R code than the built in debug()
function? (so that one can set breakpoints, step in and out of function
calls,...). I read the section on debugging compiled code in the manual
"Writing R Extensions" (I only want to debug ordinary code but thought that
maybe the advice there could help), but didn't find out how I can start
2009 Jun 26
1
[LLVMdev] "icmp eq", "icmp ne" not commuting operands on ARM
NE and EQ comparisons should be able to commute their operands. But,
for ARM at least, this does not seem to be happening. The first
sequence below generates CMN (compare negated) but the second does not
(complete test attached). These seem to map to ARMcmpNZ. Where would I
look to see if that is marked commutative?
%nb = sub i32 0, %b
%tmp = icmp ne i32 %a, %nb
%nb = sub
2009 May 06
1
Asterisk with Sphinx
Hi,
Did anyone tried speech recognition using Sphinx ? I used sphinx
using this website (http://scribblej.com/svn/) but when i run
astsphinx i am getting the following error. Any clue what might have
caused this problem ?
Thanks
-Azher
INFO: s2_semi_mgau.c(1080): 1 mixture Gaussians, 256 components, 4
feature streams, veclen 51
INFO: s2_semi_mgau.c(748): Loading senones from dump file
2007 Aug 09
8
[Bug 11918] New: drmMap of framebuffer failed
http://bugs.freedesktop.org/show_bug.cgi?id=11918
Summary: drmMap of framebuffer failed
Product: Mesa
Version: CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: pmandin at
2017 Jan 31
2
[GlobalISel] Questions about selection regions
Hi,
I've been studying the global instruction selector introduced recently. One
of the properties of global instruction selectors is that they select
instructions across basic blocks such that they can get more information in
order to choose optimal patterns.
However, the current global isel implementation still iterates over BBs
within functions, which is same as the original SelectionDAG
2007 Jan 30
5
how to join two arrays using their column names intersection
Dear all,
I have a problem that may be someone of you can help. I am a newbie and
do not find how to do it in manuals.
I have two arrays, for example:
ar1 <- array(data=c(1:16),dim=c(4,4))
ar2 <- array(data=c(1:16),dim=c(4,4))
colnames(ar1)<-c("A","B","D","E")
colnames(ar2)<-c("C","A","E","B")
> ar1
2004 Mar 24
1
'smbclient' fails on server
Newbie. Been trying to solve this for days.
'smbclient -L SERVERNAME'
fails.
I have checked and see no problem here. Tried ethereal
(listening on 137, 138, 139, and 445), nothing other than
some broadcasts from my W2K machines and a broadcast
announcement from the server.
I did notice this in the nmbd.log
Samba name server ATHLON1 is now a local master browser for
2018 Jun 15
3
Strange Machineinstr
Hi Krzysztof
Thank you very much for your quick and clear reply. I know that MIR may not
match hardware instructions directly. However, I think the semantics should
be similar.
For example, the first instruction is a store-multiple instruction in ARM.
I think the first four MIR I shown should have the similar semantics with
the first three hardware instructions. I still cannot see the
2018 Jun 15
2
Strange Machineinstr
Hi
I write a machinefunction pass to print all the machinefunction's machine
instructions.
My target architecture is ARM. However, I don't understand some part of the
machine instructions.
Below is some of the assembly language for function A.
.text:0001C034 STMFD SP!, {R4,R10,R11,LR}
> .text:0001C038 ADD R11, SP, #8
> .text:0001C03C
2004 Jan 20
1
Re: Need help on how to list functions from a loaded package...
To All
How does one get a list of functions from a loaded package so that one can
then get the appropriate help for each of the functions. Currently my
method is
based on a lot of trial-and-error.
Here's an example of what I mean...
>From this forum I learn that an interesting package called "multtest" exists
on Bioconductor.
I then use R Console's "Packages" --
2016 Jun 28
2
Question about Instruction Selection
Hi,
I'm new to LLVM and I'm doing research on factors of compilation time,
especially instruction selection and scheduling. One of the academic papers
I read,
https://llvm.org/svn/llvm-project/www-pubs/trunk/2008-CGO-DagISel.pdf (Koes,
David Ryan, and Seth Copen Goldstein. "Near-optimal instruction selection
on dags."), which is also said to be the algorithm LLVM currently
2013 Jan 23
2
[LLVMdev] introducing sign extending halfword loads into the LLVM IR
Hi Bjorn,
could you file a bug on llvm.org/bugs and cc me on it.
Thanks,
Arnold
> So it appears that also the ARM backend has a big problems with sign-extending loads.
>
> I've compiled the following loop
>
> short in[];
> int out[];
> int value;
>
> for (i = 0; i < nr; i++) {
> value = in[i];
> if (value>2047)
>
2003 Aug 19
1
With sambaSamAccount, do I need an add user script and an add machine script?
Dear Folks,
With Samba 3.0.0 RC1, openldap-2.1.22, with samba as PDC and as much as possible
in LDAP, do I need to write an add user script and an add machine script? Or
does samba handle this itself? Sorry, I'm rather confused about how to go about
setting this all up.
--
Nick Urbanik RHCE nicku(at)vtc.edu.hk
Dept. of Information & Communications
2016 Jun 28
2
Question about Instruction Selection
Thanks for swift reply
> Ahmed Bougacha <ahmed.bougacha at gmail.com> 於 2016年6月28日 下午8:11 寫道:
>
> On Tue, Jun 28, 2016 at 4:42 AM, Bekket McClane via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>> Hi,
>> I'm new to LLVM and I'm doing research on factors of compilation time,
>> especially instruction
2016 Nov 29
5
[RFC] Parallelizing (Target-Independent) Instruction Selection
Hi,
Though there exists lots of researches on parallelizing or scheduling
optimization passes, If you open up the time matrices of codegen(llc
-time-passes), you'll find that the most time consuming task is actually
instruction selection(40~50% of time) instead of optimization
passes(10~0%). That's why we're trying to parallelize the
(target-independent) instruction selection process
2017 Jan 31
0
[GlobalISel] Questions about selection regions
On Tue, Jan 31, 2017 at 7:12 AM, Bekket McClane via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi,
> I've been studying the global instruction selector introduced recently. One
> of the properties of global instruction selectors is that they select
> instructions across basic blocks such that they can get more information in
> order to choose optimal patterns.
>
2007 Mar 19
5
Problem well trying to run Need For Speed Porsche Unleased
So I have Need For Speed Porsche Unleased and I have ubuntu 6.06 LTS
and I have wine 0.9.90-ubuntu2 which I installed using the package
manager . So I simply use wine and I get to play NFS on ubuntu simple
right. I install NFS and everything goes fine. I then go to wincfg and
add NFS and change it to run in 98. Error one I run the shortcut on my
desktop in a terminal and I get this