dev-lang/R-3.0.0 has been released recently and for me at least the latest in-tree sci-mathematics/rstudio-0.97.318 fails to build in the final stage of linking to this new R version. The latest rstudio (0.97.336) compiles and works for me. To this end, renaming the ebuild, renaming the current patches to match the new ${P} and removing ${P}-paths.patch allows for building and linking rstudio. Reproducible: Always See also http://support.rstudio.org/ which suggests to use the "latest version of RStudio" which is 0.97.336 currently for R 3.0.0 support.
Created attachment 345252 [details, diff] hand edited from 318 to work for 336 rstudio-0.97.318-paths.patch looked too ugly to be simply removed so i hand edited the patch to make it apply to rstudio-0.97.336. just added the new sessionLibraryPath_ lines and took care of the code move. Ahmet
Besides the building problem, rstudio also fails to start after upgrading R, giving the following error: The R session had a fatal error. /usr/bin/rsession: symbol lookup error: /usr/bin/rsession: undefined symbol: Rf_PrintWarnings
I can confirm that the bump renaming the ebuild as proposed by Ted and using the patch uploaded by Ahmet works without any issues. In addition to that it also works for previous versions of R (<3). Tested on: ~amd64
+*rstudio-0.97.336 (18 Apr 2013) + + 18 Apr 2013; Julian Ospald <hasufell@gentoo.org> +rstudio-0.97.336.ebuild, + +files/rstudio-0.97.336-linker_flags.patch, + +files/rstudio-0.97.336-paths.patch, +files/rstudio-0.97.336-prefs.patch: + version bump wrt #464880