forward slash vs double backslash R and Tinn-R
On 1/23/2009 11:10 AM, Farrel Buchinsky wrote:
I installed the newest version of R and once again ran into problem
with Tinn-R failing when trying to use the R explorer. I had this
problem once before and solved it when I added the following
.trPaths = c(
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/search.txt',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/objects.txt',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/file.r',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/selection.r',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/block.r',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/lines.r')
The posted configuration file tries to accomplish this situation with
.trPaths <- paste(paste(Sys.getenv('APPDATA'), '\\Tinn-R\\tmp\\',
sep=''), c('', 'search.txt', 'objects.txt', 'file.r', 'selection.r',
'block.r', 'lines.r'), sep='')
BUT IT FAILS.
I think you want to be sending this to the Tinn-R maintainers, possibly with a patch to give something that works. Reporting it on R-help may be useful for someone else hit with the same problem who looks it up here, but it won't be likely to get it fixed. Duncan Murdoch