sh: 1: cannot create pdf: Permission denied

I installed groff to build some pdf files. When I rry

Build the pdf file

system("groff -ms -T pdf -K utf8 -P -pa4 > /paperboy.pdf", wait = FALSE)

I get this error message:

> source('~/paper/master.R') sh: 1: cannot create /paperboy.pdf: Permission denied

How and where do I set the right permissions?

Since you are making a system() call, this is more related to your operating system and the groff library than it is to R. Setting access permissions is system specific and I think it is beyond the scope of this forum.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.