problem creating PDF file in R(guitar package)
0
0
Entering edit mode
7.4 years ago
blur ▴ 280

Hi, I am trying to run Guitar on R, and I got to the part where the pdf with the imagws is supposed to be created, but I get an error msg saying that

"Error in pdf(file=f1, width=8, height-4): cannot open file file.pdf

any ideas what I'm doing wrong?

R; Guitar • 2.5k views
ADD COMMENT
1
Entering edit mode

proper syntax to create a PDF in R would be

pdf("file.pdf", width=8, height=4)
# plot command
dev.off()

In your case, your syntax is wrong at height-4 also did you create an object f1 where you filename file.pdf is stored?

BTW, this is purely not a Bioinformatics question.

ADD REPLY
0
Entering edit mode

I've no idea what you are doing or what this package is doing but the first thing that comes to my mind is: "do you have write permissions in your current directory?"

ADD REPLY
0
Entering edit mode

yes, checked that :)

ADD REPLY

Login before adding your answer.

Traffic: 2409 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