Thanks Ben.  Putting that code into my .Rprofile file helped; then it gets executed whenever R starts up.

>>> 
From: Ben Bolker <bolker@ufl.edu>
To:<r-help@stat.math.ethz.ch>
Date: 20/Apr/2010 10:05a
Subject: Re: [R] Tinn-R
Robert Ruser <robert.ruser <at> gmail.com> writes:

> I want to use the free distribution of R (R REvolution 3.2)

  [this is a little bit funny -- is the standard (CRAN) distribution
not free?  Or did you mean something else?]

>  and Tinn-R
> editor as well. Unfortunately they don't cooperate. In Tinn-R
> commands: send selection, send line etc. don't work. Do you have any
> idea how to resolve this problem?

  This is a known (????) Tinn-R bug, I think.  I have found that
pasting

.trPaths <- paste(paste(Sys.getenv('APPDATA'),
      '\\Tinn-R\\tmp\\', sep=''),
        c('', 'search.txt', 'objects.txt','file.r',
       'selection.r','block.r','lines.r'), sep='')

into Tinn-R makes it work (for that Tinn-R session).  There are
instructions somewhere (???) for adding this to your Tinn-R preferences
so that it is executed every time ...

  good luck
    Ben Bolker

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

	[[alternative HTML version deleted]]

