tag:blogger.com,1999:blog-7060659261993016566.post6066667973402111032..comments2023-10-28T05:05:55.555-05:00Comments on A second megabyte of memory: Julia functions for the Rmath libraryDouglas Bateshttp://www.blogger.com/profile/16223568223556405423noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7060659261993016566.post-41538114244878366052022-11-07T07:37:10.934-06:002022-11-07T07:37:10.934-06:00bocoran slot gacor 2022 www.bocorangratis.netbocoran slot gacor 2022 www.bocorangratis.netBerita Terbaru Seputar Sepak Bolahttps://www.blogger.com/profile/11260537495358709813noreply@blogger.comtag:blogger.com,1999:blog-7060659261993016566.post-30324223156431329292012-03-28T01:10:38.131-05:002012-03-28T01:10:38.131-05:00Installation of the separate math library is descr...Installation of the separate math library is described in chapter 9 of the R Administration and Installation manual, available under the Manuals tab at the left side of any of the CRAN sites.Douglas Bateshttps://www.blogger.com/profile/16223568223556405423noreply@blogger.comtag:blogger.com,1999:blog-7060659261993016566.post-28371349205316119582012-03-28T01:06:08.644-05:002012-03-28T01:06:08.644-05:00But do you have libRmath compiled as a separate li...But do you have libRmath compiled as a separate library? On an Ubuntu system I can install the r-mathlib package which creates /usr/lib/libRmath.so. As a result I have forgotten how to create the separate library and I can't see it immediately. You may find it described in the R Administration manual available at any of the CRAN sites such as cran.us.R-project.orgDouglas Bateshttps://www.blogger.com/profile/16223568223556405423noreply@blogger.comtag:blogger.com,1999:blog-7060659261993016566.post-13531757743866565592012-03-27T21:53:56.543-05:002012-03-27T21:53:56.543-05:00For some reason, I cannot load the Rmath bundle:
...For some reason, I cannot load the Rmath bundle:<br /><br />julia> load("Rmath.jl")<br />dlopen(libRmath.bundle, 2): image not found<br />could not load module libRmath<br /> in dlopen at base.jl:98<br /> in include at src/boot.jl:198<br /> in load at util.jl:176<br /> in load at util.jl:188<br />at Rmath.jl:2<br /> in load at util.jl:199<br /><br />this is despite having R_HOME defined and Rmath.h in $R_HOME/include. Am I missing a step?Chrishttps://www.blogger.com/profile/17662171044478855625noreply@blogger.comtag:blogger.com,1999:blog-7060659261993016566.post-26194013667485056562012-03-27T12:37:43.984-05:002012-03-27T12:37:43.984-05:00Yes, thanks for catching that. Having spent the d...Yes, thanks for catching that. Having spent the day in various airports I had enough time to read over the posting and edit and expand it. So I am going to do a major update including fixing that typo.Douglas Bateshttps://www.blogger.com/profile/16223568223556405423noreply@blogger.comtag:blogger.com,1999:blog-7060659261993016566.post-33111989574781147292012-03-27T05:21:45.725-05:002012-03-27T05:21:45.725-05:00Thank's for this useful post...julia is very i...Thank's for this useful post...julia is very interesting (my thir choice after R and C++)<br /><br />Just a small typo:<br />pchisq(q::Number, df::Number, lower_tail::Bool, log_p::Bool) =<br /> ccall(dlsym(_jl_libRmath,:pchisq),Float64,(Float64,Float64,Int32,Int32), x, df, lower_tail, log_p)<br /><br />Should be :<br />pchisq(q::Number, df::Number, lower_tail::Bool, log_p::Bool) =<br /> ccall(dlsym(_jl_libRmath,:pchisq),Float64,(Float64,Float64,Int32,Int32), q, df, lower_tail, log_p)<br /><br />"q" instead of "x" inside the function.dickoahttps://www.blogger.com/profile/03289036717410396319noreply@blogger.com