Search
Question: error opening corPlot.R
0
gravatar for Swati Ranade
11.8 years ago by
Swati Ranade60
Swati Ranade60 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? Thanks, Swati
ADD COMMENTlink modified 11.8 years ago by James W. MacDonald42k • written 11.8 years ago by Swati Ranade60
0
gravatar for Sean Davis
11.8 years ago by
Sean Davis20k
United States
Sean Davis20k wrote:
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
ADD COMMENTlink written 11.8 years ago by Sean Davis20k
0
gravatar for James W. MacDonald
11.8 years ago by
United States
James W. MacDonald42k wrote:
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
ADD COMMENTlink written 11.8 years ago by James W. MacDonald42k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 146 users visited in the last hour