Displaying 20 results from an estimated 11000 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
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]]
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
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
2004 May 24
2
SIP Authentication Problem
I have a group of users configured as extensions in *.These users are registered with a SIP Proxy Server and can receive calls very well. The problem happens when any user tries to make an outbound call. The proxy replies with a "401 Unauthorized" and * don't try another INVITE including credentials.
Here is part of the content of sip.conf.
[general]
port = 5061
bindaddr = *.IP
2000 Oct 06
9
Turning off axis annotation?
HI there,
Well, I am stuck again. How do I turn off axis annotation?
Oh, and thanks to Peter Dalgaard
for his help with my last question.
I have an observation that others there may find interesting. In the
windows implementation
of R, the tck option of par() does not seem to operate as the reference
manual indicates. Apparently the length of ticks using this option is
supposed to be
2001 Feb 08
2
dnbinom(,size<1,)=0 (PR#842)
This came up on r-help but indicates a bug.
dnbinom(x,n,p) calls dbinom_raw(n-1,...)
which returns 0 for n<1.
-thomas
---------- Forwarded message ----------
Date: Thu, 08 Feb 2001 17:10:23 +0000
From: Yudi Pawitan <yudi@stat.ucc.ie>
To: Mark Myatt <mark@myatt.demon.co.uk>
Cc: R-Help <r-help@stat.math.ethz.ch>
Subject: Re: [R] Goodness of fit to Poisson / NegBinomial