[R-SIG-Mac] mpi.close.Rslaves() 'hangs'

2017-09-16 Thread Marius Hofert
Hi, The example on ?mpi.close.Rslaves seems to 'hang' for me: library(Rmpi) mpi.spawn.Rslaves(nslaves=2) tailslave.log() mpi.remote.exec(rnorm(10)) mpi.close.Rslaves() # => hangs ... with output (hanging at the last line, not returning to the prompt): > library(Rmpi) >

Re: [R-SIG-Mac] rJava: configure error: One or more JNI types differ from the corresponding native type

2015-11-03 Thread Marius Hofert
... worked flawlessly with rJava 0.9-8 from https://www.rforge.net/rJava/files/ -- thanks a ton, Simon! Cheers, Marius On Tue, Nov 3, 2015 at 4:57 PM, Simon Urbanek wrote: > Please make sure you are using rJava 0.9-8 since your JVM is lacking the path > in libjvm

[R-SIG-Mac] rJava: configure error: One or more JNI types differ from the corresponding native type

2015-11-03 Thread Marius Hofert
Hi, I run R (devel and 3.2.2) under Mac OS X 10.11.1. I installed the JDK via jdk-8u66-macosx-x64.dmg ("java -version" works in the terminal). When I do install.packages("rJava"), I receive: ... checking whether JNI programs can be compiled... yes checking JNI data types... configure: error: One

Re: [R-SIG-Mac] "gsl" does not seem to find installed GSL

2015-10-22 Thread Marius Hofert
kage > 3. delete the 2 configure scripts > 4. in src, rename Makevars.in Makevars > 5. edit Makevars, replace @GSL_CFLAGS@ with the output of 'gsl-config > —cflags’ and replace @GSL_LIBS@ with the output of ‘gsl-config —libs' > 6. R CMD INSTALL the gsl directory > > Hop

[R-SIG-Mac] "gsl" does not seem to find installed GSL

2015-10-21 Thread Marius Hofert
Hi, I installed gsl (gsl-1.16.tar.gz) via ./configure, make, make check and sudo make install. gsl-config --version shows: $ gsl-config --version 1.16 I then wanted to install the R package "gsl" from source: > install.packages("gsl", type="source") Installing package into

Re: [R-SIG-Mac] "gsl" does not seem to find installed GSL

2015-10-21 Thread Marius Hofert
> from source, but either way, Simon has more recent versions on his web > pages, the src at: > > http://r.research.att.com/src/ > > and the libs at: > > http://r.research.att.com/libs/ > > > HTH, > > -Roy >> On Oct 21, 2015, at 4:12 PM, Marius Hofert

Re: [R-SIG-Mac] svg() fails (cairo.so unable to load)

2015-10-19 Thread Marius Hofert
Dear Professor Ripley, Thanks for helping. - Yes, cairo.so did not exist - Okay, following the 'first approach', I have to install XQuartz before R and set "export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig". Is the latter what you mean by "point to it"?

[R-SIG-Mac] svg() fails (cairo.so unable to load)

2015-10-18 Thread Marius Hofert
Hi, I get ... > svg(filename=(file <- "foo.svg")) Warning messages: 1: In svg(filename = (file <- "foo.svg")) : unable to load shared object '/usr/local/R/R-3.2.2_build/library/grDevices/libs//cairo.so': dlopen(/usr/local/R/R-3.2.2_build/library/grDevices/libs//cairo.so, 6): image not found

Re: [R-SIG-Mac] Option '--no-save' seems to be ignored although in .bash_profile and other files

2015-10-07 Thread Marius Hofert
Hi David, ... good point, that solved it! Thanks & cheers, Marius On Wed, Oct 7, 2015 at 7:19 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > On Oct 7, 2015, at 8:20 AM, Marius Hofert wrote: > >> Hi Duncan, >> >> thanks, here is the info: >>

[R-SIG-Mac] Option '--no-save' seems to be ignored although in .bash_profile and other files

2015-10-07 Thread Marius Hofert
Hi, I would like to start R by default with '--no-restore-history --no-save' to avoid that .RData files are written. I put "alias R=R --no-restore-history --no-save" in virtually all relevant system/dot files, like ~/.bash_profile and ~/.profile (even ~/.bashrc), but still, .RData files are

Re: [R-SIG-Mac] OS reports request to set locale to en_US.utf8...

2015-05-15 Thread Marius Hofert
Hi Simon, ... works *perfectly*, thanks a lot. Cheers, Marius On Fri, May 15, 2015 at 10:28 AM, Simon Urbanek simon.urba...@r-project.org wrote: On May 14, 2015, at 9:32 PM, Marius Hofert marius.hof...@uwaterloo.ca wrote: Hi, I'm working under Mac OS X 10.10.3 and installed R from

[R-SIG-Mac] OS reports request to set locale to en_US.utf8...

2015-05-14 Thread Marius Hofert
Hi, I'm working under Mac OS X 10.10.3 and installed R from source (see below for more information). Hen compiling a package I receive a warning about UTF-8 not being available: * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for

Re: [R-SIG-Mac] How to get a Fortran compiler compatible to Xcode?

2015-05-10 Thread Marius Hofert
...@gmail.com wrote: yeah, I forgot. Do what Kevin says, grab the texinfo from the r.research.att.com/libs website. Basically this is the first place to look. Kasper On Sun, May 10, 2015 at 9:49 PM, Marius Hofert marius.hof...@uwaterloo.ca wrote: Hi, Thanks again, Kevin. @Kasper: I had

Re: [R-SIG-Mac] How to get a Fortran compiler compatible to Xcode?

2015-05-10 Thread Marius Hofert
information to the list... -Peter D On 10 May 2015, at 19:27 , Marius Hofert marius.hof...@uwaterloo.ca wrote: Dear Peter, Thanks for your quick help. I'm not so familiar with the technicalities (and try to learn): Where is the file 'config.site' located in your system? Is this supposed

Re: [R-SIG-Mac] How to get a Fortran compiler compatible to Xcode?

2015-05-10 Thread Marius Hofert
. Best, Kasper On Sun, May 10, 2015 at 8:38 PM, Marius Hofert marius.hof...@uwaterloo.ca wrote: Hi Kevin, Thanks a lot for helping. That pushed me on the right track. I then needed some more tools (Java/XQuartz) and could then install R from source. Only make pdf; make info failed, saying

Re: [R-SIG-Mac] How to get a Fortran compiler compatible to Xcode?

2015-05-10 Thread Marius Hofert
, Marius Hofert marius.hof...@uwaterloo.ca wrote: Hi, I'm running Mac OS X Yosemite 10.10.3 on a MacBook Pro (Retina, 13, 2015). I would like to install R from source (various versions etc.) and thus installed Xcode (latest version: 6.3.1). How can I get a Fortran compiler which is compatible

[R-SIG-Mac] Vignette package 'parallel'?

2012-04-15 Thread Marius Hofert
Hi, I couldn't find the vignette for the package 'parallel' (Mac OS X 10.7.3; R 2.15.0). I then tried to (re)install the package (I know I comes with R natively). I obtained: , | require(parallel) | Loading required package: parallel | vignette(package=parallel) | no vignettes found |

Re: [R-SIG-Mac] Vignette package 'parallel'?

2012-04-15 Thread Marius Hofert
Duncan Murdoch murdoch.dun...@gmail.com writes: On 12-04-15 3:34 AM, Marius Hofert wrote: Hi, I couldn't find the vignette for the package 'parallel' (Mac OS X 10.7.3; R 2.15.0). I then tried to (re)install the package (I know I comes with R natively). I obtained: , | require

Re: [R-SIG-Mac] How to correctly set up a browser on Mac?

2012-02-28 Thread Marius Hofert
Dear Didier, This line you addressed shows: Default web browser: Google Chrome.app (17.0.963) How does this help? If I adjust ~/.Rprofile accordingly (using exactly Google Chrome.app (17.0.963)), I get: help.start() starting httpd help server ... done If the browser launched by 'Google

Re: [R-SIG-Mac] rgl on 10.7: has anyone tried it?

2011-10-12 Thread Marius Hofert
Hofert wrote: On 2011-10-12, at 00:37 , Simon Urbanek wrote: On Oct 11, 2011, at 6:33 PM, Marius Hofert wrote: On 2011-10-12, at 00:12 , Simon Urbanek wrote: On Oct 11, 2011, at 6:01 PM, Marius Hofert wrote: On 2011-10-11, at 23:30 , Simon Urbanek wrote: On Oct 11, 2011

Re: [R-SIG-Mac] rgl on 10.7: has anyone tried it?

2011-10-12 Thread Marius Hofert
*Brilliant*, works! Thank you very much for your (patience and) help, Simon! Cheers, Marius On 2011-10-12, at 15:36 , Simon Urbanek wrote: On Oct 12, 2011, at 9:17 AM, Marius Hofert wrote: Dear Simon, thanks a lot for helping. Here is what I could figure out: (1) the installation

[R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
Hi, I have multiple R versions installed and would like to switch between them via setting the symblic link Current. To make this a bit more convenient, I defined two aliases in .bashrc: alias R2.13='d=/Library/Frameworks/R.framework/Versions; rm $d/Current; ln -s $d/2.13 $d/Current' alias

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
you're trying to do. Cheers, Martin On 11 October 2011 11:24, Marius Hofert marius.hof...@math.ethz.ch wrote: Hi, I have multiple R versions installed and would like to switch between them via setting the symblic link Current. To make this a bit more convenient, I defined two aliases

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x 6 root admin 204 Mar 26 2010 2.12 drwxrwxr-x 6 root admin 204 Jul 12 15:44 2.13 drwxrwxr-x 6 root admin 204 Oct 2 11:01 2.14 drwxrwxr-x 6 root admin

Re: [R-SIG-Mac] Multiple R versions: set Current via symbolic link: permissions?

2011-10-11 Thread Marius Hofert
*thanks* a lot, it now works! Cheers, Marius On 2011-10-11, at 16:48 , Simon Urbanek wrote: On Oct 11, 2011, at 10:46 AM, Marius Hofert wrote: You permissions are odd - this is not what installed R looks like, you should see ginaz:Versions$ ls -l total 8 drwxrwxr-x 6 root admin

[R-SIG-Mac] rgl on 10.7: has anyone tried it?

2011-10-11 Thread Marius Hofert
Dear all, I tried to install the package rgl on 10.7. Here's the output: ## install.packages(rgl, type=source) install.packages(rgl, type=source) Installing package(s) into ‘/Library/Frameworks/R.framework/library’ (as

Re: [R-SIG-Mac] rgl on 10.7: has anyone tried it?

2011-10-11 Thread Marius Hofert
On 2011-10-11, at 23:04 , Simon Urbanek wrote: On Oct 11, 2011, at 4:10 PM, Marius Hofert wrote: Dear all, I tried to install the package rgl on 10.7. Here's the output: ## install.packages(rgl, type

[R-SIG-Mac] R_LIBS + .Rprofile: how to get a specific library in .libPaths()[1]

2011-10-10 Thread Marius Hofert
Dear all, I would like to use my own library for packages. It should go in /Library/Frameworks/R.framework. I therefore created a directory /Library/Frameworks/R.framework/library and now I would like this to appear as .libPaths()[1] (as default directory used by install.packages()). I created

[R-SIG-Mac] Installing R from source: ../i386/ldpaths: No such file or directory

2011-10-02 Thread Marius Hofert
Hi, I tried to install R from source on a new MacBook Air running 10.7.1. I followed the steps in the R-Faq and did: (1) installed Xcode 4.1 (2) installed a *corresponding* Fortran compiler from http://r.research.att.com/tools - Apple Xcode gcc-42 add-ons [the correct version for Xcode 4.1 on

Re: [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Marius Hofert
2011 06:54, Marius Hofert m_hof...@web.de wrote: Dear expeRts, I work on the R package nacopula (https://r-forge.r-project.org/projects/nacopula/) under Mac OS X 10.6.7 (MacBook Pro). The session info is: R version 2.14.0 Under development (unstable) (2011-05-02 r55730) Platform: x86_64