[R] [FORGED] Use of "quote" in Windows and Linux..

Rolf Turner r.turner at auckland.ac.nz
Wed Feb 24 21:47:25 CET 2016


(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!!



More information about the R-help mailing list