Hi Graham,

Glad you've found a way that works for you!

You must have 'Open in file editor' checked in the R.app Startup preferences for it to open the R.app editor and not 'Source input file' and selected the Built-in editor in the Editor preferences. In that case, what you saw was exactly what was supposed to happen.

Guess it only works with Dropbox on the 64-bit version of R.app. I don't have a 32-bit version, so can't verify it.

Did report this back to the alias so it can be found for future reference.

Regards,
Rob



On Apr 12, 2012, at 11:18 AM, Graham Smith wrote:

> Thanks Robert,
> 
> Indirectly you have solved my problem. I have now discovered that  the problem only exists with the 32 bit version of R.  
> 
> I noticed your screen shots were for the 64 bit version, I launched the 64 bit version here, and I can open the Dropbox directory and load a file with no problem.
> 
> Relaunched the 32 bit version, and Rcmdr and R still shutdowns  when double clicking on the DropBox directory.
> 
> I don't know enough about these things to know if that gives any clue as to where the problem is, but I assume there is no reason not to just continue using the 64 bit version.
> 
> As an aside, I'm not sure what was meant to happen when double clicking the file you sent. 
> 
> What actually happened was it launched the 32 bit version of R and put the script into the R script editor. If I then ran the script from the editor, Rcmdr launched and the script was run in R.
> 
> Thanks again,
> 
> Graham
> 
> On 12 April 2012 18:10, Robert J Goedman <goedman@mac.com> wrote:
> Hi Graham,
> 
> While this thread was going on I was traveling, so only occasionally I was able to follow the thread.
> 
> May I suggest (maybe you've done this already) to split it in 2 steps?
> 
> Just getting it to work with R (no Rcmdr) I believe works for you? To test that part, you can comment out the first line "library(Rcmdr)" in attached .R file.
> 
> I stored that file in ~/Dropbox/R/RCommander.R .
> 
> Otherwise double click on a simple e.g. below RCommander.R file in the dropbox 
> 
> Both work on my system:
> 
> > sessionInfo()
> R version 2.15.0 Patched (2012-04-10 r58965)
> 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     
> 
> loaded via a namespace (and not attached):
> [1] Rcpp_0.9.10
> > R.version
>                _                                           
> platform       x86_64-apple-darwin9.8.0                    
> arch           x86_64                                      
> os             darwin9.8.0                                 
> system         x86_64, darwin9.8.0                         
> status         Patched                                     
> major          2                                           
> minor          15.0                                        
> year           2012                                        
> month          04                                          
> day            10                                          
> svn rev        58965                                       
> language       R                                           
> version.string R version 2.15.0 Patched (2012-04-10 r58965)
> nickname       Easter Beagle                               
> > 
> 
> Regards,
> Rob
> 
> 
> 
> 
> 
> On Apr 12, 2012, at 12:55 AM, Graham Smith wrote:
> 
>> Not that this helps any, but just as an update
>> 
>> I have reinstalled both R and TCL/TK, which has made no difference.
>> 
>> Running Ubuntu 11.10 in virtual box on the Mac, I have updated R and Rcmdr
>> to the same versions as on the Mac, and then successfully opened the same
>> Dropbox folder that crases R on the Mac, from Rcmdr on Ubuntu.
>> 
>> Note this isn't a Dropbox folder in the Virtual Machine, but the Dropbox
>> folder on the Mac.
>> 
>> So no  further forward than tying it down to being a Mac thing, rather than
>> a Dropbox folder issue.
>> 
>> Graham
>> 
>> 	[[alternative HTML version deleted]]
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
> 


	[[alternative HTML version deleted]]

