Displaying 20 results from an estimated 10000 matches similar to: "Turning windows screen buffering on and off"
2004 Sep 14
2
R CMD SHLIB setup problem...
All,
When I try and compile a shared library (on WinXP) I get the following
error:
E:\data\proj>R CMD SHLIB toy_dll.c
Makevars:1: *** missing separator. Stop.
Has someone else had this error and fixed it?
This code compiles and works fine on Linux (fedora core 2). Everything
was working fine under R1.8.1 but I've broken something when I upgraded
to R1.9.1.
So I am assuming
2003 Aug 25
1
ODBC Oracle access
Hi all,
I'm having trouble connecting to an oracle database using RODBC under
winXP. Unfortunately I can't really send a reproducable error as the
initial call to odbcConnect seems to hangs R and I have to kill the
session.
I have been using RODBC to sucessfully connect to an MS Access DB that
has tables linked through to the oracle database in question and that
seems to work OK but it
2002 Dec 13
2
xyplot {lattice} bug causes crash (PR#2370)
Full_Name: Toby Patterson
Version: 1.6.0
OS: winXP
Submission from: (NULL) (140.79.2.3)
I seem to be able to cause a predictable crash (i.e. the application terminates
abnormally) in R using the library lattice. If I have
x<-cbind(1:10,c(rep(1,7),rep(2,3)),rnorm(10))
library(lattice)
xyplot(x[,1]~x[,3]|x[,2])
# works oK but reversing the ylim entries i.e.
2003 Feb 03
2
plot.gam for glm objects.
All,
I was wondering if someone had come across the problem of producing partial
regression plots for glm objects in R?
When using Splus in the past I have passed glm objects to the plot.gam
function.
To my knowledge this functionality isn't included in R ( I would be happily
corrected here) and if someone had some code floating around to do this it
would save me re-inventing wheels etc.
2020 Apr 10
2
missing binaries in R-devel windows snapshot 78175
> On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark (Data61, Hobart)
> <Mark.Bravington at data61.csiro.au> wrote:
> >
> > The "r-devel snapshot build" 78175 on Windows--- a dot-exe installer--- seems to be missing a couple of files in its bin/i386 folder: Rterm.exe and Rgui.exe. Both are present in its bin/x64 folder (and in the i386 folder for current R).
From:
2004 Aug 10
1
date axes and formats in levelplot
Hi all (and particularly Deepayan),
A while back Deepayan helped me with the query in the text below (thanks
again). Specifically it was about changing the way that dates plotted on
the axes of lattice plots.
While this works using xyplot, everything comes apart when I use
levelplot. The axis labels on the date axis are shown as the integer
representation of the date (number of seconds since
2020 Apr 10
3
missing binaries in R-devel windows snapshot 78175
>>>>> Jeroen Ooms
>>>>> on Fri, 10 Apr 2020 08:54:39 +0200 writes:
> On Fri, Apr 10, 2020 at 2:42 AM Bravington, Mark (Data61,
> Hobart) <Mark.Bravington at data61.csiro.au> wrote:
>>
>> > On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark
>> (Data61, Hobart) > <Mark.Bravington at data61.csiro.au>
2020 Apr 09
2
missing binaries in R-devel windows snapshot 78175
The "r-devel snapshot build" 78175 on Windows--- a dot-exe installer--- seems to be missing a couple of files in its bin/i386 folder: Rterm.exe and Rgui.exe. Both are present in its bin/x64 folder (and in the i386 folder for current R).
NB the lack of i386/Rterm.exe affects even the x64 version, since package installation seems to use it for testing loadability under both architectures
2003 Feb 25
3
cat in windows vs linux
Hi all,
Easy question for you (which I failed to find the answer to in the FAQ etc). I've recently been forced to switch from linux to windows (currently windows NT), and my usual habit of putting lots of "cat" statements in slow functions to get an idea of the progress rate is no longer useful. Why -- because R waits until the function is completely finished before printing the cat
2004 Sep 20
1
findInterval in compiled code.
Hi all,
I am writing some C code where I want to use the findInterval function
documented in "Writing R extensions/Utility functions". i.e. the
C-version not the R version.
It all compiles but the shared library is causing seg-faults and I'm
obviously stuffing something up.
Has anyone got any examples of calling this function they'd be will to
share? I've searched through
2004 Jul 05
1
date Axes and formats in lattice plots
All,
I have some data of animal movements that I'm plotting using xyplot() from lattice. I want to have the date (class POSIXct object) on the Y-axis and the animals longitude on X-axis.
Eg.
xyplot(date ~ longitude, groups = animal, data = my.data)
with data like:
animal ptt year month day lon date
125 03P0014 13273 2003 7 10 150.38 2003-07-10 14:03:48
126
2004 Oct 05
4
cat function within a loop
I have a 'cat' function within a for loop.
I would like it to print out the result everytime it goes through the
for loop so that I can monitor the progress, but it only prints out
(execute the cat function) once at the very end of the for loop.
A simple example:
for(i in 1:100000){
cat(i, '\n')
}
What should I do in order for the cat function to be executed
everytime it goes
2005 Mar 31
2
Using kmeans given cluster centroids and data with NAs
Hello,
I have used the functions agnes and cutree to cluster my data (4977
objects x 22 variables) into 8 clusters. I would like to refine the
solution using a k-means or similar algorithm, setting the initial
cluster centres as the group means from agnes. However my data matrix
has NA's in it and the function kmeans does not appear to accept this?
> dim(centres)
[1] 8 22
> dim(data)
2003 Jul 10
1
Add a legend to a pairs plot??
All,
Can someone tell me if it is possible to add a legend to a plot produced
with pairs()?
I have an example akin to plotting the iris data given in the pairs help
and would like to show what the symbols refer to somewhere.
Thanks.
2008 Apr 30
3
How to stop buffering of "cat"
Hi All,
My R code takes very long time to finish the processing. I want to see at
what stage the script is running. So I wrote some output messages using cat.
But instead of displaying the cat messages at different stages they are
buffered and displayed in the end when entire processing is done.
Can you please suggest how to stop this buffering or some alternative way to
display messages
Thank
2008 Nov 10
3
how to stop without error message?
Dear list
Can anyone suggest a simple way to abort execution like stop(...) does, but without issuing an "Error: ..." message?
I don't want to set 'options( show.error.messages=TRUE)' because I want normal behaviour to resume after this particular stop.
(Please reply personally as well as to the list, as I'm not subscribed to R-help)
Thanks
Mark
--
Mark Bravington
2002 Jul 01
1
Assignment operators (was [R] modifying a vector)
Bill Venables expected howls of protest about deprecation of underscore for
assign. Here's my one-and-only howl on this point:
(1) I don't like <- as an assignment operator, because it creates an
ambiguity with comparisons: I can write "x+1", "x-1", "x<1" but not "x<-1".
However, I guess it's a bit much to expect the entire R/S
2003 Oct 02
2
Plot can't forget bad parameters
When I give plot some bad paramaters, it keeps giving me error messages
forever after. I think the last time this happened, I even got the
error messages for completely unrelated, non-graphical functions.
Here's a recent example:
> plot(it[[31]][,c(1, 3)], type="b", usr=c(0, 20, -20, 5))
Warning messages:
1: parameter "usr" couldn't be set in high-level plot()
2004 Sep 08
3
having trouble building r-devel
Dear R-devel
On my Windows 2000 machine, I can build R-patched but not R-devel (since at least 1/9/2004). An error message pops up during the execution of some R code during "make", as below. In terms of "make" etc., I am totally clueless (not being a user of either Linux or C) and just mechanically follow the instructions in the R documentation; hence I've got no idea
2003 Mar 26
2
predict (PR#2685)
There is a bug in `predict' whereby the order of variables sometimes gets
re-arranged compared to the original fit, and then disaster results.
Specifically, the 'variables' and 'predvars' attributes of a 'terms' object
get out of synch. This only happens when the terms in the original formula
get re-ordered during fitting:
test> scrunge.data_ data.frame(