[R] Runing perl script from R

2011-04-08 Thread Rice, Terri
Hi. I am trying to run perl script from R. Here's what happens.

 setwd(C:\\Terri\\perl)
 getwd()
[1] C:/Terri/perl
 list.files()
[1] hello.pl  lines1_10.txt try_my.pl try_my.txt
 system(hello.pl)
Warning message:
In system(hello.pl) : Impossible to run C:\Terri\perl\hello.pl

Does anyone know what I am doing wrong?

Thanks!

Terri


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] 3-D barplot

2009-12-22 Thread Rice, Terri
Hi,

I would like to create a 3 dimensional barplot of 16 odds ratios that 
demonstrate an interaction between two variables (CD14 and CD23).

Here is an example of what the graph I would like to produce 
(http://www.xfy.com/manual/dev/developer/1.4/spec/image/chart/type_3d.gif):

Here is are the odds ratios I would like to graph:

Odds ratios CD14-1  CD14-2  CD14-3  CD14-4
CD23-1  1   0.612.1 6.1
CD23-2  1.5 1.3 3.5 11.9
CD23-3  1.8 1.5 4.4 10.6
CD23-4  8.2 4.6 5.5 16.8

Thanks!

Terri

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Plot odds ratios on log scale

2009-12-21 Thread Rice, Terri
Hi,

I have the following table of odds ratios (or), lower limits(ll) and upper 
limits(ul), which I would like to plot as horizontal lines beginning at the 
lower limit, ending at the upper limits and with a dot at the odds ratio on an 
x-axis on a log10 scale. The y axis would be the study sites.

From what I can figure out, it looks like the plotCI function will do 
everything except give me an x-axis that is on a log10 scale and I can't get 
the logaxis function in the log10 package to work.

Study   or  ll  ul  order
UCSF0.7 0.550.891
MDA 0.760.710.932
UK  0.680.510.893
Mayo0.5 0.280.874

Thanks for any suggestions!

Terri



[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.