Hi,
Does anyone know what might prevent the results of a an executed command to show up in the R Console? Every time I type a command the line ends up cleared and no output is displayed. It seems that the command is getting executed as I can can see the result if I open up r_out. It even shows up in the history.
Here is a simple example of what I get on newly installed Rdaemon after launching from TM_Rdaemon.app and executing:
ls()
After hitting return the console gets cleared to:
In r_out I get:
WARNING: unknown option '--TMRdaemon'
ARGUMENT '2' __ignored__
source("/Users/linaskk/Library/Application Support/Rdaemon/daemon/start.r") sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');cat(geterr
<ary/Application Support/Rdaemon/r_tmp');cat(geterrm essage());sink(file=NULL)
sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');args(ls) sink(file=NULL) sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');cat(gsub('
<ary/Application Support/Rdaemon/r_tmp');cat(gsub('. *?/library/(.*?)/.*','\1
<aemon/r_tmp');cat(gsub('.*?/library/(.*?)/.*','\1' ,as.vector(help('ls',try.
<?/library/(.*?)/.*','\1',as.vector(help('ls',try.a ll.packages=F)),perl=T),s
<as.vector(help('ls',try.all.packages=F)),perl=T),se p='\n')
sink(file=NULL) ls()
[1] "jpeg" "pdf" "png"
I've used Rdaemon before on other systems running the same OS X 10.6.8 without a problem, so I am not sure why it doesn't work on this particular system. The same thing happens in both TM1 and TM2.
-Liisi
Hi Liisi,
sorry for thew delay but I'm rather busy.
On 19.01.2012, at 22:30, Kaari Linask wrote:
Does anyone know what might prevent the results of a an executed command to show up in the R Console? Every time I type a command the line ends up cleared and no output is displayed. It seems that the command is getting executed as I can can see the result if I open up r_out. It even shows up in the history.
Here is a simple example of what I get on newly installed Rdaemon after launching from TM_Rdaemon.app and executing:
ls()
After hitting return the console gets cleared to:
Hmm, does this happen all the time even if you restart RDaemon/TM/Mac? The only circumstance I can can think of is if something while executing went wrong and the redirect of RDaemon's output wasn't set correctly.
Try to execute the Rdaemon bundle command "Reset Output" [⌥⌘A - in "Auxiliaries" sub-folder] several times.
And please try to execute that command in R or R.app GUI: cat(gsub('.*?/library/(.*?)/.*','\1',as.vector(help('ls',try.all.packages=F)),perl=T),sep='\n')
Is the output "base"?
If this doesn't help please tell me which R version (32 or 64 bit, and locales), Rdaemon version (look at help for date), which Mac OS version, and sessionInfo().
Cheers, --Hans
Hi Hans,
This happens every time with every command I've tried except for q(). I tried doing the "Reset Output" command, but it had no effect.
I'm running OS X 10.6.8 The Rdaemon version date is Dec 09 2009
cat(gsub('.*?/library/(.*?)/.*','\1',as.vector(help('ls',try.all.packages=F)),perl=T),sep='\n')
base
sessionInfo()
R version 2.14.0 (2011-10-31) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
-Liisi On Jan 23, 2012, at 5:23 AM, Hans-Jörg Bibiko wrote:
Hi Liisi,
sorry for thew delay but I'm rather busy.
On 19.01.2012, at 22:30, Kaari Linask wrote:
Does anyone know what might prevent the results of a an executed command to show up in the R Console? Every time I type a command the line ends up cleared and no output is displayed. It seems that the command is getting executed as I can can see the result if I open up r_out. It even shows up in the history.
Here is a simple example of what I get on newly installed Rdaemon after launching from TM_Rdaemon.app and executing:
ls()
After hitting return the console gets cleared to:
Hmm, does this happen all the time even if you restart RDaemon/TM/Mac? The only circumstance I can can think of is if something while executing went wrong and the redirect of RDaemon's output wasn't set correctly.
Try to execute the Rdaemon bundle command "Reset Output" [⌥⌘A - in "Auxiliaries" sub-folder] several times.
And please try to execute that command in R or R.app GUI: cat(gsub('.*?/library/(.*?)/.*','\1',as.vector(help('ls',try.all.packages=F)),perl=T),sep='\n')
Is the output "base"?
If this doesn't help please tell me which R version (32 or 64 bit, and locales), Rdaemon version (look at help for date), which Mac OS version, and sessionInfo().
Cheers, --Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 23.01.2012, at 21:25, Kaari Linask wrote:
This happens every time with every command I've tried except for q(). I tried doing the "Reset Output" command, but it had no effect.
hmm, this is really weird.
Ok, how many times did you execute "Reset Output"? R's sink() works as stack thus please call it 5 or 10 times.
What does happen if you execute as first command after start "1+1"? Do you see "[1] 2" ?
Then I forgot to ask which Ruby version is running on your system since R+Rdaemon only run on 1.8.x.
Next question is whether you run any self-defined R code while start?
Did you try to delete all R bundle including the folder ~/Library/Application Support/Rdaemon and re-install all these bundles?
Cheers, --hans
I "Reset Output" a few times initially, but now tried 5, 10+. The 1+1 just ends up cleared like any other command. I do have a few different ruby versions installed through rvm, but the system version is 1.8.7-p249. I've now tried removing and reinstalling Rdaemon with setting everything to use the system ruby (although on another sytsem with TM_RUBY set to a 1.9.2 version of ruby, Rdaemon seems to be working just fine, so I am not sure what determines which ruby Rdaemon uses). The only self defined code was setwd(), and pdf and quartz width and height changes, but I now have left the default startOptions.R. Would it help to try a new User account?
The only thing different with newly installed bundles and Rdaemon launched from TM_Rdaemon.app is that I got an "Rdaemon Error: The pipe /tmp/r_in is not found! You have to kill Rdaemon manually." When I kill manually and start again, it goes back to clearing everything, so mostly no difference.
-Liisi On Jan 23, 2012, at 4:55 PM, Hans-Jörg Bibiko wrote:
On 23.01.2012, at 21:25, Kaari Linask wrote:
This happens every time with every command I've tried except for q(). I tried doing the "Reset Output" command, but it had no effect.
hmm, this is really weird.
Ok, how many times did you execute "Reset Output"? R's sink() works as stack thus please call it 5 or 10 times.
What does happen if you execute as first command after start "1+1"? Do you see "[1] 2" ?
Then I forgot to ask which Ruby version is running on your system since R+Rdaemon only run on 1.8.x.
Next question is whether you run any self-defined R code while start?
Did you try to delete all R bundle including the folder ~/Library/Application Support/Rdaemon and re-install all these bundles?
Cheers, --hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate