[R-SIG-Mac] context message
Sep 19 16:37:16 rmhs-air.home R[15381] Error: CGContextDelegateCreateForContext: invalid context 0x7fe3bb796370. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update. I get this message occasionally, but not systematically enough to give a recipe for generating it. I believe it is an OS message related to graphing on the Quartz device. bash-3.2$ ps PID TTY TIME CMD 15381 ttys000 21:13.77 /Library/Frameworks/R.framework/Resources/bin/exec/R -- 14282 ttys0010:00.06 /bin/bash --noediting -i sessionInfo() R version 3.1.1 Patched (2014-07-16 r66175) Platform: x86_64-apple-darwin13.1.0 (64-bit) locale: [1] C attached base packages: [1] splines grid stats graphics grDevices [6] utils datasets methods base other attached packages: [1] reshape2_1.4abind_1.4-0 [3] vcd_1.3-1 HH2writing_0.0-2 [5] car_2.0-20 HH_3.1-6 [7] multcomp_1.3-4 TH.data_1.0-3 [9] survival_2.37-7 mvtnorm_1.0-0 [11] latticeExtra_0.6-26 RColorBrewer_1.0-5 [13] lattice_0.20-29 loaded via a namespace (and not attached): [1] MASS_7.3-33 Rcmdr_2.1-0 Rcpp_0.11.2 [4] colorspace_1.2-4 compiler_3.1.1 digest_0.6.4 [7] leaps_2.9memoise_0.2.1nnet_7.3-8 [10] plyr_1.8.1 sandwich_2.3-0 stringr_0.6.2 [13] tcltk_3.1.1 tcltk2_1.2-10tools_3.1.1 [16] zoo_1.7-11 Rich ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X
When R starts in GUI on my Mac OS X 10.7.5, the startup configuration in .Rprofile works fine. However, when R starts through command line interface (CLI) on the terminal , it does not work at all. The GUI R on my Mac is aliased on the terminal to /Applications/R.app/Contents/MacOS/R while the CLI R (/usr/bin/R) is linked to /Library/Frameworks/R.framework/Resources/bin/R. There is only one .Rprofile, which resides in my home directory ~/. sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin10.8.0 (64-bit) What could be the cause for the failure with CLI? Thanks, Gang [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X
You left out the part where you show us what's in your .Rprofile. If there is anything in there specific to R.app (an application different from R), of course it won't work with CLI (base) R. Vincent Goulet iPad Le 2014-09-19 à 17:01, Gang Chen gangc...@mail.nih.gov a écrit : When R starts in GUI on my Mac OS X 10.7.5, the startup configuration in .Rprofile works fine. However, when R starts through command line interface (CLI) on the terminal , it does not work at all. The GUI R on my Mac is aliased on the terminal to /Applications/R.app/Contents/MacOS/R while the CLI R (/usr/bin/R) is linked to /Library/Frameworks/R.framework/Resources/bin/R. There is only one .Rprofile, which resides in my home directory ~/. sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin10.8.0 (64-bit) What could be the cause for the failure with CLI? Thanks, Gang [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X
For testing purpose, there is only one statement in my .Rprofile .First - function() source('~/test.R') and test.R contains a few functions with which I could test whether .Rprofile has been loaded or not. From: Vincent Goulet [vincent.gou...@me.com] Sent: Friday, September 19, 2014 8:54 PM To: Chen, Gang (NIH/NIMH) [C] Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X You left out the part where you show us what's in your .Rprofile. If there is anything in there specific to R.app (an application different from R), of course it won't work with CLI (base) R. Vincent Goulet iPad Le 2014-09-19 à 17:01, Gang Chen gangc...@mail.nih.gov a écrit : When R starts in GUI on my Mac OS X 10.7.5, the startup configuration in .Rprofile works fine. However, when R starts through command line interface (CLI) on the terminal , it does not work at all. The GUI R on my Mac is aliased on the terminal to /Applications/R.app/Contents/MacOS/R while the CLI R (/usr/bin/R) is linked to /Library/Frameworks/R.framework/Resources/bin/R. There is only one .Rprofile, which resides in my home directory ~/. sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin10.8.0 (64-bit) What could be the cause for the failure with CLI? Thanks, Gang [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac