[R-SIG-Finance] RBBG with R 2.15.2
Paul Gilbert
pgilbert902 at gmail.com
Wed Apr 17 17:51:39 CEST 2013
This regarding setInternet2 and .jinit is probably related. It is
summarized from a personal correspondence forwarded to me by Geoff Wright:
(by memory so details may not be exactly correct)
-the issue was related to a change in stack size introduced with R
2.15.2 (using a stack size of 64m; even on Windows 32-bit systems).
- RStudio introduced a fix to use a smaller stack size on Windows 32-bit.
-With R 3.0 the stack size was changed back to 16m for the Win32 builds.
-Therefore, do not use R 2.15.2 or R 2.15.3 on Windows 32-bit (except
for using it with a recent RStudio release where they force smaller
stack sizes).
Paul
On 13-04-17 11:31 AM, John Laing wrote:
> The Java OOM error has crept up occasionally over many versions of R. There
> is nothing specific to 2.15.2, as many of us have used the package
> successfully in that version.
>
> If you're happy to use R 3.0, then great, nothing to be done here.
> Otherwise you should compare your JVM settings across the different R
> versions to see what's different.
>
> -John
>
>
> On Wed, Apr 17, 2013 at 10:44 AM, <ArvanitisCh at piraeusbank.gr> wrote:
>
>> Hello to everyone,
>>
>> Recently I have tried to use the package RBBG and I have remarked the
>> following issue:
>>
>> I have used r version R-2.15.2 and got
>>
>> require(Rbbg)
>> Loading required package: Rbbg
>> Loading required package: rJava
>> Warning message:
>> package 'rJava' was built under R version 2.15.3
>>
>> when I fired in R
>> blpConnect() I got the following (by now well known) error
>>
>> R version 2.15.2 (2012-10-26)
>> rJava Version 0.9-4
>> Rbbg Version 0.4-155
>> Java environment initialized successfully.
>> Looking for most recent blpapi3.jar file...
>> Adding C:\blp\API\APIv3\JavaAPI\v3.6.1.0\lib\blpapi3.jar to Java classpath
>> Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) :
>> java.lang.OutOfMemoryError: unable to create new native thread
>>
>> This seemed to me a memory issue of the JVM and I have started to google
>> around for a solution of the issue
>>
>> All of the JVM fine tunes I found around gave me no solution to the JVM
>> memory issue
>>
>> I have then decided to work with R version 3.0.0
>>
>> Automatically the above issue has resolved
>>
>> So is there is an issue inherent to the R version 2.15.2?
>>
>> Thank you in advance for your help
>>
>> Christos arvanitis
>>
>> sessionInfo()
>> R version 2.15.2 (2012-10-26)
>> Platform: i386-w64-mingw32/i386 (32-bit)
>>
>> locale:
>> [1] LC_COLLATE=English_United States.1252
>> [2] LC_CTYPE=English_United States.1252
>> [3] LC_MONETARY=English_United States.1252
>> [4] LC_NUMERIC=C
>> [5] LC_TIME=English_United States.1252
>>
>> attached base packages:
>> [1] stats graphics grDevices datasets utils methods base
>>
>> other attached packages:
>> [1] Rbbg_0.4-155 rJava_0.9-4 rcom_3.1-2 rscproxy_2.0-5
>>
>> loaded via a namespace (and not attached):
>> [1] tools_2.15.2
>>
>>
>>
>> MESSAGE CONFIDENTIALITY AND SECURITY NOTICE
>>
>> =========================================
>>
>> This message and/or its attachments may contain confidential and
>> privileged information and is intended for the named person or entity to
>> which it is addressed. Any use, copying or distribution of this information
>> by anyone other than the intended recipient(s) is prohibited by law. If you
>> receive this in error, please immediately delete it from your system and
>> notify the sender.
>>
>> The contents of this message contain personal opinions of the sender,
>> which are not the official views of Piraeus Bank nor do they consist a
>> provision of financial or advisory services unless expressly stated
>> otherwise. This message is not a solicitation and/or an offer or acceptance
>> of any proposal in relation to any contract or transaction unless expressly
>> otherwise indicated in the message itself.
>>
>> The Internet is not a secure or error-free environment, and Piraeus Bank
>> does not accept liability for any loss or damage arising from the use of
>> this message or from delayed, intercepted, corrupted or virus-infected
>> e-mail transmission.
>>
>>
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Finance at 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]]
>
> _______________________________________________
> R-SIG-Finance at 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.
>
More information about the R-SIG-Finance
mailing list