error opening corPlot.R
2
0
Entering edit mode
Swati Ranade ▴ 60
@swati-ranade-1162
Last seen 9.6 years ago
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
• 1.1k views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
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 COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 35 minutes ago
United States
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 COMMENT

Login before adding your answer.

Traffic: 1064 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6