Displaying 20 results from an estimated 10000 matches similar to: "read input from STDIN"
2001 Dec 17
1
help for input
Hello, all,
I have a question regarding data input. For example: I have a file like
this
Group exp value
001 1 1 5
002 1 2 4
003 1 3 4
004 2 1 4
005 2 1 4
006 3 2 3
007 3 4 5
008 3 4 5
009 3 5 6
I read it using
f<-read.table("infile")
we have 3 groups here,
group1 have 3 exps
group 2 havs 2 exps
group 3 has 4 exps
After I read the file,
2010 Sep 10
2
[xts, quantmod] segfault probelm when I work with memcpy function
Hi,
I work with SEXP C code and with xts and quantmod packages. I try to
touch how xts internal works.
So we have R session and:
> ls()
character(0)
> getSymbols('AAPL') # quantmod package
[1] "AAPL"
> ls()
[1] "AAPL"
> str(AAPL)
An ?xts? object from 2007-01-03 to 2010-09-09 containing:
Data: num [1:929, 1:6] 86.3 84 85.8 86 86.5 ...
- attr(*,
2010 Aug 06
1
apply family functions
Hi all,
I would like to flag each record in the data according to certain conditions
as specified below.
For example,
If "Close_date" in *dat* is between ("Open" & "Close") or ("Open1" &
"Close1") or ("Open2" & "Close2") in *oc, *flag the records as "Valid",
otherwise "Invalid"
I would like to
2005 Nov 16
2
two-way communication using Unix pipes
Hello,
I am trying to communicate with R from a perl program. Because this code
must be deployed on systems that are outside of my control I do not wish to
pursue the RSperl.pm approach which requires that R be compiled to use
shared libraries.
I have a custom, light weight module I have used with other command line
driven programs like Ferret and Grads. This module follows the standard perl
2004 Oct 20
0
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
Yeah. We need to have more extra fields in the instruction. Fo example,
during high-level synthesis, we must schedule an instruction to
a certain control step (or cycle), and bind it to be execute on a certain
functional unit, etc.
Besides the in-memory exchange of the information, we also want on-disk
exchange. That introduces the write-out/parse-in problem.
Thanks
----- Original Message -----
1999 Dec 06
2
perl advice
Hello-
Does anyone have a recommendation on how to call R from perl? I'm using
the IPC::Open2 module, and running R with the --slave and --quiet
options. The problem is that I can't predict how many lines of output I
should try to read for each command-- if any!
The ultimate goal is to use perl to provide a form-driven web interface,
but have R do the underlying calculations.
Thanks
2002 Sep 11
2
changepoint analysis
Hi, all,
I'd like to find one or more changepoints in a dataset
eg
for data like
0.9 1 0.8 0.8 0.85 0.3 0.9 0.9 0.9 1.1
0.3 is unlikely a changepoint
but for data like
0.9 1 0.8 0.8 0.85 0.3 0.2 0.2 0.1 0.2 0.3
0.3 is a change point
I am wondering is there any function can do changepoint analysis?
Ying Fan
2004 Oct 20
5
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
I'm CC'ing the llvm-dev list because other people are more knowledgeable
about the bytecode format/encoding than I am. Please follow-up the
replies to the list.
On Wed, Oct 20, 2004 at 11:27:53AM -0700, Yiping Fan wrote:
> We also want to extend the llvm instructions/intrinsic
> functions/types/passes to support our high-level synthesis for
> hardware. First of all, we want to
2004 Oct 04
2
open3 for windows
Hi all,
The topic of creating a unified API for open3 for Windows came up at
RubyConf 2004 this year.
Park, I was wondering if you would mind if we modified win32_popen so that
the API matches the open3 library that ships with Ruby.
This also means deciding whether or not to leave in the open2, open4, and
posix stuff. I guess it doesn''t hurt to leave this in, although Open3.open4
2004 Oct 20
2
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
Vikram,
I also agree with you. I understand that target-independent representation is very valuable
and important for software compilation.
However, when we are doing high-level synthesis (also called behavioral/architectural synthesis),
the targeting architecture is also changing. That is, we need to do architecture exploration
and the IR transfromation simultaneously. For example,
2004 Oct 20
0
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
Yiping,
Could you describe in a little more detail what your goals are? I
agree with Reid and Misha that modifying the instruction definition is
usually not advisable but to suggest alternatives, we would need to
know more. Also, for some projects it could make sense to change the
instruction set.
--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.cs.uiuc.edu/
On Oct 20, 2004, at 2:41 PM,
2005 Nov 01
3
[LLVMdev] [fwd] Re: LLVM Compiler Infrastructure
Hi, Yiping!
I am not sure of the answer to your question, but I am forwarding it to
the LLVMdev list where I am sure someone will be able to answer you.
Please send development questions directly to LLVMdev and you will get a
response quicker, as it is read by many LLVM developers.
----- Forwarded message from Yiping Fan <fanyp at cs.ucla.edu> -----
Date: Mon, 31 Oct 2005 17:20:24 -0800
2004 Oct 20
2
[LLVMdev] Re: LLVM Compiler Infrastructure Tutorial
On Wed, Oct 20, 2004 at 11:59:45AM -0700, Yiping Fan wrote:
> Yeah. We need to have more extra fields in the instruction. Fo
> example, during high-level synthesis, we must schedule an instruction
> to a certain control step (or cycle), and bind it to be execute on a
> certain functional unit, etc.
Since we're talking about "execution" and "scheduling", you
2004 Dec 01
1
typo
In my previous mail the last line was supposed to be:
"It turns out I probably won''t use fork unless support FOR STREAMS is
added to it."
aslak
2006 Mar 10
8
domUloader kernel command line arguments?
domUloader potentially makes my life a lot easier, but from experiments
and looking at the code, it doesn''t seem like there is any way to pass
kernel command line arguments with it. Am I just missing something?
Thanks,
John Byrne
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
First of all, GREAT WORK! I now have my very own Windoze domain thanks to
Samba :)
Now, getting Samba to work fully on OpenBSD was harder than I'd think it
would be.
To get smbd to compile somewhat cleanly, I had to hack
./source/include/config.h thusly: remove USE_SETREUID, add USE_SETEUID.
Then, I hacked sec_ctx.c like the attached diff shows, to get rid of some
assert_gid panic when
2011 Mar 03
3
R usage survey
Hi R users,
I request members of the R community to consider filling a short survey
regarding the use of R.
The survey can be found at http://goo.gl/jw1ig
Please accept my apologies for posting here for a non-technical reason.
The data collected will be suitably analyzed and I'll post a link to the
results in the coming weeks.
Thank you all for your interest and for sharing your R usage
2007 Feb 09
1
HP DL380 G2 does not boot off local disk from PXE boot menu
Hi, all:
I can't make my HP DL380 G2 servers to boot off local disk by using
"default local" line in my PXE boot menu.
For fully automated server setups, I have configured all my DL380
servers to always do PXE boot. By manipulating the default boot option
in boot menu, I can control a server whether to install a new OS via
kickstart or just boot off local disk. This scheme works
2005 May 20
0
[PATCH] let klcc pass input from STDIN to gcc
Some packages want to pass input to gcc via STDIN (iptables for example)
This patch lets klcc accept '-' as a valid input filename, prevents it
from setting -x in that case and changes the invocation of gcc from
system() to open3() so that gcc's STDIN can be connected to klcc's STDIN.
Daniel Thaler
-------------- next part --------------
--- klibc-1.0.8/klcc.in.old 2005-05-20
2005 Mar 11
0
read.table messes up stdin upon small, erroneous input (PR#7722)
Full_Name: Jan T. Kim
Version: 2.0.1, devel-2005-02-24
OS: Linux 2.6.x
Submission from: (NULL) (139.222.3.229)
Run read.table(stdin()) and type in the broken table
1 2
1
terminating the input by pressing Ctrl-D at the 3rd line of input. An error
message by scan, complaining that "line 2 did not have 2 elements" appears,
as expected. However: After this, there are three empty lines