[R-SIG-Mac] printing from terminal

Simon Urbanek simon.urbanek at r-project.org
Mon Jan 19 01:45:15 CET 2009


On Jan 18, 2009, at 4:34 PM, Kasper Daniel Hansen wrote:

> This is using
>  R version 2.9.0 Under development (unstable) (2009-01-12 r47571)
> but it also happens under a somewhat recent version of R-2.8.1 (from  
> svn)
>
> I have compiled myself under OS 10.5 X (see below for compilation  
> command), which is probably the cause of the following.
>
> When I open a fresh R in the Terminal and do a simple
>  > plot(1:10)
> the "new" R quartz window pops up. When I then select the window  
> using the mouse and subsequently choose "print" from the menu bar, I  
> get the following error in Terminal:
>
> 2009-01-18 13:26:34.575 R[46025:613] Error loading /Library/Printers/ 
> Dell/PDEs/DellSecurePrint.plugin/Contents/MacOS/DellSecurePrint:   
> dlopen(/Library/Printers/Dell/PDEs/DellSecurePrint.plugin/Contents/ 
> MacOS/DellSecurePrint, 265): no suitable image found.  Did find:
> 	/Library/Printers/Dell/PDEs/DellSecurePrint.plugin/Contents/MacOS/ 
> DellSecurePrint: mach-o, but wrong architecture
> 2009-01-18 13:26:34.578 R[46025:613] Error loading /Library/Printers/ 
> Dell/PDEs/DellJobAccount.plugin/Contents/MacOS/DellJobAccount:   
> dlopen(/Library/Printers/Dell/PDEs/DellJobAccount.plugin/Contents/ 
> MacOS/DellJobAccount, 265): no suitable image found.  Did find:
> 	/Library/Printers/Dell/PDEs/DellJobAccount.plugin/Contents/MacOS/ 
> DellJobAccount: mach-o, but wrong architecture
>
> after this, the standard OS 10.5 print dialog opens up and the print  
> job is able to be completed.
>
> Based on the error message, I guess it has something to do with me  
> only compiling for x86_64. The printing does work, so this is not a  
> big problem, but I thought I should report it.
>

As you can see this is some strange Dell (yuck!) drivers in your  
system (which are apparently 32-bit only), this has nothing to do with  
R, really ...

Cheers,
S


> System details below
>
> Kasper
>
> I am using 10.5.6 (all updates) with the newest stable release of  
> Xcode (I think it is 3.1) and
> kasper-hansens-macbook:~/> gfortran --version
> GNU Fortran (GCC) 4.2.3
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> from Simon's website
>
> > sessionInfo()
> R version 2.9.0 Under development (unstable) (2009-01-12 r47571)
> i386-apple-darwin9.6.0
>
> locale:
> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> I compile R using the following script
>
> #!/bin/bash
>
> cd R-devel
> svn up
> LANG=C
> export LANG
> tools/rsync-recommended
> ./configure SHELL='/bin/bash' \
>  CC="/usr/bin/gcc-4.2 -arch x86_64 -std=gnu99" \
>  CFLAGS="-g -O2 -std=gnu99 -march=nocona" \
>  CXX="/usr/bin/g++-4.2 -arch x86_64" \
>  CXXFLAGS="-g -O2 -march=nocona" \
>  OBJC="/usr/bin/gcc-4.2 -arch x86_64" \
>  F77="/usr/local/bin/gfortran-4.2 -arch x86_64" \
>  FFLAGS="-g -O2 -march=nocona" \
>  FC="/usr/local/bin/gfortran-4.2 -arch x86_64" \
>  FCFLAGS="-g -O2 -march=nocona"
>
> make
> make check
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list