Displaying 20 results from an estimated 8000 matches similar to: "Suggestion for comments in data files (i.e. read.table)"
2000 Feb 14
3
More plotting comments
None of this is greatly important but might be a bit useful to someone.
BTW, I have 0.99a installed, it compiled without a problem.
I've discovered most of the plotting facilities including the legend()
function and the various text annotations, this is nice an convenient
and flexible enough to do most things. One thing that I must say is that
the help pages on plot() and plot.default()
2001 Jan 26
1
[fwd] Ogg123 crash report on EV4 Multia
----- Forwarded message from Telford Tendys <telford@triode.net.au> -----
Delivery-Date: Thu Jan 25 22:22:57 2001
Date: Fri, 26 Jan 2001 16:26:27 +1100
From: Telford Tendys <telford@triode.net.au>
To: feedback@vorbis.com
Subject: Comments on your code
User-Agent: Mutt/1.2.5i
Dear Vorbis,
I didn't even know about ogg or vorbis until I was at a conference
and someone said, ``if
2000 Mar 08
2
possible BUG with as.data.frame() and/or [.data.frame
Here is a possible BUG with as.data.frame() and/or [.data.frame which broke
Michael Lapsleys RODBC-Code.
Can anyone confirm it is a bug or a 'feature' of the prototype?
tablename <- "abc"
a <- as.data.frame(cbind("abc", 1:3))
b <- as.data.frame(cbind(tablename, 1:3))
# ok
> a
V1 V2
1 abc 1
2 abc 2
3 abc 3
# missing column name
> b
tablename
1
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Jun 27
2
R as a server in client server computing
I like to have a continuously running R process, which can receive a
dataframe from a client (over TCP/IP), does some processing, and sends some
data back. What is the prefered way to do this? Using the socket interface?
Using omega's CORBA stuff?
Does anyone has example code for doing so?
Thanks for any help
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
Analyse
MD FACTORY GmbH
Gr?nstr. 15
1999 Oct 04
1
SQL-Interface
Can anyone give advice how to interactively exchange data between R and
SQL-Databases like DB2, ORACLE, MS-SQL-Server ?
If the answer is: 'currently not', this would be information for me as well.
I will summarize to the list.
Best regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Feb 11
1
new chron problems in RW0990
Dear all,
In RW0901 I could
> dates("01/01/2000")
[1] 01/01/100
where only the printing was wrong, but the double numeric representation of
the chron object was calculated correctly
but now in RW0990
> dates("01/01/2000")
Error in fun(yy, ...) : must be 2-digit (numeric) year specification
and also the followig doesn't help
> dates("01/01/2000",
1999 Dec 21
3
BUG in format()? (PR#383)
In RW0.651 and RW0.901,
I discovered some unexpected behaviour when I used as.matrix.data.frame()
> matrix('"', 2, 2)
[,1] [,2]
[1,] "\"" "\""
[2,] "\"" "\""
> unclass(as.data.frame(matrix('"', 2, 2)))
$V1
[1] "\"" "\""
$V2
[1] "\"" "\""
2000 Jul 28
2
Using the nls package
I'm a bit confused about the nls package, I'm trying to use it for curve fitting.
First off, the documentation for nls says ``see `nlsControl' for the
names of the settable control values'' -- this is wrong, it should be
nls.control (minor point but had me confused for a moment).
Now I'll try something very simple (maybe too simple):
1999 Oct 18
2
Solving problems with read.fwf(), perl under WinNT (was: Re: Using metric scaling)
Some days ago a problem with perl under WinNT was reported, which lead to
> > t1 <- read.fwf("d:/maj/consulting/MarkStevens/matrix.txt", width=c(4,
22,
> rep(7, 8)))
> Error: "scan" can't open file
I installed perl from the WindowsNt Recource Kit CD (Sept. 98) and
encountered the same problem:
Scan couldn't open the file
- because perl did not produce
2000 Feb 11
1
astonishing memory phenomenon
I have a question concerning memory.
I understood that R takes a fixed amount of memory at startup (which I can
influence with --vsize --nsize) and that gc() shows the memory still free of
the total memory reserved for R.
However, if I create a long vector of character data, gc() only seem to
reflect the space needed for a vector of pointers to char, the space used
for the character data itself
1999 Nov 10
1
read.table problems
Yesterday I asked for help about read.table with a CSV file. I
received the following help. As always many thanks for the prompt
responses. Now I load my csv file in a text editor ( pfe) and delete
all spaces.
My original mail is at the end.
From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
Do you have spaces before the commas in your file?
> Yes, number , space,
1999 Nov 10
1
read.table problems
Yesterday I asked for help about read.table with a CSV file. I
received the following help. As always many thanks for the prompt
responses. Now I load my csv file in a text editor ( pfe) and delete
all spaces.
My original mail is at the end.
From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
Do you have spaces before the commas in your file?
> Yes, number , space,
2000 Sep 14
3
classed
For a long time now I've been using a function:
classed <- function (x, cls)
{
class(x) <- cls
x
}
as a utility at the end other functions to set the class of an object and return
the object. I've noticed examples where others have been doing a similar thing
and I think it would be a useful addition to R base (unless there is already
something there to do this - it
2000 Jan 31
1
long character data
Hi,
When trying to generate very long strings, my R hangs without any error
message, even if given much memory.
# e.g.
x <- character(10)
for (i in 1:10) x[i] <- paste(1:1000, collapse="abc")
paste(x, collapse="")
# or directly
paste(1:10000, collapse="abc")
Am I violating any max(nchar(character())) or is this a bug?
Regards
Jens Oehlschl?gel-Akiyoshi
2000 Jan 26
1
data.frame[1,1]<- differs from data.frame[[1]][1]<- (PR#403)
I observed the following difference:
> ddd <- data.frame(a=1:3, b=1:3)
# assignment of 'X' silently ignored
> ddd[1,1] <- 'X'
> is.factor(ddd[[1]])
[1] FALSE
> ddd
a b
1 1 1
2 2 2
3 3 3
# assignment of 'X' not ignored
> ddd[[1]][1] <- 'X'
> is.factor(ddd[[1]])
[1] TRUE
> ddd
a b
1 X 1
2 2 2
3 3 3
Regards
> version
1999 Dec 20
1
Manual: writing R Extensions (PR#380)
-- Happy holidays! --
Dear R Development Core Team,
I want to thank you *very much* for the new "Writing R Extensions" manual
published with RW0.901 and hope this is the right place to report some
possible typos.
page 17, example given in the middle of the page, I think it should read
REAL(version) = 3.0;
^^^^^^^
page 23, second example, I think the parameter definition
1999 Dec 20
1
BUG?
Hi,
under RW0.651 and RW0.091
I found
> x <- data.frame(char=I(letters[1:3]), num=1:3, log=c(TRUE, FALSE, NA),
fak=factor(letters[24:26]))
> x
char num log fak
1 a 1 TRUE x
2 b 2 FALSE y
3 c 3 NA z
>
> x[1,1] <- 'a'
> x[1,1]
[1] "1"
>
> x$char[1] <- 'a'
> x$char[1]
[1] "a"
>
>
2000 Jan 26
1
paste with a matrix
Hi,
below is a function which pastes a matrix, but uses parsing
(deparse(substitute()) and eval()).
Does anyone know a more standard solution to pasting a matrix?
Best
Jens
> paste.matrix(dd, sep=" ", collapse=NULL)
[1] "1 a" "2 b" "3 c"
> paste.matrix <- function(mtext, sep=" ", collapse=NULL){
+ rcode <- paste(
+