Hi Cleber,

When you install Rtools, it asks you the home directory of R, and there it
puts a directory called src and Tcl.  You need to copy those over to
whereever you are making R.

So for example, I have:

C:\usr\R\R-devel\Tcl

Where I tar -xf R devel into C:\usr\R\

and then copy the src and Tcl dirs from R tools over into C:\usr\R\R-devel\

Also don't forget to when you finish make all recommended to

cd bitmap
make all

so you can save graphs as PNG, etc.

Cheers,

Josh



On Fri, Oct 4, 2013 at 7:29 PM, Cleber N.Borges <kle...@yahoo.com.br> wrote:

> stop because
> *had a stone in the middle of the way*
> *in the middle of the way had a stone*
> (by vinicius de moraes)
> #########################
>
> so, one more help? somebody? :-)
>
> thanks...
> cleber
>
> building package 'tcltk'
> making init.d from init.c
> making tcltk.d from tcltk.c
> making tcltk_win.d from tcltk_win.c
> gcc  -I"../../../../include" -DNDEBUG -I "../../../../Tcl"/include -DWin32
>         -O3 -Wall  -std=gnu99 -mtune=core2 -c init.c -o init.o
> In file included from init.c:22:0:
> tcltk.h:23:17: fatal error: tcl.h: No such file or directory
> compilation terminated.
> make[4]: *** [init.o] Error 1
> make[3]: *** [mksrc-win2] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [R] Error 1
> make: *** [all] Error 2
>
>
>
>
> Em 04/10/2013 22:46, Cleber N.Borges escreveu:
>
>>
>> bingo!  :-)
>> I got one pass to advanced!
>>
>> my TMP environment variable is:
>> %SystemRoot%\TEMP
>>
>>
>> thanks
>> cleber
>>
>>
>> Em 04/10/2013 22:02, Joshua Wiley escreveu:
>>
>>> Hi Cleber,
>>>
>>> You need to set TMPDIR to a valid directory, the default /tmp/ does not
>>> work on Windows.
>>>
>>> From the cmd shell:
>>>
>>> set TMPDIR=C:/TMP
>>>
>>> for example
>>>
>>> and then run make all recommended
>>>
>>> Cheers,
>>>
>>> Josh
>>>
>>>
>>>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://joshuawiley.com/
Senior Analyst - Elkhart Group Ltd.
http://elkhartgroup.com

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to