楼主: coral033
1993 2

[问答] 使用TINN R出现的问题 [推广有奖]

  • 1关注
  • 17粉丝

VIP

古墓派预测分支

副教授

71%

还不是VIP/贵宾

-

威望
1
论坛币
114832 个
通用积分
70.0694
学术水平
58 点
热心指数
101 点
信用等级
49 点
经验
3228 点
帖子
525
精华
1
在线时间
695 小时
注册时间
2007-3-10
最后登录
2023-12-12

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Hi, I just got a new computer with windows 7 on it and I had a problem using Tinn R since two days ago.  The problem occurred when I selected a chunk of code and tried to run it all at once using the "R send:selection (echo = TRUE)" button, I got this error:

Error in source(.trPaths[5], echo = TRUE, max.deparse.length = 150) :
  object ".trPaths" not found


Luckily, I found one useful suggestion and sucessfully fix this problem. See as below:

I have got a solution worked for me. Make the follow steps in Administration mode (in Win7 right click on ikon -> Run as administrator), then in Tinn-R: R -> Configurate -> Permanaent.
Than delete the # mark from the UK and Brasil repository. Like this:

##=============================================================## Tinn-R: necessary packages and functions## Tinn-R: >= 2.2.0.2 with TinnR package >= 1.0.3##========## Set the URL of the preferred repository, below some examples:options(repos='http://software.rc.fas.harvard.edu/mirrors/R/')  # USA
options(repos='http://cran.ma.imperial.ac.uk/')  # UK
options(repos='http://brieger.esalq.usp.br/CRAN/') # Brazil


Run with hand all of the line (not just the the passage quoted above) and it should be fine.
  
For me it worked. I read a lot of forum about this problem non of them worked for me. Tried re-installation, older version, etc. So I thought maybe the other repositories will be OK, and they were.

Good luck with that.

Windows 7 32 bit
R 2.14.1
Tinn-R 2.3.7.1




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Tin Installation suggestion Selection Functions computer occurred selected solution

Out of difficulties, makes miracles.
沙发
kk22boy 发表于 2012-3-23 12:23:34 |只看作者 |坛友微信交流群
为什么不用Rstudio呢
如果该贴对您有些许帮助,希望你能回复一下或者评一下热心指数!谢谢!

使用道具

藤椅
dwl001 发表于 2012-3-23 13:40:00 |只看作者 |坛友微信交流群
You need add following context in file 'Rprofile.site'

.trPaths <- paste(paste(Sys.getenv('APPDATA'), '\\Tinn-R\\tmp\\', sep=''),
c('', 'search.txt', 'objects.txt', 'file.r', 'selection.r', 'block.r', 'lines.r'), sep='')

'Rprofile.site' is located at 'C:\Program Files\R\R-2.14.0\etc'.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 07:56