Displaying 20 results from an estimated 300 matches similar to: "External USB Drive partitioning and formatting"
2010 Nov 17
3
How to stop automount
I just put a USB hard drive into service, but find that unless the drive
is connected to my PC the machine won't boot and drops to a shell.
Below is the line I added to fstab. I thought that the option "noauto"
would prevent the machine from trying to mount the drive
/dev/sdb /usbdrive ext3 user,noauto,rw 0 2
What am I doing wrong? Any advice is
2013 May 18
3
OT: Script Help
Sorry for the off topic, but don't a better resource. I'm not great at
scripting, but need a quick script to modify a file.
I have a long file that has lines like this:
some text
some text2
CN=DATA.OU=XYZ.O=CO
some text3
some text4
And this repeats, but XYZ changes. "DATA" is always called data. (it's
being renamed basically)
I need to change the middle line but leave
2017 Sep 28
2
Searching for Enumerated Items using str_count() from the stringr package
Hi all,
I have a large number of text strings to search for enumerated items.
However, I am receiving this error message even though I thought that I
properly escaped the special character closed parenthesis:
> Count<-str_count(text3,keywords)
Error in stri_count_regex(string, pattern, opts_regex = opts(pattern)) :
Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
===
Here is
2006 Sep 08
0
Command ls blocked on usbdrive
Hi.
In the /etc/fstab I have the next line for an usbdrive (IOMEGA USB 2.0 80
Gb):
/dev/sda1 /media/IOMEGA_HDD vfat
pamconsole,exec,noauto,managed 0 0
I mounted the usbdrive with mount /media/IOMEGA_HDD. If I executed an ls
command for one of the directories on the usbdrive (ls /media/IOMEGA_HDD)
there is not problem but if I executed an ls of the usbdrive ls -lha
2009 Sep 04
2
transforming a badly organized data base into a list of data frames
Dear R-ers!
I have a badly organized data base in Excel. Once I read it into R it
looks like this (all variables become factors because of many spaces
and other characters in Excel):
2009 Mar 10
1
Active directory and winbind RID/SID to uid and gid maping across several linux servers
We are using a windows server 2003 active directory as our single sign
on server. I have been able to get our RHEL4U6 servers to authenticate
with active directory.
My concern is that the RID mapping to unix uid/gid range (15000-20000)
is stored locally on each machine in a tdb database. So far all of the
servers have produced the same mapping, but I do not think it is
guarantied. I think the
2017 Sep 28
0
Searching for Enumerated Items using str_count() from the stringr package
On 09/28/2017 10:25 PM, Dan Abner wrote:
> Hi all,
>
> I have a large number of text strings to search for enumerated items.
> However, I am receiving this error message even though I thought that I
> properly escaped the special character closed parenthesis:
>
>
>> Count<-str_count(text3,keywords)
> Error in stri_count_regex(string, pattern, opts_regex =
2009 Sep 06
1
struggling with "split" function
I am very sorry for such a simple question, but I am struggling with "split".
I have the following data frame:
x<-data.frame(A=c(NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA),
2010 Feb 13
0
How to remove an entry in the media table
I messed up the other day when I did a rsync backup to my usb external
drive *but* forgot to mount it (turn it on). So the system appears to
have renamed the correct one (external) to usbdrive1 and created a
directory on the HD, usbdrive.
It has been well over a year since I made that error and have forgotten
the location and name of the table that contains the usbdrive and
usbdrive1
2009 Oct 26
1
regular expressions
Dear list,
I have the following text to parse (originating from readLines as some
lines have unequal size),
st = c("START text1 1 text2 2.3", "whatever intermediate text", "START
text1 23.4 text2 3.1415")
from which I'd like to extract the lines starting with "START", and
group the subsequent fields in a data.frame in this format:
text1 text2
2011 Mar 15
3
create data set from selection of rows
Readers,
For a data set:
text1,23,text2,45
text1,23,text3,78
text1,23,text3,56
text1,23,text2,45
The following command was entered:
datasubset<-data.frame(dataset[,3]=="text3")
The result of
datasubset
is
TRUE
TRUE
The required result is
text1,23,text3,78
text1,23,text3,56
What is the correct command to use please?
Thanks in advance.
2006 Mar 26
2
Shared Columns in an STI
I have a an STI table which acts_as_tree, that has a large number of
classes/types. My common fields are:
id
parent_id
name
description
with 4 more text fields, I could cover most of my classes if I could
redefine the name of the field like this.
text1 AS address1
text2 AS address2
text3 AS zipcode
For one class and
text 1 AS model_number
text2 AS vendor
Is there a construct that will allow
2016 Apr 14
2
CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)
Hi John, Thank you, elrepo sounds good to know about --
http://elrepo.org/tiki/About says is an extra repository for hardware
support.
Still not clear how to troubleshoot the problem so I know what to
install from elrepo.
I know that a spec file is involved in creating an RPM file; do you
mean that you make your own kernel RPM?
On Thu, Apr 14, 2016 at 4:05 AM, Andreas Benzler <andreas at
2007 Dec 23
1
rsync du (was rsync delete)
On Sat, 2007-12-22 at 18:47 -0800, Jesse Thompson wrote:
> Now I'm interested in a new possibility however. Using rsync
> (connecting to a remote rsync server via rsync protocol) is there a
> way to measure the size of a directory, kind of like du, without
> having to transfer it?
Yes. Do a transfer of the directory in dry-run mode (so no data is
actually copied) and pass
2006 Sep 18
2
problems in sourcing R script
Dear list,
First my information:
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 2
minor 3.1
year 2006
month 06
day 01
svn rev 38247
language R
version.string Version 2.3.1 (2006-06-01)
Now my question:
How is it possible that a command in an R script is not
2008 Jan 09
4
Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"
I have the following javascript being called on my site and I am
getting a Javascript error - "Object doesn''t support this property or
method". The error is invoked on the line that has - "listItems = $
("vidList").childElements("li");".
The purpose of the Javascript is two fold: ''swapVideo'' to change the
Youtube video and
2016 Apr 14
2
CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)
this seems to be the right firmware
https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-2030-ucode-18.168.6.1.tgz <https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-2030-ucode-18.168.6.1.tgz>
> Am 14.04.2016 um 05:01 schrieb John R Pierce <pierce at hogranch.com>:
>
> On 4/13/2016 7:42 PM, Philip V wrote:
>> lspci gives
>> 08:00.0
2009 Oct 20
1
plotting labels (not values) on xy plot
I have 2 vectors, x and y and have done an xy plot.
I want to plot the label (name?) of the vector on the plot rather than the
value.
text(x,y, labels = x)
gives me the value of x.
text(x,y, labels = labels(x))
gives me something like c("text1","text2"..) plotted for each point
text(x,y, labels = names(x))
gives nothing
print(x) gives me
[,1]
text1
2008 Apr 06
1
buggy HTML from nested lists w/ paragraphs
I ran into a weird problem while writing my own little guide to
Markdown (using Markdown, of course). The document is mostly made of
list items in nested ul's. As I neared the end, I found (via
MarsEdit's preview) that in place of two sections of content,
Markdown had begun to generate gibberish strings like this:
aa9ca05a7c006bc5e5c091c00aee0cd7
After weeding through different
2005 Sep 08
1
Converting a matrix to a dataframe: how to prevent conversion to factor
Colleages
I am running R 2.1.0 on a Mac (same problem occurs in Linux). In
some situations, I have mixed text/numeric data that is stored as
characters in a matrix. If I convert this matrix to a dataframe, the
numeric data becomes factors, not what I intend.
TEXT <- paste("Text", 1:4, sep="")
NUMBERS <- 10 + 4:1
MATRIX <- cbind(TEXT,