Displaying 20 results from an estimated 10000 matches similar to: "reading in ASCII files"
2001 Oct 02
2
Avoiding deep copies
Is it correct that there is no way of avoiding deep copying
of data structures? Or asked from a different perspective,
is it true that there are no pointers? :)
(not that I am a fan of pointer, they just let me
decide when to do deep copy on my own when the
memory manager doesnt do it for me :) )
I was considering writing code in R that would need
the internal representation of complex graph
2001 Oct 02
3
Accessing just the value of an object but not the attributes
I have the feeling that this is a dumb question but oh well ...
When I have an object x with several attributes,
y <- x will make a copy of x with all the attributes included.
What if I just want y to get the value assigned but nothing
else (no class, names, dim or other attributes)?
Johann
--
Phone/FAX/Adr/PGPkey ... at http://www.ai.univie.ac.at/~johann
2002 May 03
4
GUI Input Forms
I have been inputting my data into text files using a text
editor on a Windows 2000 PC.
I would like to create a front end form that does validation
on the fly to reduce the errors in my input and make it
possible for family members that are not into computers
to help me out with data input tasks.
I assume that my form program would translate the
input into a text file which I would then read
2001 May 09
7
R-Quant
Greetings,
Does anyone know if R-Quant, http://www.smartquant.com/ an outgrowth of
the statistical package "R"?
Bill Vedder
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
1999 Jul 16
1
R-0.64.2 ssize_t not defined in src/unix/sock.h
I though I should let you all know of this:
Trying to build R-0.62.2 on a SunOS xxxx 4.1.4 2 sun4m machine
using gcc (gcc version egcs-2.91.57 19980901 (egcs-1.1 release)):
gnumake[2]: Entering directory `/tmp_mnt/xxxx/src/R-0.64.2/src/unix'
gcc -g -O2 -I../include -I../../src/include -c Rsock.c -o Rsock.o
In file included from Rsock.c:8:
sock.h:21: parse error before `Sock_read'
2002 Mar 05
1
dribble for R?
Is there something like the LISP function dribble in R?
This would log all the output to a file but still show it
on the terminal too.
sink just diverts the output, but I dont see a way
to do what dribble would do?
Johann
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2001 Sep 28
1
binary coding of NA, Nan etc.
I wonder which binary codings to use for the different
"special" values used in R.
I want to create binary coded files of double, int, and
string values that should get read into R using readBin.
Now, what is the correct way to code NA, NaN, Inf, and -Inf
for these types? The documentation for read/writeBin
doesnt contain any info on that ...
(for int and string, there probably is only
2006 Apr 30
4
Migration, BigInts, and string lengths
Howdy Y''all,
I was thrilled to recently discover migrations, as that framework
addresses a common problem in an elegant way. I have, however, gotten
tripped up a bit as I''ve worked with them.
The first problem I encountered was that, though I was using a BigInt
data type in a field in my dev database, my unit tests were failing
because when I copied the schema from the dev
2001 May 08
1
ASCII map?
Is there a way to convert between and integer and a character and vice
versa? For instance
i <- 65;
ch <- intToChar(i); # "A"
i <- charToInt(ch); # 65
or even better
i <- c(65, 66);
ch <- intToChar(i); # c("A", "B")
i <- charToInt(ch); # c(65, 66)
I have tried to do a ASCII map myself, and I figured out that the ASCII
2003 Oct 21
2
report generator a la epiinfo
Hi
I'd like to use R in epidemiology and disease surveillance.
In EpiInfo you can have a script (.pgm) which calls a predefined report
(.rpt), where a table is calculated and values picked from that table
and placed where the author of the report wants them, with text around
those values. (Please see example below.)
I've looked at manuals, faq, mail-search and google. The closest is an
2001 May 16
7
Naive Bayes Classifier
Dear r-users,
I am looking for an implementation of the Naive Bayes classifier for a
multi-class classification problem. I can not even find the Naive Bayes
classifier for two classes, though I can not believe it is not
available. Can anyone help me?
Uschi
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2014 Mar 03
2
Re: 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)
On 03/03/2014 10:44, Martin Kletzander wrote:
> On Mon, Mar 03, 2014 at 10:30:11AM +0000, Struan Bartlett wrote:
>> Hi Martin
>>
>> Thanks for your response. Here's the output of that grep:
>>
>> # grep ^flags /proc/cpuinfo | sort -u
>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov pat pse36 clflush dts acpi mmx
2001 Feb 15
1
Updated introductory text
All,
I have updated my practical introduction to using R to analyse
epidemiological data for the March 2001 Computer Software in
Epidemiology course at the Nordic School of Public Health to include a
short section on object orientation. You can get this from:
http://www.myatt.demon.co.uk
As a ZIP file containing MS Word '95 (DOC) and Adobe Acrobat v4.xx (PDF)
version of the document
2010 Apr 16
3
run R script from Excel VBA
I wrote a R script say called computeCovarMatrix.R and i want to call and
run this piece from Excel visual basic. does anyone know how to do that?
thanks,
KZ
[[alternative HTML version deleted]]
2014 Mar 03
2
Re: 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)
Hi Martin
Thanks for your response. Here's the output of that grep:
# grep ^flags /proc/cpuinfo | sort -u
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor
2001 Feb 07
3
Goodness of fit to Poisson / NegBinomial
All,
I have some data on parasites on apple leaves and want to do a
goodness of fit test to a Poisson distribution. This seems to
do it:
mites <- c(rep(0,70),
rep(1,38),
rep(2,17),
rep(3,10),
rep(4,9),
rep(5,3),
rep(6,2),
rep(7,1))
tab <- table(mites)
NSU <- length(mites)
N <-
2016 Feb 11
2
inconsistency in treatment of USE.NAMES argument
Changing the vapply() behavior makes sense in principle. I analyzed
the CRAN code base using the R parser and found 143 instances of
calling vapply with USE.NAMES=FALSE. These would need to be inspected
to understand the consequences of the change.
For reference:
/AzureML/R/datasets.R:226
/BBmisc/R/toRangeStr.R:33
/DBI/R/DBDriver.R:205
/Kmisc/R/str_rev.R:37
/Matrix/R/diagMatrix.R:98
2009 Apr 09
3
[LLVMdev] Calling Conventions, function prologs and epilogs.
How/where are function prologs and epilogs generated, is it bespoke C++ code or TableGen generated ?
If someone could point me in the right direction please.
Many thanks in advance,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090409/fb3336e4/attachment.html>
2001 May 30
3
Cluster process
Dear all,
Is there a function to generate a Poisson cluster process?
I believe that S-plus has a function to generate some point processes,
make.pattern(), which include a Poisson cluster process.
Thanks in advance
------------------------
Takashi Mizuno
zoono at sci.osaka-cu.ac.jp
Plant Ecology Lab.
Osaka City University
------------------------
2001 Mar 07
3
export graph to Word/Excel
Hi,
I have a set of script like this:
----------------------
summary(data)
plot(time, users, type="o", xlab ="Time", ylab="Number
of Users")
----------------------
I type "rterm --slave < script.r > output.doc" and the
graphic doesn't
actually in the output.doc file. How to make the
graphic embedded in Word
or Excel file?
Thanks,
Yu-Ling Wu