[Lign251] Hmwk problem #4 - file-loading issue

Melanie A. Tumlin mtumlin at cogsci.ucsd.edu
Sun Oct 14 11:22:00 PDT 2007


Having successfully loaded the data file, I'm now receiving the  
following message in response to the hist() command:

Error in hist.default(brown$count, freq = FALSE, plot = FALSE) :
	'x' must be numeric

Any thoughts on how to fix this?

-- Melanie

----
"If we knew what we were doing, it wouldn't be called research." --  
Albert Einstein

Melanie A. Tumlin
Department of Cognitive Science
University of California, San Diego
9500 Gilman Drive #0515
La Jolla, CA  92093-0515
email: mtumlin at cogsci.ucsd.edu



On 14 Oct 2007, at 11:10, Josée Poirier wrote:

> Alternatively, you can specify the URL of the data file in your R
> command, and R will find the data:
>
>  x <-
> read.table("http://ling.ucsd.edu/courses/lign251/brown-counts- 
> lengths-nsyll",header=T,quote="")
>
> josée
>
>
>> Is anyone else still having problems loading the file into R? Even  
>> using
>> the code provided on the website, I get this message:
>>
>> Error in file(file, "r") : unable to open connection
>> In addition: Warning message:
>> In file(file, "r") :
>>   cannot open file 'brown-counts-lengths-nsyll', reason 'No such  
>> file or
>> directory'
>>
>> I'm assuming this means it's not looking in the right place, but I  
>> can't
>> figure out where the right place is. Any clues?
>>
>> Thanks,
>> Dan
>>
>> _______________________________________________
>> Lign251 mailing list
>> Lign251 at ling.ucsd.edu
>> http://pidgin.ucsd.edu/mailman/listinfo/lign251
>>
>
> _______________________________________________
> Lign251 mailing list
> Lign251 at ling.ucsd.edu
> http://pidgin.ucsd.edu/mailman/listinfo/lign251

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pidgin.ucsd.edu/pipermail/lign251/attachments/20071014/a2749663/attachment.htm 


More information about the Lign251 mailing list