[R-SIG-Mac] can not open R

Federico Calboli f.calboli at imperial.ac.uk
Fri Feb 24 18:15:48 CET 2012


This is not a R Mac question, and using an informative subject would be a good start.

> I have about 30 .txt files which are needed to be concatenated into one
> file(without change for each file). Is there an efficient way to do this in
> R?

given names like file1.txt … file30.txt

cat file2.txt >> file1.txt

will append file2 to file1

A simple bash loop will do it *efficiently*



F


> 
> Thanks a lot!
> 
> Dawn
> 
> 
> 
> On Thu, Feb 23, 2012 at 3:34 PM, Dawn <dawn1313 at gmail.com> wrote:
> 
>> Hi,
>> 
>> It works now after I delete it. GREAT!
>> Thank you so much!
>> 
>> Dawn
>> 
>> On Thu, Feb 23, 2012 at 3:16 PM, Steve Lianoglou <
>> mailinglist.honeypot at gmail.com> wrote:
>> 
>>> Hi Dawn,
>>> 
>>> When replying to R help emails, please "reply all" so that a copy of
>>> the correspondence gets sent back to the mailing list.
>>> 
>>> Anyway, if we jump to your symptoms:
>>> 
>>> On Thu, Feb 23, 2012 at 2:46 PM, Dawn <dawn1313 at gmail.com> wrote:
>>> [snip]
>>>>> Do you run it through the terminal?
>>>> 
>>>>   No.
>>>> 
>>>>> Did you install it using the *.pkg and now the R*.app(s) in your
>>>>> /Applications folder aren't working?
>>>> 
>>>>  yes. After I installed using the R-2-2.14.1.pkg, both R and R64 icons
>>>> appeared in /Applications folder. But by doubling clicking both, neither
>>>> could be opened.(The icon in the docking area is jumping all the time)
>>>> 
>>>>> 
>>>>> Are you using RStudio ...
>>>> 
>>>>   I don't think so.
>>>>> 
>>>>> 
>>>>> Can you tell us the error message you see?
>>>> 
>>>>   no error message, just jumping all the time.
>>> 
>>> I wonder if it is trying to load some data file you have previously
>>> saved? This would be in ~/.RData (or is it ~/.Rdata).
>>> 
>>> Can you open your terminal and run this command:
>>> 
>>> ls ~/.R*
>>> 
>> 
>>  /Users/dawn/.Rapp.history and I deleted it.
>> 
>>> 
>>> Do you see any such .RData file there? If so, delete it and try again
>>> to run R again (or just move that file to the desktop if you don't
>>> want to delete it).
>>> 
>>> Another thing to try while you're in the terminal is to just run R
>>> from inside it to see what's cooking, perhaps like so:
>>> 
>>> R --vanilla
>>> 
>>> Does R come up in your terminal?
>>> 
>> 
>>   yes
>> 
>>> 
>>> -steve
>>> 
>>> --
>>> Steve Lianoglou
>>> Graduate Student: Computational Systems Biology
>>> | Memorial Sloan-Kettering Cancer Center
>>> | Weill Medical College of Cornell University
>>> Contact Info: http://cbio.mskcc.org/~lianos/contact
>>> 
>> 
>> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list