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. Farrel Buchinsky
The only apparent reason for the failure is that the elegant line using Sys.getenv denerates filenames with double backslashes instead of forward slashes. I am working in Windows XP and I thought that R could use double backslashes or a single forward slash. So what am I not understanding about the whole slash thing? Farrel Buchinsky On Fri, Jan 23, 2009 at 11:10, Farrel Buchinsky <fjbuch at gmail.com> 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. > > > Farrel Buchinsky >
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