Hello All, I am using Tinn-R (v 2.0.0.7) integrated with R (v 2.7.2) on a 32-bit Windows Vista system. When I try to run a code and send it to R from Tinn-R, I get the following error message; ?Error in source(.trPaths[5], echo = T) : object ".trPaths" not found? I was using an earlier version of Tinn-R and R and I was not having problems till recently when R-sending started freezing the program leading me to shutdown both programs and restarting. I thought reinstalling both would solve the problem, but it just does not seem to work. I would appreciate any help, as I am not vey technical in the back end of the coding. Thanks Vijay -- View this message in context: http://www.nabble.com/Error-Running-TinnR-with-R-tp19477151p19477151.html Sent from the R help mailing list archive at Nabble.com.
You should edit the file "Rprofile.site", as described in http://sourceforge.net/forum/forum.php?forum_id=864071 During the start of R, some values (paths) will be assigned to ".trPaths". Yihui On Sun, Sep 14, 2008 at 11:52 AM, Videep <ivijaydeep at gmail.com> wrote:> > Hello All, > > I am using Tinn-R (v 2.0.0.7) integrated with R (v 2.7.2) on a 32-bit > Windows Vista system. > When I try to run a code and send it to R from Tinn-R, I get the following > error message; > > "Error in source(.trPaths[5], echo = T) : object ".trPaths" not found" > > I was using an earlier version of Tinn-R and R and I was not having problems > till recently when R-sending started freezing the program leading me to > shutdown both programs and restarting. I thought reinstalling both would > solve the problem, but it just does not seem to work. > I would appreciate any help, as I am not vey technical in the back end of > the coding. > > Thanks > > Vijay > > -- > View this message in context: http://www.nabble.com/Error-Running-TinnR-with-R-tp19477151p19477151.html > Sent from the R help mailing list archive at Nabble.com. >-- Yihui Xie <xieyihui at gmail.com> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China
Hi, I managed to get it to work this way (changing the Rprofile.site file) with R2.7.2. I then made the mistake of updating to R2.8, and it stopped working. Now changing the Rprofile.site file does nothing, and sending a block of code gives me the "Error in source(.trPaths[5], echo = T) : object ".trPaths" not found" error message. I triple checked all the additional lines in the Rprofile.site file, path for .trPaths is correct. One point of note is that Hmisc package appears not to be available. Thanks for any help you could give me! Otherwise it might be wise to revert back to R2.7.2 or use the previous Tinn-R version. Bernardo -- View this message in context: http://www.nabble.com/Error-Running-TinnR-with-R-tp19477151p20148106.html Sent from the R help mailing list archive at Nabble.com.
In the 'etc' directory of your installation path, e.g. C:\Program Files\R\etc Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China On Sat, Nov 1, 2008 at 9:36 AM, <rkevinburton at charter.net> wrote:> I am sorry to be so slow but where do I find Rprofile.site? > > Thank you. > > Kevin > > ---- Yihui Xie <xieyihui at gmail.com> wrote: >> Currently there are some problems with the building of Hmisc binary >> package; see CRAN for more information. >> >> My suggestion is you can remove (or comment out) the code lines not to >> use Hmisc for Tinn-R until it's available again on CRAN. As for me, I >> merely use two expressions in Rprofile.site and I have removed all the >> other code, as I don't need other functions of Tinn-R: >> >> options(pager="internal") >> .trPaths = c( >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/search.txt', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/objects.txt', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/file.r', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/selection.r', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/block.r', >> 'C:/Documents and Settings/username/Application Data/Tinn-R/tmp/lines.r') >> >> Regards, >> Yihui >> -- >> Yihui Xie <xieyihui at gmail.com> >> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 >> Mobile: +86-15810805877 >> Homepage: http://www.yihui.name >> School of Statistics, Room 1037, Mingde Main Building, >> Renmin University of China, Beijing, 100872, China >> >> >> >> On Fri, Oct 24, 2008 at 7:08 PM, bg708 <bgarciacarreras at googlemail.com> wrote: >> > >> > Hi, >> > >> > I managed to get it to work this way (changing the Rprofile.site file) with >> > R2.7.2. I then made the mistake of updating to R2.8, and it stopped working. >> > Now changing the Rprofile.site file does nothing, and sending a block of >> > code gives me the "Error in source(.trPaths[5], echo = T) : object >> > ".trPaths" not found" error message. I triple checked all the additional >> > lines in the Rprofile.site file, path for .trPaths is correct. One point of >> > note is that Hmisc package appears not to be available. >> > >> > Thanks for any help you could give me! Otherwise it might be wise to revert >> > back to R2.7.2 or use the previous Tinn-R version. >> > >> > Bernardo >> > >> >> ______________________________________________ >> R-help at 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. > >
I had all these headaches with Tinn-R on Vista - tried reading all the message boards, reconfiguring .Rprofile, etc... ...no luck. I finally gave up and started using Eclipse with StatET. Now, it's actually easier to run RCMDs to check and release a package, and with SVN integration in Eclipse (with a plug-in), it's also easier to check code in and out. The only drawback is, the font-coloring isn't as nice as Tinn-R, but that's configurable - I will set it up to color like Tinn-R. -- View this message in context: http://www.nabble.com/Error-Running-TinnR-with-R-tp19477151p22753954.html Sent from the R help mailing list archive at Nabble.com.
Hi everybody, I figured my error out... one has to open Tinn-R "as administrator" by clicking with the right mouse on the Tinn-R icon. Then one can use R -> Configure -> Permanent without any problem. Thanks a lot to everybody for your great comments!!! Best Dennis -- View this message in context: http://n4.nabble.com/Error-Running-TinnR-with-R-tp876004p1591823.html Sent from the R help mailing list archive at Nabble.com.