[Rd] readRegistry function (PR#12937)
Duncan Murdoch
murdoch at stats.uwo.ca
Fri Sep 19 21:58:46 CEST 2008
On 9/19/2008 1:25 PM, zivan.karaman at gmail.com wrote:
> Full_Name: Zivan Karaman
> Version: 2.7.2
> OS: Windows XP
> Submission from: (NULL) (195.6.68.214)
>
>
> I'm puzzled by the readRegistry function.
>
> Shouldn't the "hive" argument be something like
> c("HLM", "HCR", "HCU", "HU", "HCC", "HPD") rather than
> c("HLM", "HCR", "HCU", "HU", "HCC, HPD").
Yes, that's a typo. I'll fix it.
>
> For example,
>> readRegistry("Test", "HCC, HPD")
> Error in readRegistry("Test", "HCC, HPD") : invalid 'hive' value
>
> Please note also that only the first character of the 'key' argument value is
> printed in case of error (key not found).
>
>> readRegistry("SOFTWARE\\DummyTest", "HLM")
> Error in readRegistry("SOFTWARE\\DummyTest", "HLM") :
> Registry key 'S' not found
I'll also fix that. Thanks for the report!
Duncan Murdoch
>> sessionInfo()
> R version 2.7.2 (2008-08-25)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=French_France.1252;LC_CTYPE=French_France.1252;LC_MONETARY=French_France.1252;LC_NUMERIC=C;LC_TIME=French_France.1252
>
> attached base packages:
> [1] stats graphics grDevices utils base
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list