First, please check Settings->Configure RKWard->General. There are several options on how to save the workplace layout. Make sure, this is set to "Save/restore with R workspace, when saving/loading R workspace".
If that does not help, look out for a file in the same directory as your saved workspace, with the same file name, but an appended ".rkworkplace". Does this file exist (if the above option is set, it should be created when you save the workspace)? Open it in a text editor. Does it appear to contain the relevant script files?
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Several workspaces in the same directory should not be a problem. But please test, whether it works, when saving to a different directory. Perhaps there is a problem with the permissions to create files in that dir?
Please take a look at the "Command log" window. When saving, you should see a call to rk.save.workplace() before the call to save(). Is that present? Are there any errors attached to that? What if you copy and paste the call to rk.save.workplace() to the R Console window?
Does rk.get.workspace.url() yield the correct result?
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You were right: saving to a different directory worked.
The Command log reported the absence of rworkplace file.
There were "" characters in the path to the directory. Replacing them with "_" apparently solved my problem. However, this was never a problem before… strange.
thanks !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know why it used to work. Possibly file names like this were handled slightly differently in a previous version of R.
I have committed a change to the development version of RKWard, which should fix the problem. Please consider testing the fix. For Ubuntu we have daily builds of the development version, here: https://launchpad.net/~rkward-devel/+archive/rkward-dailys (NOTE: It will take up to 24 hours until the fix is actually available in the daily builds, so please try tomorrow).
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Reloading a previously saved workspace fails to open the associated script files.
Any tips to solve that ?
Thanks.
Config:
Ubuntu 11.04 (Natty) 64B
rkward 0.5.7 (KDE 4.6.2)
R version 2.13.1
Hi!
First, please check Settings->Configure RKWard->General. There are several options on how to save the workplace layout. Make sure, this is set to "Save/restore with R workspace, when saving/loading R workspace".
If that does not help, look out for a file in the same directory as your saved workspace, with the same file name, but an appended ".rkworkplace". Does this file exist (if the above option is set, it should be created when you save the workspace)? Open it in a text editor. Does it appear to contain the relevant script files?
Regards
Thomas
Hi Thomas,
Thank you for your quick answer.
1) The setting in Settings->Configure RKWard->General was OK
2) I found no file nor with the same name nor appended ".rkworkplace"
I'm storing several workspaces in a same directory. Could it be the source of that issue ?
Regards
Several workspaces in the same directory should not be a problem. But please test, whether it works, when saving to a different directory. Perhaps there is a problem with the permissions to create files in that dir?
Please take a look at the "Command log" window. When saving, you should see a call to rk.save.workplace() before the call to save(). Is that present? Are there any errors attached to that? What if you copy and paste the call to rk.save.workplace() to the R Console window?
Does rk.get.workspace.url() yield the correct result?
Regards
Thomas
You were right: saving to a different directory worked.
The Command log reported the absence of rworkplace file.
There were "" characters in the path to the directory. Replacing them with "_" apparently solved my problem. However, this was never a problem before… strange.
thanks !
HI!
I don't know why it used to work. Possibly file names like this were handled slightly differently in a previous version of R.
I have committed a change to the development version of RKWard, which should fix the problem. Please consider testing the fix. For Ubuntu we have daily builds of the development version, here: https://launchpad.net/~rkward-devel/+archive/rkward-dailys (NOTE: It will take up to 24 hours until the fix is actually available in the daily builds, so please try tomorrow).
Regards
Thomas