Displaying 20 results from an estimated 300 matches similar to: "how can I import op.gz files with read.csv or otherwise"
2012 Dec 15
2
troubles reading a text file
Dear R experts,
For quite some time I have been trying to solve a mistery of reading a seemingly trouble-free text file. The data is temperature reconstruction arranged as a huge grid, preceded by seven "header lines" (which you see better if file is opened in Firefox or Chrome).
This is the data (gridded temperature reconstruction)
2006 Dec 20
1
Reformat meteorological data
Dear HelpeRs:
I have a data set in the following format,
which will be familiar to those of you working
with NCDC climate data.
Example:
Year <- rep(1:3, each = 3)
Year <- c(Year,Year)
ID <- rep(1:2, each = 9)
Jan <- runif(18, min = 0, max = 20)
Feb <- runif(18, min = 0, max = 20)
Mar <- runif(18, min = 0, max = 20)
var <- gl(3,1,18,label =
2007 Nov 24
2
truncated fields with RODBC
I'm changing some functions from storing data in
SQLite (using RSQLite) to storing it in PostgreSQL
(using RODBC). When trying to store very long
character fields I get the following message:
> sqlSave(pg, Grids, rownames = FALSE, append =
TRUE)
Warning messages:
1: In odbcUpdate(channel, query, mydata, paramdata,
test = test, verbose = verbose, :
character data truncated in column
2008 Nov 26
1
multiple imputation with fit.mult.impute in Hmisc - how to replace NA with imputed value?
I am doing multiple imputation with Hmisc, and
can't figure out how to replace the NA values with
the imputed values.
Here's a general ourline of the process:
> set.seed(23)
> library("mice")
> library("Hmisc")
> library("Design")
> d <- read.table("DailyDataRaw_01.txt",header=T)
> length(d);length(d[,1])
[1] 43
[1] 2666
2012 Nov 26
1
A problem subsetting a data frame
Hi all,
I have this microarray large microarray data set (ALL) from which I would like to subset or extract a set of data based on a factor ($mol.biol). I looked up some example of subsetting in, picked up two commands and tried both but I got error messages as follows
> testset <- subset(ALL, ALL$mol.biol %in% c("BCR/ABL","ALL1/AF4"))
>> Error in
2009 Nov 13
1
[LLVMdev] dodgy use of c_str()
>From llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp:
void DebugInfo::EmitGlobalVariable(GlobalVariable *GV, tree decl) {
// Gather location information.
expanded_location Loc = expand_location(DECL_SOURCE_LOCATION(decl));
DIType TyD = getOrCreateType(TREE_TYPE(decl));
const char *DispName = GV->getNameStr().c_str();
Isn't this use of c_str() dodgy, because the temporary string returned
2008 Dec 23
1
NetCDF within R: installation assistance
Greetings. I am attempting to add NetCDF libraries within R, and have
failed. We have R version 2.8, and are running on a 64-bit Redhat Linux
2.6.18 kernel:
Red Hat Enterprise Linux Client release 5.2 (Tikanga)
Linux halfmoon.ncdc.noaa.gov 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5
09:28:22 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
I have run the installation instructions found at
2005 Aug 25
5
ROracle and select query empty
Hi,
I just installed ROracle and RDBI. The connection to the database seems
to work also. My problem is when I am selection rows that really exist
in the database, it is returning nothing. Where should I look to see
what could be my problem?
Thank you very much,
Mathieu
> drv <- dbDriver("Oracle")
> summary(drv, verbose=TRUE)
<OraDriver:(6721)>
Driver name:
2011 Aug 08
1
read in cel file by ReadAffy and read.celfile
Hi there,
I got a problem when trying to read in a .cel file using ReadAffy().
R codes:
require(affy)
ReadAffy(filenames="CH1.CEL")
It failed and I got the error,
Error in read.celfile.header(as.character(filenames[[1]])) :
Is CH1.CEL really a CEL file? tried reading as text, gzipped text, binary,
gzipped binary, command console and gzipped command console formats
Also, I tried
2006 Jan 13
8
swf''s and rails
Hi I have started using rails eg: rform and typo, but mostly I do flash
dev (I know you guys decided you did not want flash content and used the
name for something else!). Anyway what experiments have people been
doing, anyone been Ajaxing flash content within rails application or
even just embedding in rails, I did not really find anything on using
flash in Typo, not that you can''t
2006 Jun 14
0
Force rendering an otherwise remotely updated section
I''ve got a place where the user can add lines to an array of data,
refreshing the form remotely in place so that every time you submit, a
new line of output shows up and you can continue editing. When the user
comes back to this page, though, I would like to start by showing all
the array elements that are already in there. In other words, I want to
render the partial once, that
2006 Feb 05
1
Database works with console, fails otherwise
I can use database via script/console. Item.create and Item.find works
ok.
When I try to do the same thing on a test page, I get this error
message:
Mysql::Error: Lost connection to MySQL server during query: SELECT *
FROM items LIMIT 1
I suppose they both use the same settings, so what could be the reason
for this behaviour??
--
Posted via http://www.ruby-forum.com/.
2007 Feb 20
0
[PATCH] Xenconsoled should ignore spurious watch event. Otherwise, it can rebind to the same evtchn of a dying domU during suspending and cause below error message:
# HG changeset patch
# User john.levon@sun.com
# Date 1171946682 28800
# Node ID e8a7491ed4c57d4d82642dd954b8909d9065b377
# Parent 24a6bc1d1b93405558741a2a8fa7ba2f7c44964a
Xenconsoled should ignore spurious watch event. Otherwise, it can rebind to the same evtchn of a dying domU during suspending and cause below error message:
(XEN) event_channel.c:177:d0 EVTCHNOP failure: domain 0, error -22,
2006 Dec 21
0
weird kerberos enctype error on otherwise working 3.0.23d install
I have a Samba-3.0.23d installed on a CentOS4.4 server that cannot be
connected to from other machines in the same W2K3 ADS. The server was
added to the ADS successfully via "kinit admin@REALM" and "net ads
testjoin" works just fine. The clocks are NTP-synced and no clock slew
errors are to be seen.
If WinXP/Win2K3 clients connect using \\ip.address\ it works fine, but
if they
2009 Apr 18
1
[PATCH] When user provides an encoding then use it, otherwise autodetect it
Hi,
I''ve created a small patch to mechanize.
The problem:
The user should be able to set his own page encoding, for example when
<meta /> encoding information can is invalid or auto detection
routines fail to guess correctly.
Actual results:
Mechanize will use the encoding detected by it (or Nokogiri/libxml2)
always when there''s a <meta /> with encoding information
2002 Jan 17
0
[Bug 72] New: sshd 3.0.2p1 assumes authorized_keys2 unless configured otherwise.
http://bugzilla.mindrot.org/show_bug.cgi?id=72
Summary: sshd 3.0.2p1 assumes authorized_keys2 unless configured
otherwise.
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo:
2004 Apr 29
0
OT: softswitch or otherwise?
Has anyone setup SIP services with ss7 and lis trunks? If so .. what was
used hardware and software.. we're trying to do a SIP -> pstn setup and
not having much luck as QWEST keeps pushing dates off (aka trying to
screw us over) for our pri lines due to the recent court and fcc
activity in regards to unbundled switching and I'm looking for
solutions/ideas involving SS7..
2017 May 02
0
IMAP-auth on LAN and otherwise
On Tue, 2 May 2017, Rupert Gallagher wrote:
> [...]
> Is it possible to instruct Dovecot to use the public IP only?
for inet_listeners (imap, pop, etc.) you can use "address = <your-public-IP>"
the default is AFAIK to listen on all addresses ("*" for ip4 and "::" for
ip6)
2017 May 02
0
IMAP-auth on LAN and otherwise
I'm not sure that this is a dovecot issue. For me it sounds more that
the router somehow learned dovecots LAN ip and then takes a shortcut by
sending the packets directly to dovecot on routers LAN interface instead
of going all the way to the WAN interface and then back to LAN.
You could verify if that is the case by tcpdump on dovecot and see on
what interface the request comes is.
If that
2017 May 03
0
IMAP-auth on LAN and otherwise
Problem solved.
Sent from ProtonMail Mobile
On Tue, May 2, 2017 at 3:46 PM, Rupert Gallagher <ruga at protonmail.com> wrote:
Hello,
Thunderbird has been bugging us with connection errors. Dovecot is installed on a local server that carries a local IP and a public IP. When Thunderbird on a local client connects successfully, Wireshark shows a SYN request from the client's IP on LAN to