Dear Rxperts.. I noticed a puzzling behavior of 'quote' in Linux and Windows environment based RStudio.. In Linux based RStudio , a1 <- quote(ID) The error message I get is: <simpleError in doTryCatch(return(expr), name, parentenv, handler): object 'ID' not found> <simpleError in is.scalar(val): object 'ID' not found> <simpleError in is(obj, "ore.frame"): object 'ID' not found> I dont get any error message when I do the same in Windows 7 based RStudio.. Could you please suggest how to use quote in Linux environment..and explain why there is such a difference? Thanks much in advance!! Santosh [[alternative HTML version deleted]]
(1) Do not post in html.
(2) This is the R-help forum, not the Rstudio help forum.
(3) The call
a1 <- quote(ID)
works just fine under R (not Rstudio) on my Linux box.
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
On 25/02/16 08:03, Santosh wrote:> Dear Rxperts..
>
> I noticed a puzzling behavior of 'quote' in Linux and Windows
environment
> based RStudio..
>
> In Linux based RStudio ,
>
> a1 <- quote(ID)
>
> The error message I get is:
>
> <simpleError in doTryCatch(return(expr), name, parentenv, handler):
object
> 'ID' not found>
> <simpleError in is.scalar(val): object 'ID' not found>
> <simpleError in is(obj, "ore.frame"): object 'ID' not
found>
>
>
> I dont get any error message when I do the same in Windows 7 based
RStudio..
>
>
> Could you please suggest how to use quote in Linux environment..and explain
> why there is such a difference?
>
> Thanks much in advance!!
On Wed, Feb 24, 2016 at 3:47 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> > (1) Do not post in html. > > (2) This is the R-help forum, not the Rstudio help forum. > > (3) The call > > a1 <- quote(ID) > > works just fine under R (not Rstudio) on my Linux box.Works fine on my Linux machine too, even in Rstudio.> > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > On 25/02/16 08:03, Santosh wrote: >> >> Dear Rxperts.. >> >> I noticed a puzzling behavior of 'quote' in Linux and Windows environment >> based RStudio.. >> >> In Linux based RStudio , >> >> a1 <- quote(ID) >> >> The error message I get is: >> >> <simpleError in doTryCatch(return(expr), name, parentenv, handler): object >> 'ID' not found> >> <simpleError in is.scalar(val): object 'ID' not found> >> <simpleError in is(obj, "ore.frame"): object 'ID' not found> >> >> >> I dont get any error message when I do the same in Windows 7 based >> RStudio.. >> >> >> Could you please suggest how to use quote in Linux environment..and >> explain >> why there is such a difference? >> >> Thanks much in advance!! > > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.