Displaying 20 results from an estimated 5000 matches similar to: "compile problem with gzfile"
2002 Sep 15
1
printing graphics window on Mac OS 9.2
I'm a long time user of R, but I'm not a regular Mac user. I am now
teaching in a room with a dozen Macs and I'm having a problem printing
the graphics window. I'm using R 1.5.1 precompiled for Mac OS on Blue
G3s with Mac OS 9.2. When I have the macintosh graphics device
selected and use File, Print from the menu system, the OS attempts to
print, but the machine hangs after a
2001 Jul 30
3
ATLAS
I thought I would try compiling R this time with the ATLAS libraries.
I have compiled ATLAS and I have the following libraries:
libatlas.a libf77blas.a libptcblas.a libtstatlas.a
libcblas.a liblapack.a libptf77blas.a
Is it sufficient to use ' --with-blas=libatlas.a ' when configuring or
do I need to specify any of the other libraries as well?
--
William D. McCoy
1999 Sep 01
1
configure for R-0.65
I am trying to compile R-0.65 on a Sparc 20. I have gcc 2.7.2.2 and I
have SC4.0. I used gcc to compile R-0.64.2 in July with no problems.
Now when I run configure for R-0.65 I get the following message:
>checking whether the C compiler (gcc ) works... no
>configure: error: installation or configuration problem: C compiler
cannot create executables.
and then configure exits. I had no
2005 Sep 14
1
maximum string length in RdbiPgSQL and in R
Because my problem involves the RdbiPgSQL package, I sent a message
similar to this one to the Bioconductor list. But while awaiting
moderator approval of my message (because I am not a member of that
list), it occurred to me to send it to R-help as the problem may be more
general than just RdbiPgSQL.
Here's my situation:
I have been using RdbiPgSQL successfully for a year or two. I
2001 Aug 20
1
Rdconv.pm errors while installing R
I have just compiled and installed R-patched on a Sparc 20 running
Solaris 2.5.1. The compilation and installation went fine except for
the message:
Bare word found where operator expected at
/usr/src/R/R-patched/share/perl/R/Rdconv.pm line 1491, near "$txtout
txt_header" (Missing operator before txt_header?)
I get similar messages for lines 1390, 1405, 1420, and 1448 in
Rdconv.pm.
1999 Sep 01
0
configure for R-0.65 (cont'd)
>I am trying to compile R-0.65 on a Sparc 20. I have gcc 2.7.2.2 and I
>have SC4.0. I used gcc to compile R-0.64.2 in July with no problems.
>Now when I run configure for R-0.65 I get the following message:
>
>>checking whether the C compiler (gcc ) works... no
>>configure: error: installation or configuration problem: C compiler
cannot create executables.
>
>and
2001 Apr 03
0
Rdconv.pm
When I installed R 1.2.2 on a Sparc 20 running Solaris 2.5.1 and when
I install a package, I get the messages:
Bare word found where operator expected at /usr/local/lib/R/share/perl/R/Rdconv.pm line 1390, near "$txtout mywrap"
(Missing operator before mywrap?)
Bare word found where operator expected at /usr/local/lib/R/share/perl/R/Rdconv.pm line 1405, near "$txtout
2004 Mar 14
1
1.8.1 Make problem on SunOS
I am trying to make R-1.8.1 on (SunOS shell1 5.8 Generic_108528-15 sun4u sparc SUNW,UltraAX-i2). I did
./configure
make
Configure output seems ok. The make proceeds until the following line appears, repeated indefinitely (until I break):
./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file
I suspect that this may involve write permissions (and maybe
the umask set in
2001 Feb 27
2
win clients and sftp
I'm having trouble with users transferring files to a solaris box running
ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client
appears not to respect the users umask, creating files with either mode
666 or 600. We're using version 2.4.0 of the windows client. Any ideas?
thanks,
-Brett
-----------------
Brett Longworth
Systems Manager
Department of Biology
1998 Oct 08
0
R-beta: filter function
Does R or any of its contributed libraries have a function similar to
the filter() function in S-Plus? I can't seem to find a similar function.
--
William D. McCoy
Geosciences
University of Massachusetts
Amherst, MA 01003
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2007 Oct 30
1
Some matrix and sandwich questions
Dear R-help,
I have a four-part question about regression, matrices, and sandwich package.
1) In the sandwich package, I would like to better understand the
meat() function.
>From the bread() documentation, for a simple OLS regression, bread() returns
(1/n * X'X)^(-1)
That is, for a simple regression (per the documentation on bread()):
MyLM <- lm(y ~ x)
bread(MyLM)
2002 Dec 05
1
writing to gzfile: segmentation fault (PR#2347)
Full_Name: Vadim Ogranovich
Version: Version 1.6.0 (2002-10-01)
OS: Red Hat 7.1
Submission from: (NULL) (209.99.241.1)
The following sequence of commands crashes my R session. The first weirdness
happens after the second command that appears not to change the "foo.gz" file,
no error generated.
> con <- gzfile("foo.gz", open="w"); cat("goo\n",
2013 May 07
0
error when calling seek() twice on a gzfile connection
Hi,
I get an "internal error" when calling seek() twice on a gzfile
connection.
Create a gzip file:
bigraw <- sample(charToRaw("abcdef"), 30000000, replace=TRUE)
save(bigraw, file="bigraw.rda")
Open it:
con <- gzfile("bigraw.rda", "rb")
Then:
> seek(con, where=1)
[1] 0
> seek(con, where=24980000)
[1] 1
2007 Jul 03
1
bug in closing gzfile-opened connections?
Hi,
I am making multiple calls to gzfile() via read.table(), e.g.
> x <- read.table( gzfile( "xxx.gz" ) )
After i do this many times (I haven't counted, but probably between 50 and
100 times) I get the error message:
Error in open.connection(file, "r") : unable to open connection
In addition: Warning message:
cannot open compressed file 'xxx.gz'
however, I
2011 Oct 15
2
gctorture() and gzfile() doesn't get along.
Found the simpliest way of seeing I bug I encountered doing "R CMD check --use-gct": Just launch R (with --vanilla), and do this:
> ?gctorture
# this work
> gctorture()
> ?gctorture
Error in gzfile(file, "rb") :
can only weakly reference/finalize reference objects
# this does not
It seems that when gctorture() is on gzfile() doesn't work.
2009 Jun 01
3
Editor R
Do you know any good editor R?
--
View this message in context: http://www.nabble.com/Editor-R-tp23822342p23822342.html
Sent from the R help mailing list archive at Nabble.com.
2018 May 10
2
readLines() behaves differently for gzfile connection
When I read a .gz file with readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In
2006 Nov 14
2
gzfile with multiple entries in the archive
If I open a tgz archive with gzfile and then parse it using readLines I miss
the initial line of each member of the archive - and also the name of the
file although the archive otherwise complete (but useless!).
Is there any way within R to extract both the list of files in a tgz archive
and to extract any one of these files?
Clearly I can use zcat and tar on Linux, but I need this to work
2004 Mar 15
1
gzfile & read.table on Win32
Hello ...
Are there any known problems or even gotchas to look out for when using a
gzfile connection in read.csv/read.table in Windows?
In the package PROcess, available at
www.bioconductor.org/repository/devel/package/html/PROcess.html
there are two files in the PROcess/inst/Test directory which are of the
extension *.csv.gz.
With both files, if I open up a gzfile connection, say:
vv <-
2008 Apr 20
1
How to read last (incomplete) line from gzfile()?
Hi,
I have some text files that do not have trailing \n on the last
(incomplete) line; how do I read in the last line?
e.g. here is a test case: [linux + R version 2.6.1 (2007-11-26) ]
z <- gzfile("short.gz", open="w")
cat("7\n5\n3", file=z)
close(z)
z <- gzfile('short.gz')
readLines(z)
[1] "7" "5"
readLines would indicate that