[R] my little r is sick

Dirk Eddelbuettel edd at debian.org
Tue Jun 2 02:29:16 CEST 2009


Tena,

On 1 June 2009 at 17:02, Tena Sakai wrote:
| Suddenly, I find my little r is sick.
| 
| Given:
| 
|   #! /usr/bin/env r
| 
|   library (hwriter)
| 
|   unlink ('tmp.html')
| 
|   p = openPage ('tmp.html')
|   hwrite ("Hello World", p)
|   closePage (p)
| 
|   browseURL ('tmp.html')
| 
| It worked fine a few days ago, but now it says:
| 
|   r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
| 
| The big brother (R) has no problem.
| 
| Can somebody please tell me what's going on?

As stated in the documentation, littl r require R to be built as a shared
library. I would venture that you upgraded R and replaced a build using
shared libraries with one containing static libraries --- thereby breaking r.

You may need reverse that if you want to continue using r.

Dirk

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list