Displaying 20 results from an estimated 1000 matches similar to: "clear screen?"
2012 Mar 31
3
clear console
hi,
I use R - 2.15(32bit), and want to make a code to clear a console.
Actually, I used to run following code to do that but after update the
version of R from 2.14 to 2.15, it doesn't work.
cls <- function (t) {
require(RDCOMClient)
wsh <- COMCreate("Wscript.Shell")
wsh$SendKeys("\f")
invisible(wsh)
}
cls()
or
cls <-
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 11
6
is there a formatted output in R?
something like "sprintf" in C?
so I can do:
print(sprintf("the correct result is %3.4f\n", myresult));
-------
Also, I am desperately looking for a "clear console screen" function in
R...
thanks a lot!
[[alternative HTML version deleted]]
2007 Dec 14
4
rcom close Excel problem
Hello,
I just discovered that I cannot close the Excel application and task
manager shows numerous copies of Excel.exe
I tried both
x$Quit() # shown in the rcom archive
and
x$Exit()
and Excel refuses to die.
Thank you very much.
S.
"You can't kill me, I will not die" Mojo Nixon
I also have a problem with saving. It produces a pop-up dialog and
does
not take my second
2009 Aug 18
2
(no subject)
Dear all,
I have a problem with the function read.xls from the gdata package, error message see below. Two examples:
First, I try to read my data, which does not work;
Secondly, I tried the example code/data with the Iris data, which worked
Any idea?
Thanks,
Lars
> path<-"I:/subProjects/bh/HPGD/"
>
> setwd(path)
>
> xls <- "Platten_Liste_090421.xls"
2010 Apr 29
1
UpdateLinks = FALSE
Hi,
I'm reading 100s of excel files and many of them contain links to external files (I hate that, but that aside). Every time such a file is opened, a menu pops up asking if I want to update the links. I never want to update the links. I used the macro recorder to see what code would be needed to suppress that message, but to no avail (I tried more variations, but one attempt is shown
2009 Mar 12
1
read.xls and name of worksheet
Hi,
I would like to some excel files with some worksheets. I tried this with
the following R script:
library(gdata)
i<-1
rc<-0
while(rc != "try-error") {
wksh<-try(read.xls("cluster-microarray-FW.xls",sheet=i,verbose=TRUE,perl="perl"))
rc<-class(wksh)
print(sprintf("------- i=%2d rc=%s ---------------",i,rc))
if (rc !=
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
2009 May 05
1
self organizing map advice for categorical data
Hello,
Could anybody offer any advice about implementing a Kohonen self organizing map for categorical data? Specifically I am wondering if there are any pre-existent packages that can deal with categorical data and/or how one would compare the input vector of categoricals with the self organizing map nodes.
Thanks in advance.
George Chen
----- Original Message -----
From: r-help-request at
2009 May 09
1
sqlSave()
Hi all: I have created a MS Access table named 'PredictedValues' through the statement below:
myDB <- odbcConnectAccess("C:/Documents and Settings/Owner/Desktop/Rpond Farming.mdb",uid="admin",pwd="")
sqlSave(myDB,PredictedValues,rownames=FALSE)
close(myDB)
But if I run the code again with new values I get the message below:
Error in sqlSave(myDB,
2009 May 25
1
Running R from a read-only CD
Dear R-helpers:
I created a folder containing R on a read-only CD and use it by having the
R-icon, located on the Windows desktop, point to the CD
(R-2.8.1\bin\Rgui.exe) for the "Target," and to a Windows Desktop folder for
"Start in."
This works nicely EXCEPT that the R help() function cannot display anything,
and presents a screen message saying "This program cannot
2008 Oct 07
1
LinkingTo on Windows
Dear List,
R packages may specify a "LinkingTo" attribute to specify dependencies to
the source code (mainly the header files) of other packages.
Unfortunately, it is not possible to also have a reference to the generated
library (.dll on Windows) of the other package. So including a header file
from another package to call an (exported) function will just not help.
I've tried
2008 Dec 18
4
rscproxy version conflict
After installing the package 'rscproxy' downloaded from the CRAN server, I
get the following error message from R 2.8.0 about a version conflict :
package 'rscproxy' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\John Meerman\Local
Settings\Temp\RtmpbK9mxN\downloaded_packages
updating HTML package
2009 Sep 10
2
Insall package
Dear Sir
Subject: - *Install " rscproxy_1.3-1.tar.gz "*
I am working in Windows system. I was try to install *rscproxy* package
in two way.
*1.* install.packages ("rscproxy_1.3-1.tar.gz"), It shows the Warning:
unable to access index for repository
http://cran.pt.r-project.org/bin/windows/contrib/2.9
*2. * install.packages("C:/Program
2009 Sep 15
0
chinese character support issue of rcom
Dear Sir,
rcom is a great package of R. Yet it seems that there is some problem of
Chinese character supporting.
comGetPropery() always get the part of the Chinese character.
Any suggestion would be appreciated.
Thanks.
Michael
> library(rcom)
Loading required package: rscproxy
> txe<-comCreateObject("Excel.Application")
> comSetProperty(txe,"Visible",TRUE);
2006 Aug 03
2
bringToTop without focus?
Hi all who know R on Windows,
Quick question: Is there a way to do "bringToTop(stay=TRUE)" without giving "focus"? I would like to pop a graph window but I would like to preserve focus in the window which I was in before.
Thanks for any lead,
Chris
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
2003 Jul 23
2
Logoff script?
Is there such a thing as a Samba logoff script? I am currently using
[NETLOGON] for logon scripts, but for the adding and removing of printers
via WSH, I'd prefer to also remove these printers after I log off.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/
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
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