Displaying 20 results from an estimated 7000 matches similar to: "RGUI font problem (PR#7749)"
2007 Dec 11
5
book on regular expressions
Hello,
Could someone recommend a good book on regular expressions with focus on
applications/use as it might relate to R. I remember there was a mention of
such a reference book recently, but I could not locate that message on the
archive.
Thanks.
-Christos
Christos Hatzis, Ph.D.
Nuvera Biosciences, Inc.
400 West Cummings Park
Suite 5350
Woburn, MA 01801
Tel: 781-938-3830
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I
can use in other sessions. Although I could 'Load Workspace" these files,
most of the times I prefer attaching them. It would be really convenient to
have a menu item under the File menu on the Windows R Console to allow
attaching workspaces, e.g.
--------------------
Attach Workspace...
Load Workspace...
Save
2006 Dec 04
2
Library file for the R engine in Windows?
Hi,
I am trying to use dynamic memory allocation in the C code to be called by R
through the .C interface.
I have used R_alloc as explained in the Writing R Extensions and included
the R.h header.
The program compiles fine but fails when linking. Obviously it needs a
library file where R_alloc is found.
I have tried to link by adding R.dll to list of files at the end of the link
command but
2007 Feb 01
3
Lining up x-y datasets based on values of x
Hi,
I was wondering if there is a direct approach for lining up 2-column
matrices according to the values of the first column. An example and a
brute-force approach is given below:
x <- cbind(1:10, runif(10))
y <- cbind(5:14, runif(10))
z <- cbind((-4):5, runif(10))
xx <- seq( min(c(x[,1],y[,1],z[,1])), max(c(x[,1],y[,1],z[,1])), 1)
w <- cbind(xx, matrix(rep(0, 3*length(xx)),
2006 Oct 26
3
help fo finding R package "utils"
Sir I have a problem that from which country i can assess R package "utils"
for data entry for loading it in R
Please help me in this regard.
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493@gmail.com
amna_989@hotmail.com
amna_989@yahoo.com
[[alternative HTML version deleted]]
2004 Oct 12
1
(PR#7277) Re: strange windows behaviour after changing
I can reproduce this in MDI. Another clue is that as the pager for
?merge is opened, the font in the console changes.
The console is still working: commands you type in it are accepted.
So the issue appears to be that the font in use has been changed
incorrectly (and it seems that the C code thinks it has been changed in
the preferences dialog).
On Tue, 12 Oct 2004, Duncan Mackay wrote:
2006 Dec 24
2
how to 'get' an object that is part of a list
This might be an trivial thing but I am stuck.
Consider:
xx <- list(a=1:5, b=letters[1:5])
Although object xx is accessible through its name,
how can object xx$b be accessed similarly through its name?
> get("xx")
$a
[1] 1 2 3 4 5
$b
[1] "a" "b" "c" "d" "e"
> get("xx$b")
Error in get(x, envir, mode, inherits)
2006 Oct 24
2
Plotmath expression
Hello,
I've been trying to plot a subscript in a text formula using plotmath but I
haven't been able to do so.
In my example below I would like the text label to show
X[min] = 10.1 +/- 5.5
Here is the code:
ll <- c(x=10.1, sde=5.5)
plot(1:10)
text(x=9, y=2, pos=2, expression(paste(X[min], "=", paste(ll,
collapse="+/-"))))
This works fine up to the inner paste
2003 Apr 23
2
changing dir. to network drive crash Rgui on NT4 ( PR#282 8)
This is interesting: The crash does not happen if I run
Rgui in MDI mode. The crash seemed to only occur in SDI.
Andy
===========================================================
For the record:
Under Rgui, using the menu "File / Channge dir..." to change
to a network drive crashes rgui. The crash happens if I
browse to a folder on a mapped drive. I.e., if I type in
2007 Feb 07
2
blank upper or lower triangle of cor-matrix
Dear altogether,
I want to blank the lower (or upper) part of a correlation matrix as it
is done by dist()
example:
( d <- cor(matrix(runif(12),nrow=4)) )
If I do the following
d[lower.tri(d)] <- ""
of course everything is changed to character - that's not what should be.
Additionally, it does not work to assign "0" or anything else. The same
is true for
2001 Apr 29
4
Rgui crash (PR#926)
Full_Name: Byron Ellis
Version: 1.2.3
OS: Windows 2000 Server
Submission from: (NULL) (140.247.105.95)
In Rgui when attempting to resize the console the system locks for a second
(cursor locks up, etc) and then either returns to normal for a second before
crashing or just crashes when we start moving again (the former happens more
often when making things bigger, the latter when the console is
2006 Dec 03
1
passing matrix as argument to a C function
Hi,
Although this is not directly an R-related question, it is relevant as I am
trying to port some R code to C to speed things up in a computation.
I am working through my first attempts to generate and link compiled C code
in R. I could make the 'convolve' function to work and similar functions
that take vectors as arguments. In my application I need to pass a couple
of matrices to
2009 Sep 10
1
importing/loading package without a namespace
I am developing a package that imports some functions from another package.
The imported package (qcc) does not have a namespace and this is causing
problems with loading of my package, which has a namespace. Is there a
workaround to allow loading the namespace-less package?
I searched the archives and found a suggestion that the package should be
included in the Depends list, but this has not
2009 Nov 13
4
Installing R on RedHat EL 5
Hi,
I am totally new to Linux and trying to install R and related tools. I
downloaded the rpm files for el4/x86_64 from the CRAN repository and
tried to run rpm but it did not go through complaining about
dependencies.
Do all the listed rpm files need to be installed? What is the order in
which these need to be installed?
I appreciate any help with this or any suggestions for alternate ways
2006 Nov 20
2
predict.coxph
Hi everyone,
Can anyone give me more details about the 'lp', 'risk', 'terms', and 'expected'
options from the predict.coxph function?
I actually found that risk is obtained from exp(lp). I can't find information on
'expected' type however. Is anybody can expand the information on this function?
Thank you in advance, I will appreciate it.
2006 Jul 17
10
String manipulation and formatting
I'm trying to write a simple function that does the following:
[command] xify(5.2)
[output] XXX.XX
[command] xify(3)
[output] XXX
Any simple solutions (without using python/perl/unix script/...)?
Thanks,
Saghir
---------------------------------------------------------
Legal Notice: This electronic mail and its attachments are i...{{dropped}}
2003 May 13
6
R crashes when resizing windows (PR#2992)
Full_Name: Gavin Alexander
Version: 1.7.0
OS: Win2000
Submission from: (NULL) (130.209.6.40)
When I resize the R-GUI console window by dragging an edge and drag for more
than a second or two, R crashes. The program exits, leaving a pop-up "Program
Error" box with the message:
"Rgui.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An
2009 Apr 09
3
type.convert (PR#13646)
Full_Name: Stefan Raberger
Version: 2.8.1
OS: Windows XP
Submission from: (NULL) (213.185.163.242)
Hi there,
I recently noticed some strange behaviour of the command "type.convert",
depending on the startup mode used. But there also seems to be different
behaviour on different PCs (all running the same OS and the same version of R).
On PC1:
When I start R in SDI mode (RGui --no-save
2008 Sep 25
6
Conversion to Binary (base2)
Hello,
Is there a simple way to take an input, and convert the decimal integers to
binary? In this case, I have a CSV file, and I need to convert the first
column of every line to binary.
Thanks.
--
Jason Thibodeau
[[alternative HTML version deleted]]
2005 Mar 22
5
Convert timeseries to transition matrix
Hi All,
Does someone have an idea of how to cleverly convert a categorical
timeseries into a transition matrix?
Ie, I have something like:
x<- c(1,1,2,1,1,2,2,2,1,2),
And I want a matrix with counts and/or probabilities:
> tr <- matrix(c(2,3,2,2),2,2)
> tr
[,1] [,2]
[1,] 2 2
[2,] 3 2
Meaning that there are two transitions from 1 to 1, two from 1 to 2, three
from 2 to 1