[R] Error: object 'short' not found

David Winsemius dwinsemius at comcast.net
Tue Feb 21 20:02:27 CET 2012


On Feb 21, 2012, at 10:39 AM, kmittapalli wrote:

> should i keep the first line of the code like-
> pdf(file="Biology_2012_GOF.
> pdf", width=8.5, height=4.5)
> str( my.sgpd$Goodness_of_Fit$
> Biology_2012$Q1_Q2)
>
> Or should I just have your code?
> str( my.sgpd$Goodness_of_Fit$
> Biology_2012$Q1_Q2)

You are misinterpreting my advice. You got an error message about a  
missing object. I was trying figure out whether the object was even  
there. What happens when you copy-and-paste  this into your console  
command line?:

  str( my.sgpd$Goodness_of_Fit$Biology_2012$Q1_Q2)

I'm trying to figure out  (and show you how to do this next time) why  
R thinks that the item which should be a grob-class value is even  
there and if it is there, whether it is of the right class to be  
sending to grid.draw().

-- 
David.

>
> thanks again.
>
>
>
>
>
> On Tue, Feb 21, 2012 at 10:32 AM, David Winsemius [via R] <
> ml-node+s789695n4407351h60 at n4.nabble.com> wrote:
>
>>
>> On Feb 21, 2012, at 9:21 AM, kmittapalli wrote:
>>
>>> HI,
>>>
>>> I am trying to run this code
>>>
>>> pdf(file="Biology_2012_GOF.pdf", width=8.5, height=4.5)
>>>  grid.draw(my.sgpd$Goodness_of_Fit$Biology_2012$Q1_Q2)
>>> dev.off()
>>> I get an error mesage "object not found"- can someone please help?
>>
>> What does this return:
>>
>> str( my.sgpd$Goodness_of_Fit$Biology_2012$Q1_Q2)  # ???
>>
>> --
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
>> ______________________________________________
>> [hidden email] <http://user/SendEmail.jtp? 
>> type=node&node=4407351&i=0>mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the  
>> discussion
>> below:
>>
>> http://r.789695.n4.nabble.com/Error-object-short-not-found-tp3002159p4407351.html
>> To unsubscribe from Error: object 'short' not found, click here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3002159&code=a21pdHRhcGFsbGlAZ21haWwuY29tfDMwMDIxNTl8LTIwOTk3NDA2Nw== 
>> >
>> .
>> NAML<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml 
>> >
>>
>
>
>
> -- 
> Kavita Mittapalli, Ph.D.
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-object-short-not-found-tp3002159p4407368.html
> Sent from the R help mailing list archive at Nabble.com.
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list