Hi I am trying generate scatter plots using the
corPlot function in R and am getting the following
error:
> source("CorPlot.R")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `CorPlot.R'
I use the 2.0 version of R. Can any body suggest how
to resolve this issue?
Thanks,
Swati
On May 20, 2005, at 9:43 AM, Swati Ranade wrote:
> Hi I am trying generate scatter plots using the
> corPlot function in R and am getting the following
> error:
>> source("CorPlot.R")
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file `CorPlot.R'
>
> I use the 2.0 version of R. Can any body suggest how
> to resolve this issue?
>
Swati,
I assume there is such a file CorPlot.R somewhere and that you put
there? If that is the case, then the file must be in the working
directory or you must specify the path to the file. You can see what
the working directory is by:
getwd()
If this is a different directory than that which contains CorPlot.R,
you will need to do something like:
source("path/to/CorPlot.R")
Sean
Swati Ranade wrote:
> Hi I am trying generate scatter plots using the
> corPlot function in R and am getting the following
> error:
>
>>source("CorPlot.R")
>
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file `CorPlot.R'
This error indicates that CorPlot.R is not in your working directory.
You can use setwd() to change the working directory and try again.
Best,
Jim
>
> I use the 2.0 version of R. Can any body suggest how
> to resolve this issue?
>
> Thanks,
>
> Swati
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
--
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623