Displaying 20 results from an estimated 400 matches similar to: "clear console"
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()
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 !=
2009 Sep 14
2
trying to run a visual basic script via WINE - need help.
Ok I need to run a .vbs for a program which I run in wine (diablo 2).
Google says
"VBS in Linux. It works fine running in WINE.
You just have to install the Windows Script Host.
And you may need to hand-register the COM
DLLs in the WSH installer at the command line.
Last I saw, WINE wasn't handling self-reg. DLLs."
I downloaded WSH 5.6 and ran that in WINE. When it was done I
2006 Apr 14
3
The object argument of NextMethod.
My question is when the object argument of NexthMethod be used?
In the following example, weather object argument is used will not
affects the result.
###
foo=function(x) {UseMethod("foo")}
foo.cls1=function(x)
{
x=x+1;class(x)<-"ncls"
NextMethod()
}
foo.ncls=function(x)
{
cat("ncls\n")
}
foo.cls2=function(x)
{
cat("cls2\n");print(x)
}
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)
\__/
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
2006 Mar 03
1
WSH, WMI scripts
Hi,
I have a requirement that, I should run WSH and WMI scripts in Linux
environment in order to do some registry changes on a remote machine and
start/stop/query windows services on a remote machine. Can I use WINE
for this purpose. Thanks in anticipation.
With regards,
Sreenivas T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Jun 01
2
Can WMI be used in WINE apps?
Hi,
After some googling I've found that there's very
little said about the possibility of using WMI from
Wine.
Has someone done any progress about it?
I find this subject very important; if you feel
interested here's why:
One may think this is a somehow fanciful intention,
after all WMI exists for the purpouse of administering
Windows, and no doubt that's best done from
2005 Jul 15
1
Win32OLE ?
Dan/Park,
What are your thoughts about implemented portion of the win32utils
family that are written in ruby utilizing WIN32OLE.
I have found myself writing decent amount of ruby code accessing the
Windows Scripting Host (WSH) object models. I have a few scripts which
could be added. I do not believe the functionality is currently
available with win32utils:
- map network drives
-
2001 Mar 16
1
seeing/setting file or directory owners from win9x just like from nt/w2k
Hi All,
Is there a way (speak command/wsh script) that allows a win9x
workstation that is logged into a samba domain server (running
onlinux for example) to see from the workstation what owner a
certain file or directory has?
Under win2k the "dir /q" command does this adequately.
And if this is possible, is it then possible for someone to change
the ownership of a file to another
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
2003 Apr 25
2
sjava w2k
..sorry for this "repeated" off-topic question, but i look
for any suggestion in the manuals, find nothing related?
library(Sjava)
Error in firstlib(which.lib.loc, package) :
JAVA_HOME is not set
Error in library(Sjava) : .First.lib failed
...what i have to done?
many thanks & regards,christian
2009 Jan 05
1
poor read/write performance due to TCP window size configuration
Hi,
I am using a TCP link that requires TCP window size to be at least 256K.
Below is my smb.conf file.
I have tried to capture the packets using wireshark after the configuration. However, the TCP windows size still cap at about 64k
How should I configure it? My samba version is Version 3.0.24-11.fc6
Thank You.
Best Regards,
Gary
[global]
workgroup = TESTBED
server string = Samba
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
Dear R-List member,
I have installed the new version of R on my PC (see system details below). I
can start the RGui with http_proxy succesfully. However, I do encounter two
problems:
1)
After starting the Rgui the following error message is displayed (vertical
dots represent omissions of output):
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
.
.
.
.
Error in
2008 Jun 13
0
Anybody get ".wsf" WSH scripts to run?
I am a pretty new Wine user.
I am hoping to be able to run some pretty large VBScript applications on it, to avoid porting them to Perl when we retire a Windows machine.
All of our VBScript runs as children of a WSH ".wsf" file, for example as follows.
I can get a simple ".vbs" file to run fine, but when I try to run the same file inside of a simple ".wsf" wrapper,