Skip to content

Urgent Help

3 messages · Bin1aya, Stefan Grosse, John Kane

#
Dear Sir,

I am using RClimDex. I get following error. 
     Error in scan(file, what, nmax, sep, dec, quote, skip, nlines,
na.strings,  : 
         scan() expected 'a real', got 'T'

I have done copy paste of climate data from excel file to notepad and tried
to upload. I do not have any knowledge about programming languages. Please
help me.

Regards,
Binaya Pasakhala
#
On Wed, 19 Aug 2009 10:01:19 -0700 (PDT) Bin1aya <bpasakhala at gmail.com>
wrote:

B> I have done copy paste of climate data from excel file to notepad
B> and tried to upload. I do not have any knowledge about programming
B> languages. Please help me.

There are better ways of importing data from Excel. Have a look at the
wiki:
http://wiki.r-project.org/rwiki/doku.php?id=tips:data-io:ms_windows

The first possible solution path should work...

hth
Stefan
#
There are several ways to get data from Excl to R.  One of the simplist ways is to save the data as a csv (comma seperated file) and read the data into R from that file using read.csv()

Example

read.csv(file="D:/Book1.csv", header=TRUE)
--- On Wed, 8/19/09, Bin1aya <bpasakhala at gmail.com> wrote:

            
__________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Opt
ernetexplorer/