[R] Start preferred RGui

2008-07-11 Thread marciarr

Dear R users,
I have been having a problem since I installed the new versions of TinnR and
R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by the
command start preferred RGUI, on the R tab of TinnR's menu.  But now,
since I updated both softwares (which was necessary for some compatibility
issue with Windows Vista), the path for my preferred RGui ( C:\Program
Files\R\R-2.6.0\bin\Rgui.exe) changes every time I close Tinn-R to the
incomplete path \bin\Rgui.exe. I have to re-set it then everytime I open
it... Is anyone having a similar problem? Any suggestions?
Thank you very much,
Marcia
-- 
View this message in context: 
http://www.nabble.com/Start-preferred-RGui-tp18400190p18400190.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread Keith Jewell
Hi,

See 
https://sourceforge.net/forum/forum.php?thread_id=1741502forum_id=481901

This is a bug in the current version of  Tinn-R (1.19.4.7).  As far as I 
know version 1.19.5.0 hasn't been released yet. The workarounds suggested by 
JCFaria and Dean don't work for me.

I still have to reset the RGui path each time I start Tinn-R. I anyone else 
has any suggestions, I'd appreciate them!

Regards,

Keith Jewell

marciarr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

 Dear R users,
 I have been having a problem since I installed the new versions of TinnR 
 and
 R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by 
 the
 command start preferred RGUI, on the R tab of TinnR's menu.  But now,
 since I updated both softwares (which was necessary for some compatibility
 issue with Windows Vista), the path for my preferred RGui ( C:\Program
 Files\R\R-2.6.0\bin\Rgui.exe) changes every time I close Tinn-R to the
 incomplete path \bin\Rgui.exe. I have to re-set it then everytime I open
 it... Is anyone having a similar problem? Any suggestions?
 Thank you very much,
 Marcia
 -- 
 View this message in context: 
 http://www.nabble.com/Start-preferred-RGui-tp18400190p18400190.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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.


__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread Gabor Grothendieck
I haven't used TinnR but in batchfiles
http://batchfiles.googlecode.com
the Rversions.hta script will bring up a dialog showing you
which versions of R you have, according to the registry,
and it will let you set the default version of R by setting the registry
appropriately.  If TinnR uses the registry in absense of the
path setting then that would do it.

On Fri, Jul 11, 2008 at 5:42 AM, marciarr [EMAIL PROTECTED] wrote:

 Dear R users,
 I have been having a problem since I installed the new versions of TinnR and
 R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by the
 command start preferred RGUI, on the R tab of TinnR's menu.  But now,
 since I updated both softwares (which was necessary for some compatibility
 issue with Windows Vista), the path for my preferred RGui ( C:\Program
 Files\R\R-2.6.0\bin\Rgui.exe) changes every time I close Tinn-R to the
 incomplete path \bin\Rgui.exe. I have to re-set it then everytime I open
 it... Is anyone having a similar problem? Any suggestions?
 Thank you very much,
 Marcia
 --
 View this message in context: 
 http://www.nabble.com/Start-preferred-RGui-tp18400190p18400190.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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.


__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread bartjoosen

Re-installing R did the trick for me a while ago, don't know if this still
works with the current Tinn-R version.



Ptit_Bleu wrote:
 
 Hello Marcia,
 
 I had a similar problem when I updated Tinn-R.
 Under XP, in the file Document and Settings\... \Application
 Data\Tinn-R\ini\Tinn.ini,
 I replaced
 sPathRGui=\bin\Rgui.exe
 by
 rguiPreferred=C:\R\bin\Rgui.exe (to adjust to your path)
 
 It worked for me. I hope it will work for you.
 
 Have a nice week-end,
 Ptit Bleu. 
 

-- 
View this message in context: 
http://www.nabble.com/Start-preferred-RGui-tp18400190p18402969.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread Keith Jewell
Hi All,

This didn't work for me :-(
[Tinn-R 1.19.5.7, R 2.7.0, Windows Server 2003, Standard x64 Edition]

When I edited Tinn.ini to have the right path it worked the first time I 
startedd Tinn-R, but when I closed Tinn-R it replaced Tinn.ini with a new 
file without my edits, so the next start of Tinn-R had lost the path to Rgui 
again. Effectively, this is much the same as when I tried editing sPathRGui= 
to the correct path.

I guess (which means I'm probably wrong) this was the bug introduced at 
Tinn-R 1.19.5.7, it overwrites Tinn.ini, replacing some customisations with 
(incorrect) defaults.

Never mind, still a nice tool.

Keith J

Ptit_Bleu [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

 Hello Marcia,

 I had a similar problem when I updated Tinn-R.
 Under XP, in the file Document and Settings\... \Application
 Data\Tinn-R\ini\Tinn.ini,
 I replaced
 sPathRGui=\bin\Rgui.exe
 by
 rguiPreferred=C:\R\bin\Rgui.exe (to adjust to your path)

 It worked for me. I hope it will work for you.

 Have a nice week-end,
 Ptit Bleu.
 --

__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread Ptit_Bleu

You are right Keith : it doesn't work. Sorry.
In fact it works for a previous version but not for the new ones. Bad luck.
Nice week-end anyway,
Ptit Bleu.
-- 
View this message in context: 
http://www.nabble.com/Start-preferred-RGui-tp18400190p18404597.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Start preferred RGui

2008-07-11 Thread John C Frain
After installing a new version of R, start a console session, cd to
the bin subdirectory of the new R installation (C:\Program
Files\R\R-2.7.1\bin in my case) and run the program RSetReg.exe.  This
will update your registry entries and Tinn=R should find the correct
version of R.  If you have kept your old version (recommended if you
have packages loaded until you have verified that the packages run
under the new system) and you want Tinn-R to load the old version
repeat the process from the bin subdirectory of your old R
installation

This works with XP and I presume that it works with Vista if you have
your permissions set appropriately

Best Regards

John

Best Regards

2008/7/11 Ptit_Bleu [EMAIL PROTECTED]:

 You are right Keith : it doesn't work. Sorry.
 In fact it works for a previous version but not for the new ones. Bad luck.
 Nice week-end anyway,
 Ptit Bleu.
 --
 View this message in context: 
 http://www.nabble.com/Start-preferred-RGui-tp18400190p18404597.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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.




-- 
John C Frain
Trinity College Dublin
Dublin 2
Ireland
www.tcd.ie/Economics/staff/frainj/home.html
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

__
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.