Skip to content
Prev 98738 / 398498 Next

screen resolution effects on graphics

This is what happened here:
character(0)
+   shell('cscript \\bin\\displayconfiguration.vbs', intern = TRUE), value =
TRUE)))
numeric(0)
character(0)
Nothing displayed; nothing created.  But the DOS window DID open and
something happened, but I don't know what.

Agin thanks for your patience.


Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Monday, August 28, 2006 2:21 PM
To: Charles.Annis at statisticalengineering.com
Cc: r-help
Subject: Re: [R] screen resolution effects on graphics

This is what happens when I run it in R 2.3.1:
+  shell('cscript \\bin\\displayconfiguration.vbs', intern = TRUE),
+ value = TRUE)))
[1] 1280 1024

The result is obviously dependent on your particular video
card (I have a radeon).  Try running it from outside of R and see
what you get:

cd \bin
cscript displayconfiguration.vbs

Also make sure you copied the code correctly from the web site
and also try the second solution too just in case.

Its possible that virus detection software will interfere since some
antivirus programs prevent all vbscript routines from running.


On 8/28/06, Charles Annis, P.E.
<Charles.Annis at statisticalengineering.com> wrote:
can
and
1024.
http://www.R-project.org/posting-guide.html