I have only done a quick initial test so far, but your workaround seems to
resolve the issue. Thanks a lot.
 

> library(RBloomberg)
Loading required package: rJava
> conn<-blpConnect()
R version 2.13.0 (2011-04-13)
rJava Version 0.8-8
RBloomberg Version 0.4-149
Java environment initialized successfully.
Looking for most recent blpapi3.jar file...
Adding C:\blp\API\APIv3\JavaAPI\v3.4.1.3\lib\blpapi3.jar to Java classpath
Bloomberg API Version 3.4.1.3
> bdp(conn, "AMZN US Equity", "NAME")
                         NAME
AMZN US Equity AMAZON.COM INC
> bdp(conn, "CLU1 Comdty", "PX_LAST")
            PX_LAST
CLU1 Comdty   95.63
> 

 


On July 11, 2011 at 4:27 PM Ana Nelson <nelson.ana@gmail.com> wrote:

> Several people have reported running into "Error in dimnames(x) <- dn
> : 'dimnames' applied to non-array" when trying to run RBloomberg.
>
> Having finally gotten a chance to investigate, I believe this is due
> to recent changes in the rJava package, as Java objects rather than R
> objects are being returned, hence we have a "non-array".
>
> Unfortunately I will not be able to issue a fix for several weeks. In
> the mean time, however, the following (untested) steps may act as a
> work-around.
>
> 1) uninstall RBloomberg
> 2) uninstall rJava
> 3) install rJava version 0.8.8 or lower (.tgz files are available
> http://www.rforge.net/rJava/files/)
> 4) reinstall RBloomberg via
>
> install.packages("RBloomberg",repos="http://r.findata.org/")
>
>
>
> I will have a proper fix as soon as I can, but I will probably not
> have access to a terminal for several weeks. (If anyone is interested
> in becoming involved in maintaining the RBloomberg package, please let
> me know off-list.)
>
> If you try this workaround, please reply and advise whether it solves
> this issue.
>
> Thanks,
> Ana
>
> _______________________________________________
> R-SIG-Finance@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should
> go.
	[[alternative HTML version deleted]]

