[R-SIG-Mac] RGTK2 (Massimo)

stefano iacus jago at mclink.it
Sat Nov 11 03:47:58 CET 2006


maybe you should use

Sys.putenv() to install shell variables before using the usual R.app  
installer.

As a general rule, Sys.getenv("PATH") tells you what it's currently  
set for PATH.

or you can set PATH to what you like system-wide in /etc/profile

stefano

On 11/nov/06, at 11:01, massimodisasha wrote:

>
> the problem was that the  R-cran GUI  "for Package-
> installation"   ... check its external dependencie  in /usr/local
> (it do not see my .profile ! )
> this is wrong.
>
> i succesfool installed it by command line
> first i type in the bash :
>
> export PATH=/opt/local/bin:$PATH      (this line is  also included in
> my .profile)
>
> so i installed RGTK-2   with  R CMD INSTALL ...
>
> then i installed  RGgobi  :
>
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ R CMD INSTALL /Users/
> epifanio/Desktop/rggobi_2.1.4-1.tar.gz
>
> now is all OK  :-)
>
> thanks to all comunity for your great work!
> regards.
> Massimo
>
> Il giorno 10/nov/06, alle ore 19:03, r-sig-mac-
> request at stat.math.ethz.ch ha scritto:
>
>> I dont know why it is failing the macports install as I have gtk2
>> (gtk2.10) installed without problems. You may want to try in the
>> macports mailing list (at http://www.macports.org).
>>
>> Anyway, even if you install it this way it is not going to work for
>> you because R and macports use different compilers and the installed
>> RGtk2 package behaves incorrectly (different structure sizes). You
>> have to manually install the gtk package and its dependencies -that
>> happens to be the ones in the error message of the macports log- with
>> the same compiler used to compile R (found in /usr/local/gcc4.0). If
>> you have a macports installation it is better to move the directory
>> while you install the new gtk and RGtk2 packages as if not you are
>> going to enter into problems (as I did) with the different versions.
>> It is a little bit tedious but it works.
>>
>> I was told by Michael Lawrence, the maintainer and co-author of the
>> package that an easy to install solution is on the way, but no idea
>> when it will come into life.
>>
>> If anyone has a better way to deal with this please let me know.
>>
>> HTH,
>>
>> Diego.
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list