Displaying 20 results from an estimated 1000 matches similar to: "read.table (PR#1227)"
2001 Dec 13
2
sample (PR#1212)
Full_Name: Antonio Possolo
Version: 1.3.1
OS: Linux (RH 7.1), Windows 2000
Submission from: (NULL) (192.35.44.3)
A FEATURE THAT EASILY GENERATES BUGS
sample(pi, size=1) produces 1, 2, or 3.
sample(c(pi, pi), size=1) produces 3.141593 always.
Although this conforms with the behavior explained in the help page for
"sample",
the behavior for the case where x (in sample(x, ...)) has
2001 Aug 03
2
String Length Limit (PR#1040)
Full_Name: Antonio Possolo
Version: 1.3.0
OS: Linux
Submission from: (NULL) (192.35.44.3)
If one attempts to read a character string from a file using scan,
and the string comprises more than 8190 characters, then the string
is truncated to this length, and no warning is issued.
I've observed this both in the Linux and Win implementations of R 1.3.0.
S-PLUS (v. 6.0 rel. 1 for Sun SPARC0
2003 Apr 07
1
Plot Dates (PR#2737)
Full_Name: Antonio Possolo
Version: 1.6.2
OS: Linux & Windows2000
Submission from: (NULL) (192.35.44.3)
x <- as.POSIXct(strptime(c("1993-5-11", "1994-11-23",
"1995-7-8", "1996-10-15"), format="%Y-%m-%d"))
y <- c(15, 32, 47, 61)
plot(x, y, xlab="Date", ylab="Count")
Warns "parameter
2002 Jan 09
1
bug in read.table?
Hello,
in the new Relase (1.4) i get a different (worser) result for read.table
with as.is=T: it crash!
Input file (t.txt, with a name, 5 character and a numeric column)
Name short kind logable use save lag
m "mo" "x" "n" "1" "n" 0
Ptp "PT" "l" "y" "m" "n" 0
R-Code
2010 Feb 08
2
Error on start R in server
Hello all,
(Thank for your reply)
I have a web-application in Apache Tomcat, when i start R in this
application,
I used packe RSJava
Code
ROmegahatInterpreter interp;
String [] rargs = {"--no-save"};
REvaluator e;
interp = new ROmegahatInterpreter (
ROmegahatInterpreter.fixArgs(rargs),false );
e =new REvaluator ();
Errors
================
R version 2.10.1 (2009-12-14)
2010 Jan 21
2
"stack imbalance in ..." when loading a workspace
Hi all,
I just failed in loading a saved wordspace (13MB of size), and received
these errors:
Warning: stack imbalance in 'missing', 52 then 51
Warning: stack imbalance in 'if', 50 then 53
Warning: stack imbalance in 'as.environment', 57 then 59
Warning: stack imbalance in 'ls', 54 then 53
Warning: stack imbalance in '.Internal', 54 then 53
Warning: stack
2009 May 08
1
anyDuplicated(incomp=NA) fails
With today's R 2.10.0(devel) I get:
> anyDuplicated(c(1,NA,3,NA,5), incomp=NA) # expect 0
Warning: stack imbalance in 'anyDuplicated', 20 then 21
Warning: stack imbalance in '.Internal', 19 then 20
Warning: stack imbalance in '{', 17 then 18
[1] 0
> anyDuplicated(c(1,NA,3,NA,3), incomp=NA) # expect 5
Warning: stack imbalance in 'anyDuplicated', 20 then 21
2007 Feb 23
1
help with RMySQL
Hi R users,
I am using RMySQL to connect to a database in MySQL.
I have 3 questions.
1)When I give the following command
dbListTables(con)
I get the output
stack imbalance in .Call, 142 then 143
stack imbalance in <-, 140 then 141
stack imbalance in {, 138 then 139
stack imbalance in standardGeneric, 126 then 127
stack imbalance in class, 121 then 122
stack imbalance in
2009 Jan 06
2
Strange error message
I'm testing out some changes to survreg and got the following output, the
likes of which I've never seen before:
----------------------------------------------------------------------
R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it
2002 Jan 15
1
Error message in R: stack imbalance
Hello...
I just installed R version 1.4.0 on my laptop running Redhat Linux
7.1. I downloaded the RPM from CRAN and when I try to use a function
I have used on other Redhat systems, I get the following error
message.
--------
> library(qtl)
> gastritis <- read.cross(format="csv",dir="/home/sen/qtl/data/gastritis",
+
2018 Jan 14
0
consolidate three function into one
FAQ 7.22
You must print a ggplot object, for example with
print(m52.2cluster)
For the FAQ, run the line
system.file("../../doc/FAQ")
in R on your computer.
Open up the resulting filepath in your favorite editor and scroll down to 7.22
On Sun, Jan 14, 2018 at 4:21 PM, Ding, Yuan Chun <ycding at coh.org> wrote:
> Hi Bert,
>
> I am sorry to bother you on weekend.
>
2018 Jan 14
2
consolidate three function into one
Hi Bert,
I am sorry to bother you on weekend.
I am still struggling on defining a correct function.
I first defined the function RFS (see below), then run it by provide the two argument.
m52.2cluster <-RFS(inputfile =allinfo_m52, N=2 )
I do not get error message, but no figure displays on screen. I do not know what is going on.
Can you help me a little more on this issue?
Thank you,
2018 Jan 15
2
consolidate three function into one
Hi Richard,
Thank you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen.
Ding
# function to generate RFS curves
RFS <- function( inputfile, N ) {
cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters,
data =
2018 Jan 15
0
consolidate three function into one
That is certainly OK, but you can also just use
print(ggsurvplot(...))
as your final statement.
out <- RFS( ...)
would then return the ggsurvplot object *and* graph it.
Any good R tutorial or a web search will provide more details on function
returns, which you might find useful.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
2018 Jan 15
1
consolidate three function into one
Thank you, your suggestion is simpler and logically better. I had impression that the last object in a function gets returned, so I did not add the print function at the bottom line of the function definition. Returning an object and graph the object are different process, I am a beginner for writing R function and need to find a good guide source about writing R functions. If you know a good
2012 Dec 11
1
Debian packaging and openblas related crash when profiling in R
Hello R-sig-debian and (hopefully) Dirk:
On Debian wheezy, I have the R packaging that CRAN (you) provide. I
run into a little trouble while trying to fiddle with alternative
BLAS.
I know you and I went around on this last year and I think perhaps
I've found something wrong in the framework, or I've just done
something wrong.
I installed the packages openblas-base and openblas-dev, and
2002 Jan 03
1
type.convert() (PR#1236)
Full_Name: Don Sun
Version: 1.4.0
OS: Red Hat Linux release 6.2
Submission from: (NULL) (204.178.20.14)
> type.convert(letters[1:2],as.is=T)
stack imbalance in internal type.convert, 7 then 6stack imbalance in .Internal,
6 then 5
[1] "a" "b"
Error: unprotect(): stack imbalance
> version
_
platform i686-pc-linux-gnu
arch i686
os
2006 Oct 01
1
stack imbalance in contour
I'm not sure if this has much significance or not -- but
it sounds rather ominous. It doesn't appear to be new
as it happens with 2.0.0 in Linux (but the formatting of
the warning messages has improved).
> contour(array(3e10, c(10,10), list(1:10, 11:20)))
Warning: stack imbalance in 'contour', 20 then 24
Warning: stack imbalance in '.Internal', 19 then 23
Warning:
2010 Jul 23
5
UseR! 2010 - my impressions
Dear UseRs!,
Everything about UseR! 2010 was terrific! I really mean "everything" - the tutorials, invited talks, kaleidoscope sessions, focus sessions, breakfast, snacks, lunch, conference dinner, shuttle services, and the participants. The organization was fabulous. NIST were gracious hosts, and provided top notch facilities. The rousing speech by Antonio Possolo, who is the chief
2013 Mar 01
1
.Call interface: Use R SEXP as C mutable *char
Dear R Developers,
DISCLAIMER: I am new to package development in R and new to this list.
I am trying to do something along the lines of:
SEXP test_fun (SEXP filename) {
const char *inputfile = translateChar(STRING_ELT(filename, 0));
int abc = some_function(inputfile);
...
}
The code compiles fine, but I get a warning:
"passing argument of 'some_function' discards qualifiers