I appreciate your attention Gabor. However, the result was the same. :( Both only work when the trPath object is sent to a R session already running. When inside the package the result was the same.
> remove.packages('TinnRcom') > Install.packages('TinnRcom_1.0-09.zip', repos=NULL) # New version > library(TinnRcom) > trPaths [1] "\\Tinn-R\\tmp\\" "\\Tinn-R\\tmp\\search.txt" [3] "\\Tinn-R\\tmp\\objects.txt" "\\Tinn-R\\tmp\\file.r" [5] "\\Tinn-R\\tmp\\selection.r" "\\Tinn-R\\tmp\\block.r" [7] "\\Tinn-R\\tmp\\lines.r" "\\Tinn-R\\tmp\\reformat-input.r" [9] "\\Tinn-R\\tmp\\reformat-output.r" On Mon, Sep 23, 2013 at 4:14 PM, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: > On Mon, Sep 23, 2013 at 2:55 PM, Jose Claudio Faria > <joseclaudio.fa...@gmail.com> wrote: >> trPaths <- paste(paste(Sys.getenv('APPDATA'), >> '\\Tinn-R\\tmp\\', >> sep=''), >> c('', >> 'search.txt', >> 'objects.txt', >> 'file.r', >> 'selection.r', >> 'block.r', >> 'lines.r', >> 'reformat-input.r', >> 'reformat-output.r'), >> sep='') >> > > Try this: > > > trPaths <- file.path( > Sys.getenv('APPDATA'), > 'Tinn-R', > 'tmp', > c('', > 'search.txt', > 'objects.txt', > 'file.r', > 'selection.r', > 'block.r', > 'lines.r', > 'reformat-input.r', > 'reformat-output.r'), > fsep = '\\') > > > > -- > Statistics & Software Consulting > GKX Group, GKX Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com -- ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria Estatistica UESC/DCET/Brasil joseclaudio.faria at gmail.com Telefones: 55(73)3680.5545 - UESC 55(73)9100.7351 - TIM 55(73)8817.6159 - OI ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ ______________________________________________ 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.