Displaying 20 results from an estimated 300 matches similar to: "cpu usage high with windows change dir / winDialogString (PR#11045)"
2008 Mar 29
0
cpu usage high with windows change dir / winDialogString (PR#11051)
On 28/03/2008 12:05 PM, seanpor at acm.org wrote:
> Good afternoon,
>
> This is possibly a windows only bug, definitely of comparatively low
> importance - but for the sake of completeness here we go. I've
> searched http://bugs.R-project.org/ etc., but can find no mention.
>
> For RGui.exe, the CPU usage goes to 100% for certain dialog boxes for
> the duration that
2007 Aug 07
2
backslash c
How do I get output with "\color{blue}", i.e. with
only one backslash???
> "\color{blue}"
[1] "color{blue}"
Warning messages:
1: '\c' is an unrecognized escape in a character
string
2: unrecognized escape removed from "\color{blue}"
> "\\color{blue}"
[1] "\\color{blue}"
>
Any help greatly appreciated.
Best regards,
2003 Oct 15
3
r-ish ? how can i improve my code?
Hi Folks,
I'm trying to learn R. One of my intentions is to do some Monte-Carlo
type modelling of road "accidents".
Below, to simplify things, I've appended a little program which does a
'monte-carlo' type simulation. However, it is written in a way which
seems a bit un-natural in R. Could someone help me make this a bit more
R-ish please?
Or is there a
2007 Dec 30
3
Date formats
Is the following expected behaviour for a date used in
an ifelse function?
> date <- Sys.Date()
> date
[1] "2007-12-30"
> ifelse(TRUE, date-1, date)
[1] 13876
> ifelse(FALSE, date-1, date)
[1] 13877
> ifelse(TRUE, as.character(date-1), date)
[1] "2007-12-29"
> if (TRUE) {date}
[1] "2007-12-30"
It would seem more natural to me if a date produced
2013 Sep 16
1
Patch: fix segfault from empty raster
Hi,
A colleague recently came across an R crash, which I can boil down to
the following, running under Rgui on Windows 7:
library(ggplot2)
ggplot(data.frame(x=1, y=1, z=4.7), aes(x, y, z=z)) + stat_summary2d()
This reliably causes a segmentation fault. sessionInfo() below.
What's happening is that (for reasons which I'll discuss with the
ggplot2 developers) the 'colorbar'
2011 Oct 01
1
error using ddply to generate means
Dear list,
I encounter an error when I try to use ddply to generate means as follows:
fun3<-structure(list(sector = structure(list(gics_sector_name = c("Financials",
"Financials", "Materials", "Materials")), .Names = "gics_sector_name",
row.names = structure(c("UBSN VX Equity",
"LLOY LN Equity", "AI FP Equity",
2010 Oct 20
1
need for speed on grid.rect
When I use grid.rect to print a multi-coloured grid, it is incredibly slow compared to a single colour grid, or even a two colour grid.
I've set out some simplified examples below. This is something I run literally thousands of times a day, so I would greatly appreciate any hints on how I might improve the speed???
library(grid)
pushViewport(viewport(
width = unit(100,
2012 Jan 06
1
ggplot using scale_x_date gives Error in seq.int(r1$year, to$year, by)
Dear all,
ggplot gives me an error when trying to plot time series data using a
date variable as the x axis.
g<-structure(list(Date = c("2011-12-23", "2011-12-30", "2012-01-06",
"2011-12-23", "2011-12-30", "2012-01-06", "2011-12-23", "2011-12-30",
"2012-01-06"), variable = structure(c(1L, 1L, 1L, 2L, 2L,
2007 Sep 30
1
clipping viewports
Dear useRs,
Why are the rotated blue and yellow boxes in the example below clipped outside of 6 x 6 inch window in the middle of the page?? Where does the 6 x 6 inch window come from? I would like to make use of the entire page.
> library(grid)
> pdf(file = "FarmMaps.pdf", paper = "a4")
> pushViewport(viewport(
+ width = unit(7.6, "inches"), height =
2005 Apr 12
5
patch to add a menu item in Rgui for RSiteSearch
Please consider adding the following to the next R release (I understand
that it's too late for R-2.1.0). It adds the menu item `Search R Site' in
the `Help' menu in Rgui (which calls RSiteSearch() on the input string).
Best,
Andy
--- R-beta/src/gnuwin32/rui.c 2005-03-06 09:41:40.000000000 -0500
+++ R-beta-new/src/gnuwin32/rui.c 2005-04-12 08:21:55.001824500 -0400
@@ -65,7 +65,8 @@
2008 Mar 19
1
running balance down a dataframe referring back to previous row
Good morning, I've searched high and low and I've tried many different ways
of doing this, but I can't seem to get it to work.
I'm looking for a way of vectorising a "running balance"; i.e. the value in
the first row of the dataframe is zero, and following rows add to this
running balance. This is easy to write in a loop, but I can't seem to get
it working in
2012 Mar 14
2
Moore-Penrose Generalized determinant?
Is there a function in R to calculate the generalized determinant of a
singular matrix? - similar to the ginv() used to compute the generalized
inverse.
I can't seem to find any R related posts at all.
Thanks in advance,
Sean O'Riordain
Trinity College Dublin
--
View this message in context: http://r.789695.n4.nabble.com/Moore-Penrose-Generalized-determinant-tp4471629p4471629.html
Sent
2007 Dec 12
1
eliminating cancel button in winDialogString call
I would like to use the function winDialogString to get input from a user to
a program but would like to eliminate the cancel button option and just have
the OK button appear. The problem is that if a user enters data then
accidently hits Cancel instead of OK, the program may either run incorrectly
or quit due to the error of having NULL for a variable. I can think of some
unsophisticated ways
2008 Dec 01
1
trivial spelling correction
Good evening,
Spotted a very minor spelling mistake in the source for the grep help.
And thanks to R-Core for all their work - it's a tribute to R-Core,
that these sort of "problems" are rare indeed.
Best regards,
Sean O'Riordain
Dublin
sean at sean7:~/R/RSVN/R/trunk/src/library/base/man$ svn diff
Index: grep.Rd
2005 Aug 09
2
connexion problem getHdata (HMisc)
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Hi
Just installing R and some
2010 Sep 18
0
Saving long character variable to database saves timestamp instead
When saving a data frame with long character variable, approximately longer
than 30000 characters, to a text field in PostgreSQL, using RODBC on Windows
XP, I get a timestamp saved to the database instead. Is there any way to
extend the number of characters that a text variable can receive?
Here are the details of my case (simplified):
I'm using PostgreSQL to create a table
CREATE TABLE
2003 Jun 12
2
R_PHP_Online version 0.2 with Security Fix
Hi all,
Thanks to Dr Paul Murrell in New Zealand to remind me of security
consideration.
I am releasing version 0.2 with security fix. This version will allow
you to add banned R function names in a list.
R_PHP_Online is a PHP CGI web interface to run R programs online, with the
capability to show graphics online.
You can get current version of R_PHP_Online from
http://steve-chen.net/R_PHP/
2006 May 11
4
data input strategy - lots of csv files
Good morning,
I have currently 63 .csv files most of which have lines which look like
01/06/05,23445
Though some files have two numbers beside each date. There are
missing values, and currently the longest file has 318 rows.
(merge() is losing the head and doing runaway memory allocation - but
thats another question - I'm still trying to pin that issue down and
make a small repeatable
2013 Nov 01
5
cat with backspace and newline characters
Hi,
when mixing newline and backspace characters I get the following output
(see below). In the second call, the backspace character is simply not
applied. Is this normal behaviour?
Thank you.
> cat("abc\b")
ab> cat("abc\b\n")
abc
>
[[alternative HTML version deleted]]
2010 Mar 09
1
rJava works on karmic for root but not for user sean
Good afternoon,
A strange one - library(rJava) works for root but not for user sean
On 64-bit Ubuntu 9.10, using R as root (sudo -i), I can say
library(rJava)
and it works fine with no error message of any kind. But logged in as
myself user "sean", it can't start...
sean at SeansPC:~$ R --no-save --vanilla
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for