[R] Error: object 'short' not found

Ista Zahn izahn at psych.rochester.edu
Tue Oct 19 16:11:40 CEST 2010


Hi Viki,

On Tue, Oct 19, 2010 at 10:03 AM, Viki S <isvik at live.com> wrote:
>
> Hi guys,
> Can anyone tell me what is the meaning of following command ?
>
> paste(execDir,paste(short,"myfile",sep="_"),sep="\")

The command means paste together the values in the variable execDir
with the pasted-together values in short and "myfile"

>
> R gives me an error :
>
> Error: object 'short' not found
>
> I tried to find help about 'short' in R, but could not find any such function/ object.

because it does not exist, as the error message informed you. You need
to create it, or, if you want the literal string "short", then you
need to put it in quotes.

-Ista

>
> Viki
>
>        [[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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list