-
Notifications
You must be signed in to change notification settings - Fork 298
Closed
IRkernel/repr
#3Milestone
Description
I am having a problem where the kernel dies every time I attempt to plot something. In the terminal where I am running the server, I get the following:
dev.new(): using pdf(file="Rplots2.pdf")
Error in file(con, "rb") : cannot open the connection
Calls: <Anonymous> ... <Anonymous> -> repr_pdf.recordedplot -> readBin -> file
In addition: Warning messages:
1: In parts[[i]] != charToRaw("<IDS|MSG>") :
longer object length is not a multiple of shorter object length
2: In parts[[i]] != charToRaw("<IDS|MSG>") :
longer object length is not a multiple of shorter object length
3: In parts[[i]] != charToRaw("<IDS|MSG>") :
longer object length is not a multiple of shorter object length
4: In cairo_pdf(tf, width, height, pointsize, FALSE, family, bg, antialias) :
unable to load shared object '/Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so, 6): image not found
5: In cairo_pdf(tf, width, height, pointsize, FALSE, family, bg, antialias) :
failed to load cairo DLL
6: In file(con, "rb") :
cannot open file '/var/folders/69/7ztsqtsx4js1m7y_mhcrgmdw0000gn/T//RtmpC782Zq/file12fb6cb031c.pdf': No such file or directory
Execution halted
Generally a file called Rplot.pdf is created in the working directory when this happens. The file usually contains the plot, though sometimes it doesn't and the file isn't readable. I haven't identified in what cases this happens.
I note if I use png() or pdf() to write to a file it works fine.
I installed IRKernel as instructed in the README, except to install the rzmq package I did git clone --recursive and devtools::install().
Versions:
R 3.2.0
OSX darwin13.4.0
Python 2.7.9 :: Anaconda 1.8.0 (x86_64)
XQuartz 2.7.7
zeromq 4.0.5_2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels