You are here

link to another program

7 posts / 0 new
Last post
heberto
Offline
Last seen: 16 years 8 months ago
Joined: 2007-07-10 10:48
link to another program

Hello, I am new to Portable Applications, so I know almost nothing about them .
I added a text editor 'Tin-R' to th PA, it works OK without any problems, now Tin-R is a special text editor for the statistical program R. R is started by Rgui.exe in the subdirectory bin of R-2.5.1. Tin-R has an option to enter the address of the R program. If I enter" K:\PortableApps\R-2.5.1\bin\Rgui.exe", Tinn-R can call and start R with no problems, but obviuosly "K:" is particular to this PC, in another it can be another letter. I tried "..\R-2.5.1\bin\Rgui.exe" to "..\..\..\R-2.5.1\bin\Rgui.exe" and none worked,
Can somebody please tell me how to set up this type of address to call another application?
Thanks
hberto

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2006-08-10 16:38
Don't know but...

I've never used it, and really I don't know how it might work, but, have you tried using one dot instead of two (".\R-2.5.1\bin\Rgui.exe")? two dots means "go back one folder" while one dot means "from where i'm at right now".
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

Bahamut
Bahamut's picture
Offline
Last seen: 12 years 3 months ago
Joined: 2006-04-07 08:44
Where is Tin-R?

You have to use the correct relative path. Also, if Tin-R doesn't support relative paths, you're SOL.

Vintage!

m2
Offline
Last seen: 13 years 1 month ago
Joined: 2006-12-12 12:00
You can try to use

You can try to use environment variables.
Create a bat launcher for Tin-R:
set tinr_dir=%cd%
start Tin-R

And write %tinr_dir%\..\R-2.5.1\bin\Rgui.exe as your Rgui path in it's config.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

jcfaria
Offline
Last seen: 8 years 8 months ago
Joined: 2015-05-02 17:37
Tinn-R Team

The development team of Tinn-R project is working to solve this little problem.

For now, when the drive letter is changed the easiest solution is to inform newly the path of R (Rterm.exe and Rgui.exe). At program startup it always checks if exists (on the informed path) the executable (Rterm.exe the Rgui.exe), if not found (due to drive letter changed) it will be assign ed UNKNOW.

But, if you will work with Rgui.exe, just individually start each program from the PA menu that Tinn-R will recognize the R running smoothly.

I few days this "bug" it will be solved.

Best,
J.C.Faria
Tinn-R Team

Mavis Beacon
Offline
Last seen: 8 years 6 months ago
Joined: 2015-05-17 04:46
Thread is eight years old!

"The development team of Tinn-R project is working to solve this little problem.". Bearing in mind this thread is a full eight years old, and this "little" problem has yet to be solved, I wonder how long it would take to solve a large problem?

jcfaria
Offline
Last seen: 8 years 8 months ago
Joined: 2015-05-02 17:37
Tinn-R Team

Hi,

Only in 2015/July the development team started work for this platform!
We did not know the problem (which was already fixed).
Only after answering this topic it was found that he was too old.
We think it was made (in the past) an attempt to portability without the knowledge of the development team.

Best,

Log in or register to post comments