I believe you can import excel files via the foreign package. As was suggested 
saving the file as .csv would allow you to import directly via read.csv. If 
you're new to R you should read the docs on cran. They are very good.

jim holtman <[email protected]> wrote:

>What exactly are you trying to do with Excel?  Have you tried
>exporting as CSV and then using 'read.csv' in R?  Exactly what error
>message are you getting and what statements were you executing.
>
>To create your matrix, use 'matrix',
>
>On Sat, Jan 31, 2009 at 2:55 PM, Anna Supady <[email protected]> wrote:
>> Hello Everyone,
>> I am a new R user. Not everything goes so easy. I have many questions. I
>> believe that this is the place where one can discuss issue in R programing.
>> I cannot get excel file open using file location. Only note pad works but
>> some data is in excel. How can I do that? Also, I need to create MATRIX OF
>> DIMENSIONS nxn. I am not sure how to do that.
>>
>> Thanks for help,
>> Ania
>>
>>        [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> [email protected] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>>
>
>
>
>-- 
>Jim Holtman
>Cincinnati, OH
>+1 513 646 9390
>
>What is the problem that you are trying to solve?
>
>_______________________________________________
>[email protected] mailing list
>https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching

Reply via email to