[R-SIG-Mac] install.packages without loading tcl tk interface for mirror selection
Hi, Is it possible run install.packages() using the stock R Mac binary in the command line without it trying to load the tcl/tk interface to select a mirror? I'd rather just use the text-based numerical selection for the mirror and not have X11 start up each time I try to install a package (which, in any case, is pointless if tcl/tk is not installed). Thanks [[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] Installing Multiple Versions of R
I would like to install two versions of R on Mac OSX 10.6.7. The two versions I would like to install are 2.10.1 and 12.2.2 for use with StatET in Eclipse. I have successfully installed and used each version respectively with StatET in Eclipse. However, I have not been successful in getting both of them configured for use on the same system. We know from the Read Me during the .pkg installation that R will over write older versions. The installer recommends running: pkgutil --forget org.r-project.R.Leopard.fw.pkg to keep the previous versions. In addition, a reply (Mon Feb 9 15:31:19 CET 2009) to a similar question in this form recommends using pkuntils --pkgs | grep r-project I "believe" that both of these commands run successfully. However, the next installation of R still over-writes the previous version. The (Mon Feb 9 15:31:19 CET 2009) post also states to delete: ./Library/Receipts/R-Frameworks.pkg However, neither 2.10.1 or 12.2.2 create a R-Frameworks.pkg in ./Library/Receipts/. I would be genuinely interested in obtaining detailed and organized instructions on how to successfully install two versions of R on the same system. It would also be great if those instructions were written in such a way that a user with limited Linux experience could understand and implement them. Best, Justin [[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] svg & cairo support in 2.12.2 and higher?
Hello, I'm not sure if this is the best list for my question, so please let me know if I should direct this elsewhere. When I used R version 2.12.0 on my Mac (Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)), I often used svg() to create graphics which I then edited in Inkscape. When I updated to 2.12.2, the code that worked in 2.12.0 started returning an error, "cairo-based devices are not supported on this build". Same problem in 2.13 released today. And indeed, capabilities() returns FALSE for cairo, whereas it used to be TRUE. I tried using {RSvgDev}, but (1) I don't like that I cannot specify a pointsize, (2) it ignores any color specification of text (gray text is turned into black), and (3) the vectors come out aliased (i.e., an 'L' shaped vector becomes pixellated at the angle). svg() did not suffer from any of these problems. I also tried installing {cairoDevice}, but when I try to load it I get this: >require (cairoDevice) Loading required package: cairoDevice Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so': dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so, 6): Library not loaded: /Library/Frameworks/GTK+.framework/Versions/2.18.X11/Resources/lib/libgtk-x11-2.0.0.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so Reason: image not found For now I have reverted to 2.12.0, but I was wondering if there is any way to build 2.13 with Cairo capabilities, or if anyone has advice for getting better-quality svg's in R? Many thanks, Sarah ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] svg & cairo support in 2.12.2 and higher?
Try running 32-bit R on your platform: it does contain cairo support. (So does my own x86_64 build of 2.13.0: looks like there is/was a problem on the CRAN build machine. So you could also build R from the sources.) On Wed, 13 Apr 2011, Sarah Berke wrote: Hello, I'm not sure if this is the best list for my question, so please let me know if I should direct this elsewhere. When I used R version 2.12.0 on my Mac (Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)), I often used svg() to create graphics which I then edited in Inkscape. When I updated to 2.12.2, the code that worked in 2.12.0 started returning an error, "cairo-based devices are not supported on this build". Same problem in 2.13 released today. And indeed, capabilities() returns FALSE for cairo, whereas it used to be TRUE. I tried using {RSvgDev}, but (1) I don't like that I cannot specify a pointsize, (2) it ignores any color specification of text (gray text is turned into black), and (3) the vectors come out aliased (i.e., an 'L' shaped vector becomes pixellated at the angle). svg() did not suffer from any of these problems. I also tried installing {cairoDevice}, but when I try to load it I get this: require (cairoDevice) Loading required package: cairoDevice Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so': dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so, 6): Library not loaded: /Library/Frameworks/GTK+.framework/Versions/2.18.X11/Resources/lib/libgtk-x11-2.0.0.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so Reason: image not found For now I have reverted to 2.12.0, but I was wondering if there is any way to build 2.13 with Cairo capabilities, or if anyone has advice for getting better-quality svg's in R? Many thanks, Sarah ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] install.packages without loading tcl tk interface for mirror selection
On Wed, 20 Apr 2011, jmmi mijle wrote: Hi, Is it possible run install.packages() using the stock R Mac binary in the command line without it trying to load the tcl/tk interface to select a mirror? I'd rather just use the text-based numerical selection for the mirror and not have X11 start up each time I try to install a package (which, in any case, is pointless if tcl/tk is not installed). Yes. RTFM applies (and RT posting guide too: you are expressly asked not to send HTML). See ?select.list, and also ?chooseCRANmirror for how to select mirrors. Look for what options(menu.graphics=FALSE) does. Thanks [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Installing Multiple Versions of R
On Apr 12, 2011, at 1:27 PM, justin boyd wrote: > I would like to install two versions of R on Mac OSX 10.6.7. > > The two versions I would like to install are 2.10.1 and 12.2.2 for use with > StatET in Eclipse. I have successfully installed and used each version > respectively with StatET in Eclipse. However, I have not been successful in > getting both of them configured for use on the same system. > > We know from the Read Me during the .pkg installation that R will over write > older versions. The installer recommends running: > > pkgutil --forget org.r-project.R.Leopard.fw.pkg > > to keep the previous versions. In addition, a reply (Mon Feb 9 15:31:19 CET > 2009) to a similar question in this form recommends using > > pkuntils --pkgs | grep r-project > > I "believe" that both of these commands run successfully. However, the next > installation of R still over-writes the previous version. > Can you explain what you mean? There is no "overwriting" because each R version lives in a separate directory of the framework. They never overwrite each other even if you don't use pkgutils (if you don't Apple just *removes* the old R, it doesn't overwrite anything). Please make sure you have read R for Mac OS X FAQ - in particular 12.15 should be helpful. > The (Mon Feb 9 15:31:19 CET 2009) post also states to delete: > > ./Library/Receipts/R-Frameworks.pkg > > However, neither 2.10.1 or 12.2.2 create a R-Frameworks.pkg in > ./Library/Receipts/. > /Library/Receipts refers to older OS X (10.4 and earlier) and old builds of R (for those old OS). > I would be genuinely interested in obtaining detailed and organized > instructions on how to successfully install two versions of R on the same > system. > Well, to my best knowledge that's what's in the README. If anything is unclear about that, please explain. Cheers, Simon > It would also be great if those instructions were written in such a way that > a user with limited Linux experience could understand and implement them. > > Best, > Justin > [[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] svg & cairo support in 2.12.2 and higher?
On Apr 27, 2011, at 3:57 AM, Prof Brian Ripley wrote: > Try running 32-bit R on your platform: it does contain cairo support. > (So does my own x86_64 build of 2.13.0: looks like there is/was a problem on > the CRAN build machine. So you could also build R from the sources.) > The current R-2.13.0 patched builds should work as well. It has cairo updated to a more recent version for it to work in 64-bit (symbols in iconv have changed in the meantime in the OS). All upgrade libraries are available from the usual place. Cheers, Simon > On Wed, 13 Apr 2011, Sarah Berke wrote: > >> Hello, >> >> I'm not sure if this is the best list for my question, so please let >> me know if I should direct this elsewhere. >> >> When I used R version 2.12.0 on my Mac (Platform: >> x86_64-apple-darwin9.8.0/x86_64 (64-bit)), I often used svg() to >> create graphics which I then edited in Inkscape. When I updated to >> 2.12.2, the code that worked in 2.12.0 started returning an error, >> "cairo-based devices are not supported on this build". Same problem >> in 2.13 released today. And indeed, capabilities() returns FALSE for >> cairo, whereas it used to be TRUE. >> >> I tried using {RSvgDev}, but (1) I don't like that I cannot specify a >> pointsize, (2) it ignores any color specification of text (gray text >> is turned into black), and (3) the vectors come out aliased (i.e., an >> 'L' shaped vector becomes pixellated at the angle). svg() did not >> suffer from any of these problems. >> >> I also tried installing {cairoDevice}, but when I try to load it I get this: >> >>> require (cairoDevice) >> Loading required package: cairoDevice >> Error in dyn.load(file, DLLpath = DLLpath, ...) : >> unable to load shared object >> '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so': >> dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so, >> 6): Library not loaded: >> /Library/Frameworks/GTK+.framework/Versions/2.18.X11/Resources/lib/libgtk-x11-2.0.0.dylib >> Referenced from: >> /Library/Frameworks/R.framework/Versions/2.13/Resources/library/cairoDevice/libs/x86_64/cairoDevice.so >> Reason: image not found >> >> For now I have reverted to 2.12.0, but I was wondering if there is any >> way to build 2.13 with Cairo capabilities, or if anyone has advice for >> getting better-quality svg's in R? >> >> Many thanks, >> Sarah >> >> ___ >> R-SIG-Mac mailing list >> R-SIG-Mac@r-project.org >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> > > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UKFax: +44 1865 272595 > > ___ > 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