rose at rz.uni-potsdam.de
2008-Nov-16 16:50 UTC
[Rd] help.start() displays index.html in emacs (PR#13293)
Full_Name: Juergen Rose Version: 2.8.0 (2008-10-20) OS: Linux 2.6.27.4 x86_64 Intel Submission from: (NULL) (87.185.220.122) If I start as ordinary user rose R and help.start(), the help is displayed in emacs. If I do as the user root, file:///tmp/Rtmpyzlc7Y/.R/doc/html/index.html is shown as expected in a firefox windows. So it seems to be connected with my private configuration. But I can not find such a configurations: rose at condor:/home/rose(114)$ ll ~/.R* -rw-r--r-- 1 rose users 2369 Jan 20 2008 /home/rose/.RapidSVN I also tried to start R with strace: rose at condor:/home/rose(119)$ strace -f -o R_strace.log R and greped for mime: rose at condor:/home/rose(120)$ grep "open.*rose.*mime" R_strace.log 7221 open("/home/rose/.local/share//mime/mime.cache", O_RDONLY) = 14 7221 open("/home/rose/.local/share/applications/mimeinfo.cache", O_RDONLY) 14 7221 open("/home/rose/.local/share/applications/mimeapps.list", O_RDONLY) = 14 7223 open("/home/rose/.local/share//mime/mime.cache", O_RDONLY) = 7 and then I searched for emacs in these files: rose at condor:/home/rose(121)$ for f in /home/rose/.local/share//mime/mime.cache /home/rose/.local/share/applications/mimeinfo.cache /home/rose/.local/share/applications/mimeapps.list /home/rose/.local/share//mime/mime.cache; do echo "------------------ f=$f --------------"; grep emacs $f ; done ------------------ f=/home/rose/.local/share//mime/mime.cache -------------- ------------------ f=/home/rose/.local/share/applications/mimeinfo.cache -------------- application/x-x509-ca-cert=emacs-21-usercustom.desktop ------------------ f=/home/rose/.local/share/applications/mimeapps.list -------------- ------------------ f=/home/rose/.local/share//mime/mime.cache -------------- But I could not find anything suspicious
Prof Brian Ripley
2008-Nov-17 08:03 UTC
[Rd] help.start() displays index.html in emacs (PR#13293)
On Sun, 16 Nov 2008, rose at rz.uni-potsdam.de wrote:> Full_Name: Juergen Rose > Version: 2.8.0 (2008-10-20) > OS: Linux 2.6.27.4 x86_64 Intel > Submission from: (NULL) (87.185.220.122) > > > If I start as ordinary user rose R and help.start(), the help is displayed in > emacs. If I do as the user root, file:///tmp/Rtmpyzlc7Y/.R/doc/html/index.html > is shown as expected in a firefox windows. So it seems to be connected with my > private configuration. But I can not find such a configurations:So why report this as a bug in R (especially without reading the help pages concerned)? help.start uses R_BROWSER to select the browser in use via browseURL: see the help for help.start and browseURL. Check options("browser") in each of the accounts. Another thing you have not told us is how you installed R: the default for R_BROWSER is set at install time in R_HOME/etc/Renviron. However, as it works correctly for 'root', I guess it is your account that has some setting of the browser to be used.> > rose at condor:/home/rose(114)$ ll ~/.R* > -rw-r--r-- 1 rose users 2369 Jan 20 2008 /home/rose/.RapidSVN > > I also tried to start R with strace: > rose at condor:/home/rose(119)$ strace -f -o R_strace.log R > > and greped for mime: > > rose at condor:/home/rose(120)$ grep "open.*rose.*mime" R_strace.log > 7221 open("/home/rose/.local/share//mime/mime.cache", O_RDONLY) = 14 > 7221 open("/home/rose/.local/share/applications/mimeinfo.cache", O_RDONLY) > 14 > 7221 open("/home/rose/.local/share/applications/mimeapps.list", O_RDONLY) = 14 > 7223 open("/home/rose/.local/share//mime/mime.cache", O_RDONLY) = 7 > > and then I searched for emacs in these files: > > > rose at condor:/home/rose(121)$ for f in /home/rose/.local/share//mime/mime.cache > /home/rose/.local/share/applications/mimeinfo.cache > /home/rose/.local/share/applications/mimeapps.list > /home/rose/.local/share//mime/mime.cache; do echo "------------------ f=$f > --------------"; grep emacs $f ; done > ------------------ f=/home/rose/.local/share//mime/mime.cache -------------- > ------------------ f=/home/rose/.local/share/applications/mimeinfo.cache > -------------- > application/x-x509-ca-cert=emacs-21-usercustom.desktop > ------------------ f=/home/rose/.local/share/applications/mimeapps.list > -------------- > ------------------ f=/home/rose/.local/share//mime/mime.cache -------------- > > But I could not find anything suspicious > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at 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, UK Fax: +44 1865 272595