Re: [Rd] CRAN package submission

2024-08-26 Thread jing hua zhao
EMR 0.1.0 pretest 2024-08-26 23:13:00 277K ... Best wishes, Jing Hua From: jing hua zhao Sent: Monday, August 26, 2024 12:05 PM To: Ben Bolker Cc: R-devel Subject: RE: [Rd] CRAN package submission Thanks for the suggestion - I gather I might have done something wrong , since I can

Re: [Rd] CRAN package submission

2024-08-26 Thread jing hua zhao
o know about the package and in my case I didn't receive email (so as to click) to proceed to Step 3 of the submission. From: Ben Bolker Sent: Monday, August 26, 2024 11:43 AM To: jing hua zhao Cc: R-devel Subject: Re: [Rd] CRAN package submission Try the foghorn package for checking th

[Rd] CRAN package submission

2024-08-26 Thread jing hua zhao
Dear CRAN / All, I appeared not to receive any email notification after upload a package update (to furnish the confirmation) -- is the system down? Many thanks, Jing Hua __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[Rd] read.csv

2024-04-16 Thread jing hua zhao
Dear R-developers, I came to a somewhat unexpected behaviour of read.csv() which is trivial but worthwhile to note -- my data involves a protein named "1433E" but to save space I drop the quote so it becomes, Gene,SNP,prot,log10p YWHAE,13:62129097_C_T,1433E,7.35 YWHAE,4:72617557_T_TA,1433E,7.73

Re: [Rd] Compiling error with glmnet and nloptr

2022-03-10 Thread jing hua zhao
: jing hua zhao Sent: 10 March 2022 10:45 To: R-devel Subject: Re: Compiling error with glmnet and nloptr Just a note that I used R 4.1.2 and with R 4.1.3 I had the same issues nevertheless I was able to go through with (not entirely sure preferable) nloptr once abs() is changed into fabs

[Rd] Compiling error with glmnet and nloptr

2022-03-10 Thread jing hua zhao
Dear All, I haven't been able to compile the latest glmnet and nloptr from CRAN wth the following error messages, glmnet: elnet_exp.cpp:141:59: required from here glmnetpp/include/glmnetpp_bits/elnet_point/gaussian_base.hpp:90:39: error: 'self' was not declared in this scope

[Rd] Help on mapping memory

2020-11-10 Thread jing hua zhao
er/tests, short of adding a driver program to pan.f and debug without R but before doing that any idea/insight would be greatly appreciated. Thank you so much, Jing Hua Zhao [[alternative HTML version deleted]] __ R-devel@r-proje

Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-24 Thread jing hua zhao
) prob2 = np.log(2.5e-50) prob12 = np.logaddexp(prob1, prob2) prob12 np.exp(prob12) As expected they are in good agreement with R. Best regards, Jing Hua From: Martin Maechler Sent: 24 June 2019 09:29 To: jing hua zhao Cc: William Dunlap; Martin Maechler; r

Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-24 Thread jing hua zhao
>> >> https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.misc.logsumexp.html >> >> I don't know where this has been implemented in the R ecosystem, but >> this sort of computation is the basis of the "Brobdingnag" package for

Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-21 Thread jing hua zhao
: peter dalgaard Sent: 21 June 2019 16:24 To: jing hua zhao Cc: Rui Barradas; r-devel@r-project.org Subject: Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z You may want to look into using the log option to qnorm e.g., in round figures: > log(1e-300) [1] -690.7755 > qnorm(-691, log=TRU

Re: [Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-21 Thread jing hua zhao
Dear Rui, Thanks for your quick reply -- this allows me to see the bottom of this. I was hoping we could have a handle of those p in genmoics such as 1e-300 or smaller. Best wishes, Jing Hua From: Rui Barradas Sent: 21 June 2019 15:03 To: jing hua zhao; r

[Rd] Calculation of e^{z^2/2} for a normal deviate z

2019-06-21 Thread jing hua zhao
Dear R-developers, I am keen to calculate exp(z*z/2) with z=qnorm(p/2) and p is very small. I wonder if anyone has experience with this? Thanks very much in advance, Jing Hua [[alternative HTML version deleted]] __ R-devel@r-project.org mai

Re: [Rd] use of buffers in sprintf and snprintf

2019-05-30 Thread jing hua zhao
ith https://www.stats.ox.ac.uk/pub/bdr/gcc9/README.txt and those specification might as well used in --configure-args above. Besst regards, Jing Hua From: R-devel on behalf of jing hua zhao Sent: 29 May 2019 15:49 To: r-devel@r-project.org Subject: [Rd] use of buffers in s

Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook")

2018-07-08 Thread jing hua zhao
A bit clarification -- tools::compactPDF() worked on the PDF at the current directory for me -- not sure about building PDF on the fly. From: R-devel on behalf of jing hua zhao Sent: 08 July 2018 16:00 To: Søren Højsgaard; r-devel@r-project.org Subject: Re

Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook")

2018-07-08 Thread jing hua zhao
Idid this inside R; not ideal but worked. From: R-devel on behalf of Søren Højsgaard Sent: 08 July 2018 15:46 To: r-devel@r-project.org Subject: Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook") Dear all, I run R CMD build --compact-vigne

Re: [Rd] issue with unz()?

2017-02-09 Thread jing hua zhao
The 2015 does contain three files. From: jing hua zhao Sent: 10 February 2017 00:13 To: r-devel@r-project.org Subject: issue with unz()? Dear R-devel, url0514 <- "http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/Stats19_Data_2

[Rd] Query over .Fortran call

2013-02-21 Thread jing hua zhao
Dear All, I would like to seek advice regarding .Fortran as I was referred to a query about package pan that the sets of results may alternate between iterations. For reference I have extracted the relevant Fortran as with the R code below. Note several packages based on JL Schafter's S-PLUS c

Re: [Rd] CRAN policies

2012-03-28 Thread jing hua zhao
> From: x...@yihui.name > Date: Tue, 27 Mar 2012 16:40:04 -0500 > To: r-devel@r-project.org > Subject: Re: [Rd] CRAN policies > > I have been wondering if it is possible to automate the checking > process to reduce human efforts, e.g. automatically check the packages > submitted to FTP, and send

[Rd] bookmarks with PDF()

2011-08-12 Thread jing hua zhao
Dear R-developers, I am wondering if it is possible to add bookmarks automatically to individual figures for pdf() when multiple figures are produced? If so, it would be very handy. Best regards, Jing Hua [[alternative HTML version deleted]]

[Rd] Error during wrapup: Bootstrapping failed

2010-08-11 Thread jing hua zhao
Dear DevelopeRs, We are performing some analysis/simulation involving dense genetic data with plspm. Owing to the high collinearity of the neighboring SNPs (independent variables) the function would fail frequently if bootstrap option is used. In some cases I can catch this as error via option

Re: [Rd] some queries over cross-compilation

2010-04-26 Thread jing hua zhao
http://win-builder.r-project.org/ > > Uwe Ligges > > > > On 26.04.2010 12:55, jing hua zhao wrote: > > > > Dear R developers, > > > > I ran into some problems that I wish to get around. > > > > Following the recommendation from "Buildi

[Rd] some queries over cross-compilation

2010-04-26 Thread jing hua zhao
Dear R developers, I ran into some problems that I wish to get around. Following the recommendation from "Building R for Windows" (Duncan's site) I was able to obtain some files from Brian's site for relevant tools for cross-compile. Initially I was able to cross-compile Windows packages happi

Re: [Rd] Deferred Default Marker

2010-04-26 Thread jing hua zhao
Hi Terry, Not aware about the issue, e.g., from $ uname -a Linux c06.mrc-epid.private.cam.ac.uk 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 23:27:13 EST 2010 x86_64 x86_64 x86_64 GNU/Linux I got > library(kinship) Loading required package: survival Loading required package: splines Loading required

[Rd] Some compiling problems

2008-04-29 Thread jing hua zhao
Dear R experts, I had some difficulties to build R on Linux (cross-build) and Windows (via Rtools) and hope it is appropriate to post for help, Our system has gcc 3.4.6 on RedHat Linux x86_64. With the help of Makefile-rcb by Yan and Rossini (setting BUILD=CROSS, R_EXE, F77 and FLIBS to g77

Re: [Rd] pnorm

2008-02-08 Thread jing hua zhao
, 7 Feb 2008 13:04:58 -0800 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: [EMAIL PROTECTED] > Subject: Re: [Rd] pnorm > > On Thu, 7 Feb 2008, jing hua zhao wrote: > > > > I calculated a two-sided p values according to 2*(1-pnorm(8.104474)), > > which

[Rd] pnorm

2008-02-07 Thread jing hua zhao
Dear R list, I calculated a two-sided p values according to 2*(1-pnorm(8.104474)), which gives 4.440892e-16. However, it appears to be 5.30E-16 by a colleague and 5.2974E-16 from SAS. I tried to get around with mvtnorm package but it turns out to be using pnorm for univariate case. I should

Re: [Rd] R260 cross-compilation

2007-10-13 Thread jing hua zhao
Here is what I noted down for our system. To reset src/gnuwin32/MkRules as appropriate BUILD=CROSS## if cross-building, is this gcc3 or gcc4?CROSS-GCC=gcc3 R_EXE='/home/jhz22/RCrossBuild/LinuxR/bin/R'> Date: Thu, 11 Oct 2007 11:15:08 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subjec

[Rd] R 2.2.0 + Oracle 10g + Windows XP

2005-12-14 Thread jing hua zhao
Dear R-devlopers, I am experiencing problem with R 2.2.0 after installing Oracle 10g on my Windows XP system. It simply crashes but Rgui appears to be functioning. After I deinstalling Oracle 10g, R.exe start to function again. Any idea how to make them both working? Many thanks, Jinghua __

Re: [Rd] R CMD check

2005-09-14 Thread jing hua zhao
yes, it does work now by putting the R environments in front of the original %path%. >From: Duncan Murdoch <[EMAIL PROTECTED]> >To: jing hua zhao <[EMAIL PROTECTED]> >CC: r-devel@r-project.org >Subject: Re: [Rd] R CMD check >Date: Wed, 14 Sep 2005 07:04:57 -0400 >

[Rd] R CMD check

2005-09-14 Thread jing hua zhao
K\2.0\bin;C:\Prog ram Files\WinSCP3\;C:\Program Files\PC-Pine Jing Hua Zhao __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel