Displaying 20 results from an estimated 1100 matches similar to: "Shell command help"
2010 Apr 25
1
Manipulating text files
Dear R Community,
I am trying to optimize a water quality model that I am using. Based on conversations with others more familiar with what I am doing I plan to implement DEOptim to do this. The water quality model is interfaced through a GUI. I have the input file necessary to alter parameters and run the model as a text file.
To do the optimization I have figured out the general procedure
2011 Jul 15
2
question on compatibility and ldd
I have a number of programs I wrote on Centos 5 (x86_64) and for one of
the programs I do
ldd programX
linux-vdso.so.1 => (0x00007fff2cb86000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003528600000)
libm.so.6 => /lib64/libm.so.6 (0x0000003527e00000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x0000003531400000)
libz.so.1 =>
2000 Mar 09
1
[Galen Hancock <galen@veribox.net>] Information leakage in sshd
Hi,
Thought I'd just forward this here, because I don't have time to look
into it right now, and am off skiing next week.
I'd guess that we should be checking for username = ``root'' before
going off to do password checks, and rejecting it on that basis first.
Cheers, Phil.
--
Mind-numbingly stupid UK law alert!
Act now to stop it! http://www.stand.org.uk/
--------------
2009 Jul 11
5
Resilvering Loop
I have a situation where my zpool (with two radiz2s) is resilvering
and reaches a certain point, then starts over.
There no read, write or checksum errors. The disks do have a fair
amount of resilvering to do, as I''ve had a variety of disk failures.
But at the core of things, there''s enough parity data to avoid data
loss, and the zpool is functioning fine, albeit in a
2011 May 31
3
DateTime Math in R - POSIXct
Greetings -
I'm battling POSIXct, as per the code below. My input is actually an XL
file, but the weird results below correctly model what I am seeing in my
program.
Before I punt and use lubridate or timeDate, could anyone please help me
understand why POSIXct forces my variable back to GMT?
I suspect that I'm not properly coding the tzone value, but it does not
throw an
2009 Jul 10
5
Slow Resilvering Performance
I know this topic has been discussed many times... but what the hell
makes zpool resilvering so slow? I''m running OpenSolaris 2009.06.
I have had a large number of problematic disks due to a bad production
batch, leading me to resilver quite a few times, progressively
replacing each disk as it dies (and now preemptively removing disks.)
My complaint is that resilvering ends up
2002 Aug 06
2
wine troubleshooting solution not found
I've tried codeweavers and winex
and have tested my config with winecheck [100%]
but yet no wine
err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0 addr
0x400be29e
I've used wine for years and I'm baffled why I have no wine
Others with my distro [PeanutLinux] do run wine with no problem
NVIDIA driver [ge2]
win98
--
Galen Thurber
Web Consultant For Hire
2011 Apr 28
1
Trying to perform an inner loop a random number of times
Grateful for any hints as to why I'm not getting the inner loop to cycle the
expected number of times.
Code and one run's results below.
Thanks,
Galen
> # source("looptest.r")
> sp<-numeric()
> iter<-numeric()
> rn<-numeric()
> ds<-data.frame(sp, iter, rn)
>
> for (sp in c(1:6)) {
+ i<-1
+
2011 Jun 02
1
Adding a line to a beside=TRUE barplot
Greetings –
Grateful for any help on this one:
In the following demo code, I am trying to get the points in the line to
appear over the same x-axis labels as are used by the paired Bars. It
appears, however, that R/lattice ignores the x-axis points used by the bars
and plots the x points for the line at ½ points.
Can you help me tweak this code so that the nth bump in the line
2011 Jun 07
1
Custom Sort on a Table object
Greetings -
I've got the following table (the result of a two-way table operation):
f m
0 to 5 11.328000 6.900901
15 to 24 6.100570 5.190058
25 to 34 9.428707 6.567280
35 to 44 10.462158 7.513270
45 to 54 7.621988 5.692905
5 to 14 6.502741 6.119663
55 to 64 5.884737 4.319905
65 to 74 5.075606
2010 Jul 29
4
reading dates in Excel into R
I am reading dates in Excel2007 into R.
Here are the functions I used:
library(RODBC)
channel<-odbcConnectExcel2007("myfile.xlsx")
tmp<-sqlFetch(channel,"1",as.is=T)
The dates in myfile.xlsx are all in this format: mm/dd/yyyy. But when I read it to R, some columns look like "yyyy-mm-dd 00:00:00", some columns look like "yyyy-mm-dd", and some
2012 Apr 19
2
ANOVA in quantreg - faulty test for 'nesting'?
I am trying to implement an ANOVA on a pair of quantile regression models in
R. The anova.rq() function performs a basic check to see whether the models
are nested, but I think this check is failing in my case. I think my models
are nested despite the anova.rqlist() function saying otherwise. Here is an
example where the GLM ANOVA regards the models as nested, but the quantile
regression ANOVA
2011 Apr 25
1
Trouble Passing a for loop variable (iteration #) to a data frame
Greetings -
I am working on a piece of code to simulate vehicle times in and out in each
of a number of parking spaces. At this stage, my code basically does what
it is supposed to do but for the sequential number of each new parking event
for a given space (i.e., the index of the loop variable). Instead of
passing the index of the loop variable (iter) to the data frame, it passes
the value
2010 May 05
1
'matplot' for matrix with NAs: broken lines
Hi list,
I know that points involving NAs are not plotted in 'matplot', but when I plot them as lines, I still want the lines to connect all the points (i.e. not broken where there are NAs).? Please see the example below.? How can I achieve this in 'matplot'?? If I can't, any good alternatives so I don't have to use 'plot' + 'lines' and loop through all the
2010 Apr 07
1
RWeka - Error when attempting to summary() model
I'm a big fan of both Weka and R (quite new at R :) ), and jumped at the chance to use them together. Unfortunately, I'm running into what is probably a dumb error when trying to view info about my model. A Google search turned up 0 hits for the actual error I got (last line), but you all are smarter!
My code is below, but basically my data frame (q) is imported via RODBC and has 1586
2008 Nov 10
1
Issue with Mac OSX version of R (PR#13275)
Full_Name: Galen papkov
Version: 2.8.0
OS: Tiger v.10.4.11
Submission from: (NULL) (129.7.91.106)
The Package Installer cannot seem to find the CRAN source. When I try to "Get
List", I get the following error:
Error in read.dcf(file = tmpf) :
Found continuation line starting ' <!DOCTYPE HTML P ...' at begin of
record.
I also tried to put the URL in directly with the
2010 May 20
2
How to extract rows from data frame based on unique variable groupings
R community,
I would like to know how to extract rows from a data frame (DF) such that
each row in the new data frame (D.F) represents the first instance of
a unique variable pairing in the original dataframe (ordered first by
variable V1 then by variable V2). The unique function does not seem
to be able to accomplish this. I imagine there must be a simple solution for this,
but I can't
2010 Apr 07
1
samba server file read size limit of 64MB for HDF files
Sorry if that's a vague subject, but this problem is a little weird and I'm just wondering if there are any suggestions out there.
We've got a Samba server (3.0.23) running on a CentOS 5.3 server offering up a data share of 7TB on an XFS filesystem. The authentication all happens through a Samba PDC with an LDAP backend all on a different server. The system in question is just a
2009 Jun 11
2
How to force R to print 2 decimal places in column of a data.frame?
How to force R to print 2 decimal places in column of a data.frame? I tried to do so:
x = inp(format(rounf(inp$Tamanho, 2), nsmall = 2),)
where "INP" is data.frame and "Size" is the name of column. But has error:
Error in eval.with.vis(expr, envir, enclos) :
could not find function "inp"
Lesandro
Veja quais s?o os assuntos do momento no Yahoo! +Buscados
2020 May 12
4
CentOS7 and NFS
Hi,
I need some help with NFSv4 setup/tuning. I have a dedicated nfs server
(2 x E5-2620? 8cores/16 threads each, 64GB RAM, 1x10Gb ethernet and 16x
8TB HDD) used by two servers and a small cluster (400 cores). All the
servers are running CentOS 7, the cluster is running CentOS6.
Time to time on the server I get:
?kernel: NFSD: client xxx.xxx.xxx.xxx testing state ID with
incorrect