Re: [Rd] certain pipe() use cases not working in r-devel

2024-02-17 Thread Jennifer Bryan
I've now tested with: > R.version.string [1] "R Under development (unstable) (2024-02-16 r85931)" and all of the previously mentioned examples now work as expected on macOS. Thanks for the quick fix, Jenny On Thu, Feb 15, 2024 at 8:02 AM Tomas Kalibera wrote: > > On

[Rd] certain pipe() use cases not working in r-devel

2024-02-14 Thread Jennifer Bryan
Hello, I've noticed a specific type of pipe() usage that works in released R, but not in r-devel. In 4.3.2 on macOS, I can write to a connection returned by pipe(), i.e. "hello, world" prints here: > R.version.string [1] "R version 4.3.2 (2023-10-31)" > con <- pipe("cat") > writeLines("hello, wo

Re: [Rd] Daily News about R-devel/NEWS is not updating

2020-05-15 Thread Jennifer Lyon
Thank you! Jen On Fri, May 15, 2020 at 9:02 AM Duncan Murdoch wrote: > On 15/05/2020 10:39 a.m., Jennifer Lyon wrote: > > Hi: > > > > The "Daily News about R-devel/NEWS" webpage at > > http://developer.r-project.org/blosxom.cgi/R-devel/NEWS seems to not be

[Rd] Daily News about R-devel/NEWS is not updating

2020-05-15 Thread Jennifer Lyon
Hi: The "Daily News about R-devel/NEWS" webpage at http://developer.r-project.org/blosxom.cgi/R-devel/NEWS seems to not be updating. As of today, the latest entry is Tue, 14 Apr 2020. Thanks. Jen [[alternative HTML version deleted]] __ R-deve

Re: [Rd] readBin should check that its endian argument is a legal value

2019-12-18 Thread Jennifer Lyon
s, unfortunately in their case the intention > was to specify "little". > > Best > Tomas > > On 11/18/19 11:22 PM, Jennifer Lyon wrote: > > I think it would be helpful if readBin checked that its endian argument > is > > a legal value. > > > &

[Rd] readBin should check that its endian argument is a legal value

2019-11-18 Thread Jennifer Lyon
I think it would be helpful if readBin checked that its endian argument is a legal value. Why? I was reviewing some of our code and noticed that the author had readBin(..., endian="network") and never having heard of "network", I looked at the man page for readBin, and it hadn't heard of "network"

[Rd] What is the best way to determine the version of an `.rds`?

2019-07-16 Thread Jennifer Bryan
Hi, I am writing a test that consults the serialization version of an `.rds` file. An attractive way to get this is: tools:::get_serialization_version() # reports just version which calls .Internal(serializeInfoFromConn() # reports much more but neither is truly exported for public use. Is t

[Rd] eliminate a partial argument match warning in R CMD check

2019-07-01 Thread Jennifer Bryan
Hello, I'm seeing a nuisance warning when I run `R CMD check --as-cran whatever_x.y.z.tar.gz`. I generally work with these options set: options( warnPartialMatchArgs = TRUE, warnPartialMatchAttr = TRUE, warnPartialMatchDollar = TRUE ) And I see this: * checking use of SHLIB_OPENMP_*FLAGS

[Rd] writing Unicode text to the Windows clipboard

2019-05-24 Thread Jennifer Bryan
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. >From R >=2.7.0, it seems you sho

[Rd] writing Unicode text to the Windows clipboard

2019-05-24 Thread Jennifer Bryan
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. >From R >=2.7.0, it seems you sho

Re: [Rd] Bug 17432 in readLines with R >= 3.5.0 still a problem

2018-09-14 Thread Jennifer Lyon
Michael: I don't see any comments on Bug 17432 ( https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17432) later than June 1, 2018. Would you please supply a link pointing to the followup to this discussion on bugzilla? Thanks. Jen. > On Thu Sep 13 14:14:46 CEST 2018 Michael Lawrence wrote: >

Re: [Rd] readLines function with R >= 3.5.0

2018-06-19 Thread Jennifer Lyon
t; > > Sounds like you might want to be running a web service or > > > something instead though. > > > > > Michael > > > > > On Tue, Jun 12, 2018 at 4:46 PM, Jennifer Lyon > > > wrote: > > >> Hi: > > &

Re: [Rd] readLines function with R >= 3.5.0

2018-06-12 Thread Jennifer Lyon
Hi: I have also just stumbled into this bug. Unfortunately, I can not change the data my program receives from stdin. My code runs in a larger system and stdin is sent to a Docker container running my R code. The protocol is I read a line, readLines("stdin", n=1), do some actions, send output on s

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-03 Thread Jennifer Lyon
y any "solution" that tries to load the whole file into R first as a string, will fail. Thanks for suggesting a path forward for me! Jen On Sun, Sep 3, 2017 at 2:15 AM, Jeroen Ooms wrote: > On Sat, Sep 2, 2017 at 8:58 PM, Jennifer Lyon > wrote: > > I have a 2.1GB JSON file. Typi

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Jennifer Lyon
s s work-around I suggest readr::read_file. > > --Ista > > > On Sep 2, 2017 2:58 PM, "Jennifer Lyon" wrote: > >> Hi: >> >> I have a 2.1GB JSON file. Typically I use readLines() and >> jsonlite:fromJSON() to extract data from a JSON file. >>

[Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Jennifer Lyon
Hi: I have a 2.1GB JSON file. Typically I use readLines() and jsonlite:fromJSON() to extract data from a JSON file. When I try and read in this file using readLines() R segfaults. I believe the two salient issues with this file are 1). Its size 2). It is a single line (no line breaks) I can rep

[Rd] print.POSIXct doesn't seem to use tz argument, as per its example

2016-12-15 Thread Jennifer Lyon
On the documentation page for DateTimeClasses, in the Examples section, there are the following two lines: format(.leap.seconds) # the leap seconds in your time zone print(.leap.seconds, tz = "PST8PDT") # and in Seattle's The second line (using print) seems to ignore the tz argument, and

[Rd] typo in help page for log1p

2013-11-09 Thread Jennifer Lyon
There is a small typo in the Source section of the help page for log1p: Source: 'log1p' and 'expm1' may be taken from the operating system, but if not available there are based on the Fortran subroutine 'dlnrel' there -> they Jen > sessionInfo() R version 3.0.2 (2013-09-25) Platform:

[Rd] Build R-2.3.1 on Red Hat AS release 4

2006-06-13 Thread Jennifer
-redhat-linux Thread model: posix gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) Regards, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] build R with Visual Studio

2006-06-07 Thread Jennifer Lai
Prof Brian Ripley wrote: > On Tue, 6 Jun 2006, Jennifer Lai wrote: > >> Hi, >>Has anyone had success in building R source with Visual Studio? I >> followed the instructions in README.packages, but failed on the very >> first step, where it's looking for R

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Jennifer Lai
Jennifer Lai wrote: > Prof Brian Ripley wrote: > >> >>> As those of you who saw my post on R-help know, I've been trying to >>> build >>> R-patched on a dual Opteron box running Scyld Beowulf, using the PGI >>> 6.1 >>> compi

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Jennifer Lai
Prof Brian Ripley wrote: > >> As those of you who saw my post on R-help know, I've been trying to >> build >> R-patched on a dual Opteron box running Scyld Beowulf, using the PGI 6.1 >> compilers. The build went fine, but I couldn't get it to pass make >

[Rd] performance of nchar

2005-10-25 Thread Jennifer Lai
ystem.time(for (i in 1:1) + nchar(op) + )[3] [1] 0.66 Is there any faster way of getting the length of string in R? Thank you in advance for your help! Sincerely, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
Prof Brian Ripley wrote: > On Thu, 13 Oct 2005, Jennifer Lai wrote: > >> Prof Brian Ripley wrote: >> >>> On Thu, 13 Oct 2005, Jennifer Lai wrote: >>> >>> >>>> Hi, >>>> I"m a newbie on building R on Windows. I followe

Re: [Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
Prof Brian Ripley wrote: >On Thu, 13 Oct 2005, Jennifer Lai wrote: > > > >>Hi, >> I"m a newbie on building R on Windows. I followed the instructions >>cited here, >>http://www.murdoch-sutherland.com/Rtools/ to build R-2.2.0. >>Everything w

[Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
r 2 Has anyone seen this error message before? Where can I find shared library tools? Thanks, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] additional comments on building R with PGI compiler

2005-10-12 Thread Jennifer Lai
BLAS_LIBS='-L/usr/lib64 -lg2c -lblas' # for generic BLAS library that comes with OS distribution. Regards, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] FFT

2005-10-07 Thread Jennifer Lai
memory (2 GB RAM) than 1.8 GHz (1 GB RAM). The only difference is that 1.8 GHz is a dual-processor machine, and 2.2 GHz is a single processor machine. Could this be the reason? Does anyone has insights on this? Thanks, Jennifer __ R-devel@r-project.org

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Hi, Prof Brian Ripley wrote: > On Mon, 26 Sep 2005, Jennifer Lai wrote: > >> Hi, >> I checked config.log and BLAS_LIBS was not set. However, I have set >> BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. >> I can't figure out why BLAS_LIBS is not

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Is there other thing I should look into in the config.log? Your help is very much appreicated. Thanks, Jennifer Prof Brian Ripley wrote: >On Sat, 24 Sep 2005, Jennifer Lai wrote: > > > >>Hi, >>How does complex.h used in R? Whether a compiler support complex.h &

[Rd] complex.h in R

2005-09-24 Thread Jennifer Lai
ompiler successfully. Regards, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Build R with AMD pgi compiled ACML library

2005-09-06 Thread Jennifer Lai
l' However, it failed to pick up double complex BLAS, checking for sgemm_ in -lacml... yes checking whether double complex BLAS can be used... no Can anyone advise me on how to fix this problem? Thank you in advance for your help! Sincerely, Jennifer

[Rd] Build R with ATLAS

2005-09-02 Thread Jennifer Lai
libso:/usr/local/lib64 Can anyone advise me on how to build R with ATLAS? Thanks, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
error: cannot run C compiled programs. If you meant to cross compile, use `--host'. Thank you for the help! Sincerely, Jennifer Peter Dalgaard wrote: >Jennifer Lai <[EMAIL PROTECTED]> writes: > > > >>I can't duplicate the error message. After running "configu

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
Forgot to mention, here are #define long and int value in config.log from second configure run (without --host argument) | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 Regards, Jennifer Jennifer Lai wrote

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
st info been cached somewhere in R? Regards, Jennifer Peter Dalgaard wrote: >Jennifer Lai <[EMAIL PROTECTED]> writes: > > > >>Hi, >>I built R with Portland Group compiler, but I noticed one thing that >>when I ran configure for the first time on AMD machine

[Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
on x86_64-unknown-linux-gnu configure: WARNING: assuming C longs are 4 byte on x86_64-unknown-linux-gnu configure: WARNING: you cannot build info or html versions of the R manuals Am I defining a wrong host? Thanks, Jennifer __ R-devel@r-project.org ma

Re: [Rd] compile R with Portland Group compiler

2005-08-30 Thread Jennifer Lai
errors also happened in other packages, such as affy. Since "/* */" comment style is acceptable by both PG Compiler and gcc, it is probably worthwhile to use "/* */" consistently throughout R packages. Regards, Jennifer Prof Brian Ripley wrote: > Let us be clear: so

Re: [Rd] compile R with Portland Group compiler

2005-08-24 Thread Jennifer Lai
quot;C" void exit (int); | #endif | /* end confdefs.h. */ | #include configure:6002: result: /usr/pgi/linux86-64/6.0/bin/pgCC -E configure:6026: /usr/pgi/linux86-64/6.0/bin/pgCC -E -I/usr/pgi/linux86-64/6.0/include -I/usr/pgi/linux86-64/6.0/include/CC conftest.cc configure:6032: $? = 0 con

[Rd] compile R with Portland Group compiler

2005-08-23 Thread Jennifer Lai
x.c: 10317) PGC/x86-64 Linux/x86-64 6.0-5: compilation completed with severe errors make[3]: *** [regex.o] Error 2 make[3]: Leaving directory `/home/cuser/AMD_BENCH/R-2.1.1/src/main' make[2]: *** [R] Error 2 Any help is greatly appreciated. Thanks, Jennifer __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel