Displaying 20 results from an estimated 10000 matches similar to: "System slow down (PR#3668)"
2004 Jan 09
2
strange behaviour when converting from char to POSIX (PR#6422)
Full_Name: Christoph Schmutz, MeteoSchweiz, Switzerland
Version: R1.7.1, R1.8.1
OS: windows2000, solaris sunOS 5.8
Submission from: (NULL) (141.249.133.6)
I'm not sure if I don't get the clue, but please consider this:
> strptime("19930870150","%Y%j%H%M")
[1] "1993-03-28 01:50:00"
> strptime("19930870250","%Y%j%H%M")
[1]
2005 Feb 07
2
sys.on.exit not working (PR#7665)
Full_Name: Mark Bravington
Version: 2.0.1
OS: Windows XP
Submission from: (NULL) (140.79.22.104)
'sys.on.exit()' doesn't seem to be working, since R1.7.1 at least:
soe.test <- function() {
on.exit( cat( 'In exit code\n'))
str( sys.on.exit()) # should display "language..." I think
12
}
(A similar bug was apparently fixed for version 0.65!)
2003 Aug 12
3
Sorting a dataframe
Undoubtedly a simple question:
I've looked at order() and sort() in the help pages for
R1.7.1. It doesn't appear that these functions are immediately
suited to doing the same thing as
PROC SORT DATA = BLAH;
BY X Y Z;
RUN;
in SAS. I have also checked Frank Harrell's Hmisc library.
Could someone point me in the right direction so I can sort
by the levels of Z within the levels of
2003 Jul 17
1
Matrix Multiplication
R1.7.1/Win2k:
Apologies if this posts twice - the first message
was not in plain text.
I have looked in help.start() and tried typing
"crossprod" and "%*%" into the RGui to get an idea
for what R is using as internal algorithms for
its matrix computations/manipulations... to no
avail.
Could someone point me in the direction of some
documentation? All I get for
2004 Feb 11
3
RGui (Windows) crashes after use of a Salford Fortran DLL
Anybody out there successfully using the Salford Fortran compilers
with R?
I have created a DLL using the Salford FTN95 compiler and it works
in as far I can dyn.load it, run the routines and get the right
answers back. Unfortunately subsequently, sometime later, the
Rgui crashes (access violation I think from the DrWatson log). The
crashes depend on whether or not I paste the code as one
2003 Oct 05
3
stepAIC problem
Dear R-users
I have a probelm running stepAIC in R1.7.1
I wrote a program which used stepAIC as a part of it,
and it worked fine while I was using the previous version of
R1.7.0. However, I found the program did not work any more.
Now, R produces a message which tells
"Error in as.data.frame.default(data) :
can't coerce function into a data.frame" every time I
run the part of
2005 Feb 15
1
reading a 40kb csv file in R
I am trying to read a matrix of 5000*2000 from a csv
file of real numbers in R using the scan function. I
am getting an error saying that R can not read a
vector > 32KB and it can't allocate a memory of 191 MB
etc.
What should I do. I am using R1.7.1.
Thanks
=====
Thanks
Fairouz Makhlouf
2004 Oct 04
2
call step inside a function
I am wondering why my function works fine in R1.7.1 and R1.8.1 but not in
R1.9.0. I thought it's an environment related problem but I can't solve it.
>data
weta jd
1 1 4
2 2 13
3 2 13
4 6 4
5 1 3
6 1 7
7 2 10
8 3 10
9 1 8
10 1 8
11 3 6
12 1 9
13 1 5
14 1 1
15 3 13
16 1 2
17 2 2
18 7 11
19 1 3
20 5 4
2003 Sep 14
1
reading in a file with multiple data types
Hi,
I have a data file which contains multiple data types
(char and numeric) alongside with line spaces, tabs
and spaces. I hope to extract out the numeric blocks
of the data, probably as matrices or dataframes where
each line in the data block is a corresponding row in
the dataframe/ matrix.
I have tried using many R read functions but they do
not seem to yield the appropriate structure that
2004 Jan 09
0
strange behaviour when converting from char to POSIX (PR#6423)
What exactly is strange, apart from posting a question as a bug report?
Please do read the R FAQ and don't misuse R-bugs to ask questions.
Hint: you most likely specified a non-existent time. When did your locale
switch to DST in 1993? I don't know, of course (you haven't told us your
locale) but I bet it was that day. That means the time you specified does
not exist if your locale
2003 Oct 09
1
Scoping rules
Dear List members:
I'm using R1.7.1 (Windows 2000) and having difficulty with scoping.
I've studied the FAQ and on-line manuals and think I have identified
the
source of my difficulty, but cannot work out the solution.
For the purposes of illustration. I have three functions as defined
below:
fnA <- function(my.x)
{
list(first=as.character(substitute(my.x)), second=sqrt(my.x))
}
2005 Feb 08
1
Windows Printing and Line Widths
Hi all,
I develop and print from both Windows and Linux, and am seeing some
printing inconsistencies first described about a year and a half ago by
Andy Liaw (see below). Specifically, the line widths on my windows plots
are about 5 times smaller than that on Linux, and my windows printouts
do not match what my screen looks like. However, if I print to a pdf
file first, then I can get accurate
2003 Oct 24
2
possible win.metafile( ) problem?
R1.8.0, Win2k:
When I run the code
lset( list( background = list(col = "white")))
xyplot
(
y ~ TIME , data = foo.frame,
scales = list(alternating = FALSE),
ylim = c(.75,y.max),
panel = function(x, y, panel.number, ... )
{
panel.superpose(x = foo.frame$TIME[foo.frame$group == 1],
y = foo.frame$y[foo.frame$group == 1],
subscripts = TRUE,
groups =
2003 Jun 23
2
Lwd ignored when printing on Windows
Dear R-help,
Has anyone notice the problem that, on Windows (NT and XP), when printing a
graph using the "File -> Print..." menu in the graphics window to print the
graph, that line width seemed to be ignored in the printed output? For
example, if I make a plot with plot(1:10, type="l", lwd=5), it looks right
on screen, but when printed out using the menu, it looks like
2008 Nov 16
3
chisq.test with simulate.p.value=TRUE (PR#13292)
Full_Name: Reginaldo Constantino
Version: 2.8.0
OS: Ubuntu Hardy (32 bit, kernel 2.6.24)
Submission from: (NULL) (189.61.88.2)
For many tables, chisq.test with simulate.p.value=TRUE gives a p value that is
obviously incorrect and inversely proportional to the number of replicates:
> data(HairEyeColor)
> x <- margin.table(HairEyeColor, c(1, 2))
>
2003 Jun 23
4
potential r bug (floor)
Hi,
I noticed the following bug while using R version 1.7.0 for Windows (and
Linux):
> floor(log10(1000))
[1] 2
>
Here are my start-up messages:
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()'
2003 Aug 29
2
Lattice plot questions
Win2k, R1.7.1:
I am currently working with some growth curve data from a
biotoxicology experiment. Each of 12 subjects had their blood
drawn at 0, 2, 4, 6, 8, and 10 weeks. For the purposes of the
project, it would be helpful if I were able to do the following:
a. Produce 12 panels, each displaying the *same* data, with
the "strip" at the top of a particular panel showing
2003 Jun 26
3
degrees of freedom in a LME model
Dear All,
I am analysing some data for a colleague (not my data, gotta be published
so I cannot divulge).
My response variable is the number of matings observed per day for some
fruitlies.
My factors are:
Day: the observations were taken on 9 days
Regime: 3 selection regimes
Line: 3 replicates per selection regime.
I have 81 observations in total
The lines are coded A to I, so I do not need
2003 Jul 09
2
Packages, generics, S3 and S4
My question has two parts.
The first is with regard to the frame or environment in which generic
functions are defined in packages. It seems as though they are defined
(i.e. exist as objects) in frame 1, even when defined in a package.
The following is a short example:
setClass("track",representation(x="numeric",y="numeric"))
plotTrack <- function(x,y,...)
2006 Nov 25
3
OT: P(Z <= -1.46).
In checking over the solutions to some homework that I had assigned I
observed the fact that in R (version 2.4.0) pnorm(-1.46) gives
0.07214504. The tables in the text book that I am using for the
course give the probability as 0.0722.
Fascinated, I scanned through 5 or 6 other text books (amongst the
dozens of freebies from publishers that lurk on my shelf) and found
that some agree with R