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 <fjb...@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 > ______________________________________________ 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.