[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) > mpi.spawn.Rslaves(nslaves

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 and you are on 10.11 which has

[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
gure 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 > > Hope that works, > Kjell > &

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

2015-10-21 Thread Marius Hofert
t 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 >> wrote: >>

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

2015-10-21 Thread Marius Hofert
On Wed, Oct 21, 2015 at 7:02 PM, Marius Hofert wrote: > What fails? I did the exact same thing an another MacBook Pro a couple > of months ago and it worked there (also under OS X 10.11)... this is > strange. > I just tried to install "gsl" on the other machine again... and

[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 '/usr/local/R/library

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"? I'

[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 2

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 wrote: > > On Oct 7, 2015, at 8:20 AM, Marius Hofert wrote: > >> Hi Duncan, >> >> thanks, here is the info: >> - "alias R" shows alia

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 Duncan, thanks, here is the info: - "alias R" shows alias R='/usr/local/bin/R --no-restore-history --no-save' - I start R in batch mode via "R CMD batch..." Batch mode must be the problem then. If I start R via "R", everything works as expected... So how can I teach R in batch mode to respect t

[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 writte

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 wrote: > >> On May 14, 2015, at 9:32 PM, Marius Hofert >> wrote: >> >> Hi, >> >> I'm working under Mac OS X 10.10.3 and installed R fr

[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 synt

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

2015-05-10 Thread Marius Hofert
nsen" > 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 >

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

2015-05-10 Thread Marius Hofert
. >> >> For texi2any I would install a new version of MacTex. >> >> Finally, see the R-admin manual. >> >> Best, >> Kasper >> >> On Sun, May 10, 2015 at 8:38 PM, Marius Hofert >> wrote: >>> >>> Hi Kevin, >>> >>>

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

2015-05-10 Thread Marius Hofert
>> >> http://cran.r-project.org/doc/manuals/r-release/R-admin.html >> >> People are not inclined to write significant amounts of the same information >> to the list... >> >> -Peter D >> >> >>> On 10 May 2015, at 19:27 , Marius Hofert w

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

2015-05-10 Thread Marius Hofert
o thanks for the hint towards r.research... I'll look into that once everything else is running. I already have some things running, e.g., texinfo, not sure if the 'texinfo' you mentioned is a specific one (but I'll see then). On Sun, May 10, 2015 at 1:04 PM, peter dalgaard wro

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

2015-05-10 Thread Marius Hofert
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 with Xcode 6.3.1? Here is what I tried: 1) I used to

Re: [R-SIG-Mac] digest.so not found

2012-04-22 Thread Marius Hofert
Okay, solved. I had to create a symbolic link from ~/R-dev/digest to /Library/Frameworks/R.framework/library so that it was found. Cheers, Marius On 2012-04-22, at 20:01 , Marius Hofert wrote: > Dear Mac expeRts, > > I'm working with R-2.15.0 on Mac OS X 10.7.3. I need

[R-SIG-Mac] digest.so not found

2012-04-22 Thread Marius Hofert
Dear Mac expeRts, I'm working with R-2.15.0 on Mac OS X 10.7.3. I need to install the development version of ggplot2. This can be done as follows (note that actually some more things are required, see https://gist.github.com/1150934, but that doesn't play a role here): , | require(devtools)

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

2012-04-15 Thread Marius Hofert
Duncan Murdoch 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).

[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] How to correctly set up a browser on Mac?

2012-02-28 Thread Marius Hofert
Dear Hans-Jörg, many thanks for helping, that perfectly solved it! Cheers, Marius On 2012-02-28, at 15:18 , Hans-Jörg Bibiko wrote: > Hmm, > > if I set: > > options(browser="/usr/bin/open -a 'Google Chrome'") > > then > > help.start() > > launches Chrome and shows the R Help

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 Ch

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

2012-02-28 Thread Marius Hofert
Dear Mac-expeRts, I work with R version 2.14.0 (2011-10-31) (Platform: x86_64-apple-darwin11.2.0/x86_64 (64-bit)) and recently realized that help.start() does not work as expected. I soon found out that options(browser="chrome") in my ~/.Rprofile is not valid, "sh" does not find the command "chrom

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 c

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

2011-10-12 Thread Marius Hofert
; oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=&#x

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

2011-10-11 Thread Marius Hofert
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: >>> &g

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

2011-10-11 Thread Marius Hofert
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, at 5:16 PM, Marius Hofert wrote: >>> &g

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

2011-10-11 Thread Marius Hofert
On 2011-10-11, at 23:30 , Simon Urbanek wrote: > > On Oct 11, 2011, at 5:16 PM, Marius Hofert wrote: > >> >> On 2011-10-11, at 23:04 , Simon Urbanek wrote: >> >>> >>> On Oct 11, 2011, at 4:10 PM, Marius Hofert wrote: >>> >>>&g

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

[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/libr

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 >>> &

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

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

2011-10-11 Thread Marius Hofert
On 2011-10-11, at 16:19 , Simon Urbanek wrote: > > On Oct 11, 2011, at 6:24 AM, Marius Hofert wrote: > >> Hi, >> >> I have multiple R versions installed and would like to switch between them >> via setting the symblic link "Current". To make th

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

2011-10-11 Thread Marius Hofert
t might be useful for > what you're trying to do. > > Cheers, > Martin > > > On 11 October 2011 11:24, Marius Hofert wrote: >> Hi, >> >> I have multiple R versions installed and would like to switch between them >> via setting the symblic link "

[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

[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] Fwd: Installing R from source: "../i386/ldpaths: No such file or directory"

2011-10-02 Thread Marius Hofert
Okay, I found out that I have to start R via "R --arch=x86_64", then I can start R. I simply created a shell alias and I can now just use "R". See also the full post: http://www.mail-archive.com/r-sig-mac@stat.math.ethz.ch/msg02207.html Begin forwarded message: &

[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

[R-SIG-Mac] Install multiple versions of R on Mac

2011-08-15 Thread Marius Hofert
Dear expeRts, I would like to run R 2.13 and R 2.14 on a MacBook Pro (2.53 GHz Intel Core 2 Duo, 4 GB 1067 MHz DDR3) with Mac OS X 10.6.8. I installed Rswitch to switch between the two versions. On installing the second version (2.14), I executed sudo pkgutil --forget org.r-project.R.Leopard.fw.

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

2011-06-02 Thread Marius Hofert
pkg_version.tar.gz > > b > > On 2 June 2011 06:54, Marius Hofert 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

[R-SIG-Mac] R hangs when connected via VPN [incl. minimal example]

2011-03-10 Thread Marius Hofert
Dear expeRts, I'm running R version 2.12.1 (Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)) on a MacBook Pro under Mac OS X 10.6.6. The following minimal example runs fine under this setup. However, if I am connected to a server via a VPN client [Cisco AnyConnect; same with Apple's internal