[R-sig-Debian] [R] 2.11.0 on ubuntu (hardy) inadvertently installed

Cedrick W. Johnson cedrick at cedrickjohnson.com
Fri May 28 19:08:31 CEST 2010


No worries Dirk

I managed to get things working on 2.11.0... a quick summary:

I manually went through and installed all the packages and their 
dependencies by hand. I had to do some tweaking with installing dev 
packages using apt-get so that the R build process for certain packages 
would work (RMySQL most notably)

I had to install Cairo and switch from using png(file="xxx.png") to 
CairoPNG(filename="xxx.png") to generate charts. For some reason in the 
new version/or certain package the traditional png(file="xxx") does not 
want to create a new file if one doesn't exist in the directory. I can 
do 'touch test.png' then call png(file='test.png') from within R and it 
will write to the file. I'll investigate further to see why that is. 
Someone had mentioned it with one of the R/Apache packages as well.

Thanks for the help, I just ran through the entire workflow and things 
appear to be working well now, on 2.11.0.. I'll make sure i'm more 
careful/alert next time when doing something that can screw up software 
for me and a bunch of other users ;)

-c


On 5/28/2010 11:39 AM, Dirk Eddelbuettel wrote:
>
> Hi Cedrick,
>
> Wrong list -- r-sig-debian may be better so I am redirecting. Hope you don't
> mind.
>
> On 28 May 2010 at 11:25, Cedrick W. Johnson wrote:
> | Hi-
> |
> | Looks like this morning, I did the ultimate in foobar to a main prod
> | box. I was using apt-get upgrade on the box and totally missed the fact
> | that my entire R installation went from 2.10.0 to 2.11.0.
> |
> | I now have a bunch of pkgs that aren't loading due to the fact that they
> | were built before 2.10.0 -- There's some *ancient* packages, like (sma)
> | that I was able to figure out what we were using, and pull out the
> | relevant functions and just temporarily do a "source('xxx.r')" until I
> | can re-build those things into new 2.11 packages.
> |
> | Am I totally SOL today or is there a way to "reverse" what the heck I
> | did this morning to the entire R installation?
>
> Comment out the /etc/apt/sources.list entry for the Ubuntu R port via CRAN
> and pick the R version that came with Ubuntu's Hardy release.
>
> You could use Ubunti Karmic's R from last fall; as I recall that was 2.9.2.
>
> Lastly, you can always pick 2.10.0 and build a local package to recreate what
> you just upgraded away from.
>
> Or: just stick with 2.11.0 and populate /usr/local/lib/R/site-library/ with
> the CRAN packages you need.  Just force a re-install, the install.r example
> from littler may be of help.
>
> Good luck.
>



More information about the R-SIG-Debian mailing list