Hi, Sarah,

Thank you! I knew I was missing something obvious, but I couldn't figure it
out. I actually first typed  install.packages(R.utils) and forgot the
quotations, so I got an error message:Error in install.packages : object
'R.utils' not found. I didn't know it was because of the quotation marks,
so I thought the name must be just "utils".





On Tue, Apr 2, 2013 at 9:16 AM, Sarah Goslee <sarah.gos...@gmail.com> wrote:

> Why do you think the utils package and the R.utils package are the same
> thing?
>
> Sarah
>
>
> On Tuesday, April 2, 2013, Yi Yuan wrote:
>
>> Hi all,
>>
>> When I called arrayIndex(20:23, dim=c(4,3,3)), it says "Error: could not
>> find function "arrayIndex"in R". So I called ls("package:utils") to see
>> the
>> functions inside:
>>   [1] "?"
>>   [2] "adist"
>>   [3] "alarm"
>>   [4] "apropos"
>>   [5] "aregexec"
>>   [6] "argsAnywhere"
>>   [7] "arrangeWindows"
>>   [8] "as.person"
>> I'm only listing the first 8 results because it has a total of 223  listed
>> functions,which is too long.
>>
>> When I looked up utils package, This page
>> http://astrostatistics.psu.edu/su07/R/html/utils/html/00Index.html shows
>> exactly the same result, but this page
>> http://rss.acs.unt.edu/Rdoc/library/R.utils/html/00Index.html shows a
>> different list and none of the functions listed( such as arrayIndex,
>> bunzip, doCall) is recognized by R:No documentation for ‘arrayIndex’ in
>> specified packages and libraries: you could try ‘??arrayIndex’.  So I'm
>> just confused:
>>
>> 1. why does utils package have two different lists of functions?
>> 2. If arrayIndex() comes with utils package, why can't R recognize it ? If
>> it doesn't come with utils, then what package should I install to use
>> functions such as arrayIndex, bunzip, doCall,etc. ?
>>
>> Thanks!
>>
>>         [[alternative HTML version deleted]]
>>
>>
>
> --
> Sarah Goslee
> http://www.stringpage.com
> http://www.sarahgoslee.com
> http://www.functionaldiversity.org
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to