Displaying 20 results from an estimated 6000 matches similar to: "Running R from a read-only CD"
2009 May 03
2
clear screen?
I?ve been using this routine for several years. I?m sorry, I don?t remember
where I got it. It works as it should, viz. it blanks the R console. But
it requires package rcom and now that requires rscproxy.
cls <-
function ()
{
require(rcom)
wsh <- comCreateObject("Wscript.Shell")
comInvoke(wsh, "SendKeys", "\f")
invisible(wsh)
}
> cls()
2008 Apr 17
1
odfWeave \Sexpr
Dear All,
Using odfWeave is working fine for me using code chunks <<...>>= ... @
But the inline \Sexpr{date()} is not evaluated and returns again
\Sexpr{date()} instead of "Thu Apr 17 18:15:47 2008".
What might be the reason for that, what do I have to look for?
I'm using Windows XP, R 2.6.1, odfWeave_0.7.3 and OpenOffice 2.4.
Session Info:
R version 2.6.1
2008 Mar 18
1
invalid \uxxxx sequence while trying to create a package
Greetings, R-Helpers:
I am trying to build a package on WinXP, something that I have done before,
but infrequently, and have recently updated both the Rtools and the version
of R being used.
My test case fails after successfully creating the compiled html files with
this error message:
.
.
.
Created
c:\DOCUME~1\CHARLE~1\LOCALS~1\Temp\Rbuild142865646\March18\chm\March18.chm,
41,494
2009 May 02
1
compiled help pages
Greetings:
This should be easy but it isn't.
I have a home-brew package that works fine, with compiled html help pages,
all 150 of them. I want to make a similar package but not from scratch
since only a half-dozen routines are changed. So I created a new directory,
copied the old package into it and changed the name to newSTUFF. I changed
the names of all help pages too, as weill
2006 Oct 20
3
R-2.4.0 and MS Vista OS - installing packages
I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4
year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R
is the only non-MS program running.
I cannot install packages from CRAN, nor from local zipped files. (I have
R-2.4.0 installed on a Windows XP machine and have had no problems so the
difficulty seems to be Vista not R, however they aren't
2006 Oct 20
3
R-2.4.0 and MS Vista OS - installing packages
I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4
year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R
is the only non-MS program running.
I cannot install packages from CRAN, nor from local zipped files. (I have
R-2.4.0 installed on a Windows XP machine and have had no problems so the
difficulty seems to be Vista not R, however they aren't
2007 Dec 27
2
Running R from a CD on Windows?
Greetings, R-ians:
Yes it's easy to run R from a CD: I copied my windows installation folder to
the CD, then copied my R working directory to the CD.
To run from the CD, I copy the working directory from the CD to the desktop,
and then create an R desktop icon that points to Rgui.exe on the CD, and
starts in the working directory folder I just copied to the desktop.
The problem is that to
2008 Aug 25
5
How to do a meta-analysis plot
Dear R-list,
I'd like to do a meta-analysis plot similar to
install.packages('rmeta')
require(rmeta)
data(catheter)
a <- meta.MH(n.trt, n.ctrl, col.trt, col.ctrl, data=catheter,
names=Name, subset=c(13,6,5,3,7,12,4,11,1,8,10,2))
summary(a)
plot(a)
(see attached file) by using my own OR (Odds Ratio) and 95% Confidence
Interval data set, which looks like
2009 Aug 26
1
Scripting - sort of
Dear R-ians:
I'm running R2.9.2 on a 6 year old Windows XP DELL with 2 Gig RAM and a 3MHz
Pentium 4 chip.
I've written a package using the User Menus Under Windows commands
(winMenuAdd, etc). It works very well.
I have 6 test cases and running any one of them requires many selections
form the menus and some keyboard entry, and it takes me hours to exercise
them all to see
2008 Jan 26
3
Which R version created a package?
Greetings, R-ians:
I would like to know which version or R was used to create a given package.
I think I remember seeing that topic discussed recently but cannot find it
among my notes. Can anyone tell me how to determine which version of R
created a package?
Thanks.
Charles Annis, P.E.
<mailto:Charles.Annis@StatisticalEngineering.com>
Charles.Annis@StatisticalEngineering.com
2008 Apr 03
1
help with R semantics
Greetings:
I'm running R2.6.2 on a WinXP DELL box with 2 gig RAM.
I have created a new glm link function to be used with family = binomial.
The function works (although any suggested improvements would be welcome),
logit.FC <- function(POD.floor = 0, POD.ceiling =1)
{ if (POD.floor < 0 | POD.floor > 1) stop ("POD.floor must be between zero
and one.")
if
2006 Oct 11
0
FW: impossible escape?
D'oh!
I've been using cat() but somehow never got the bigger picture.
Thanks!!!
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineering.com
-----Original Message-----
From: Marc Schwartz [mailto:MSchwartz at mn.rr.com]
Sent: Wednesday, October 11, 2006 1:45 PM
To: Charles.Annis at
2008 Dec 31
1
cannot load package "splines"
Greetings R-Helpers:
I am trying to help a Chinese colleague who is experiencing difficulty
loading my package. He is running WindowsXP and the Chinese version of
R2.8.1.
As you can see from his screen-copy (below), my package is successfully
unpacked but cannot be loaded because splines balks when attempted to be
loaded. Package mh1823 requires package survival, which in turn requires
2006 Sep 29
3
control L to clear the Rgui screen in Windows
Greetings R-ians:
Searching the Searchable Mail Archives I discovered that ctrl L will clear
the Rgui screen, which is what I'd like to do from a print (or some similar)
statement.
Is there a mechanism to use the ctrl L clear-screen sequence in a script, or
print statement?
Thanks for your counsel.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:?
2006 Mar 05
2
plotting partial deriviatives
Dear R Helpers:
I am trying to annotate a plot. The following code snippet works, but it is
kind of a kludge since it adds the partial derivative symbols after creating
the plotmath frac(). Is there a more elegant way to write a partial
derivative?
dev.off()
plot(NA, xlim=c(-3,3), ylim=c(0,1.6), xlab="", ylab="", tck=-0.015)
text(1.6, 1, expression(paste("slope =
2008 Nov 15
1
HOW to provide a CITATION file?
Greetings, R-ians:
I am sure I am missing something obvious.
How do I provide a CITATION file for my home-brew package, so that it will
be packaged using
R CMD build --binary myPackage?
I have placed a CITATION file in the myPackage directory along with the
DESCRIPTION file, but it is ignored.
Thanks for your guidance.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
2009 Feb 18
1
FW: Can't access CRAN
Dear R-Helpers:
I'm running R version 2.8.1 on a 1 year old HP Pavilion with a AMD Athelon
64 Dual Core Processor 4800+ 2.50GHz chip, Vista Home Premium SP1, and 2 GB
RAM. I can't add packages (even running as Administrator) because I can't
connect to a CRAN mirror.
> chooseCRANmirror()
(After nearly a minute I see the menu, and after any selection I immediately
see)
Warning
2008 Sep 23
4
gsub difficulty
Greetings R-ians:
I know what doesn?t work but I don?t know why, nor how to remedy things.
I have a character string containing "." which I want to replace with " "
gsub(".", " ", file.label) replaces the every character with a blank.
However gsub(".xls", " ", file.label) replaces ".xls" with a blank as
expected.
It appears
2006 Oct 12
2
avoiding a loop?
I have a vector, (not a list)
> repeated.measures.FACTOR.names
[1] "Insp1" "Insp2" "Insp3" "Insp4" "Insp5" "Insp6" "Insp7" "Insp8" "Insp9"
and would like to convert this into a single string
"Insp1,Insp2,Insp3,Insp4,Insp5,Insp6,Insp7,Insp8,Insp9"
I can do that with a loop, but isn't there
2009 Mar 09
2
Cannot update 2.8.1 packages: unable to access index for repository...
I am having trouble updating packages for R 2.8.1 in Windows XP. Note that I *am* able to update packages for R 2.7.0 (see bottom of posting) so this is not an Internet proxy problem. The steps I took were to
(a) Copy over packages from my existing (2.7.0) library subdiretory to the R 2.8.1 library subdirectory. This included a long list of packages including RODBC, rpart, RGraphViz, ggplot2