Displaying 20 results from an estimated 5000 matches similar to: "Icecast not connecting"
2002 Jul 28
2
timestamp on symlink
rsync does not sync the timestamp on symlink (Solaris 8).
It is probablly due to the limitation of Unix implementation
of symlink, but I would like to know why rsync/Unix does not
do this, and what we can do about it. Is the conclusion that
"rsync syncs everything except the timestamp on symlink"?
Why do I need timestamp on symlink? Supposed something stopped
working because something
2000 Feb 10
1
smbmount/smbumount getting rid of dead connections
I've got a win98 laptop and a linux box. On my linux box, I smbmount
a directory from the laptop. Alas, win98 boxes
crash a lot, and I move the laptop a lot... to and from work.
If the laptop crashes or if I move it with a shared directory mounted
on my linux box, that mount gets "Stuck".... it's
present in /etc/mtab but when I cd to it and do an ls it says:
243 emily ~>ls
2004 Nov 11
5
expressions and paste
I have written a function to plot data which will be used for various different chemistries.
A simplified version is:
plot_data <- function(risk,levels,chem,sd2,measure){
plot(risk, levels,main=paste ("per", sd2, measure, "\n in usual", chem))
}
The problem is with the title.
This works fine if the variable "chem" is just text, but if it is an expression then
2010 Aug 15
2
legend outside plot area
Hi, please can you help me. When I add a legend to a boxplot it appears inside the plot area, how do you get it into the margins? I have already changed the parameters so there is space for it on the margin on the right hand side of the graph.
Thanks, Emily
[[alternative HTML version deleted]]
2012 Mar 15
1
Equation as a character string
I'm trying to figure out if it's possible to use a character string as an
equation, e.g:
eqn1string <- "x^2 + x + 5"
Then I want to tell R:
1) that eqn1string is actually an equation (even though it was stored as a
character string), and
2) to apply the equation to a specified value of x (e.g. given x <- 6,
what is the result of the equation).
Thanks in advance for any
2003 Aug 29
1
converting from courier-imap
Hello. I apologize if there is a simple answer to this question, but I
haven't been able to figure it out. Our people use various clients (pine
4.50 with maildir patch, eudora, messenger, outlook, squirrelmail), and
all of them work with courier-imap. But I've become very interested in
dovecot after reading about it, so I'm trying it out on another server.
The results are mixed.
2014 Jul 21
1
create R package include Fortran source code.
Hello, all
I am building a R package using Fortran source code. The Fortran code is a
subroutine. I can use "R CMD SHLIB bar.f -o bar.o" to create the shared
library. For the R package, I put the fortran file in the src/ and I use R
code as follows:
".First.lib"<-function(libname,pkgname){library.dynam("barpkg",pkgname,libname)}
barfun<-function(n,x){
2023 Apr 12
2
Split String in regex while Keeping Delimiter
I thought replacing the spaces following instances of +++,++,+,- with "\n" and then reading with scan should succeed. Like Ivan Krylov I was fairly sure that you meant the minus sign to be "-" rather than "?", but perhaps your were using MS Word as an editor which is inconsistent with effective use of R. If so, learn to use a proper programming editor, and in any case
2013 Jan 27
1
Removing values containing a specific character
Awesome, thanks Arun, that's exactly what I was looking for!
On Sat, Jan 26, 2013 at 9:21 PM, arun kirshna [via R] <
ml-node+s789695n4656749h63@n4.nabble.com> wrote:
> Hi,
> Try this:
> df[]<-lapply(df,as.character)
> df2<-df
> df[,1][grep("@",df$names)]<- ""
> df
> #names emails
> #1 bob bobj@cup.com
> #2
2007 Jun 07
1
new data frame for loop
I have a data frame with three columns, one coded as a factor. I would like
to separate my data out into separate data frames according to the factor
level. Below is a simple example to illustrate. I can get R to return the
data in the correct format but cannot work out how to get separate data
frames. I am a newcommer to programming in R so am not sure what I am
missing! Thanks, Emily
2010 Nov 05
1
newbie question on importing and parsing file by row
Hi,
I'm new to R and I have a file with many rows of values. Each row contains a title and values for a contingency table
e.g.
row 1= title 8 0 37796 47
which is a table called 'title'
with values
8 0
37796 47
I would like to know how I can import this using R and for each row calculate a p value using the fisher test. Using each p value I will do multiple a correction.
I am
2012 Jun 18
1
Changing many csv files using apply?
Dear all,
I have many csv files whose contents I want to change a bit en masse. So far, I've written code that can change them in a for loop, like so:
# Subset of files in the folder I want to change
subset = "somestring"
# Retrieve list of files to change
filelist=list.files()
filelist = filelist[grep(subset, filelist)]
for(i in 1:length(filelist)){
setwd(readdir)
2023 Apr 12
3
Split String in regex while Keeping Delimiter
Hello List,
?
I have a dataset consisting of strings that I want to split while saving the delimiter.
?
Some example data:
?leucocyten + gramnegatieve staven +++ grampositieve staven ++?
?leucocyten ? grampositieve coccen +?
?
I want to split the strings such that I get the following result:
c(?leucocyten +?, ??gramnegatieve staven +++?, ??grampositieve staven ++?)
c(?leucocyten ??, ?grampositieve
2013 Apr 05
2
Text Encoding
Dear R-Help,
I am using the RDF package/ R 2.14 with the RDF package to download data
from a website, and then use R to manipulate it.
Text on the website is UTF-8. The RDF package's rdf_load command is
converting it into a different encoding, which converts non-ASCII
characters to unicode codes.
On the webpage/sparql RDF: "4.5µg of cDNA was used"
In R, the RDF triple gives:
2012 Apr 10
1
object '---' not found
Hi,
I am very new to R and the stats world. I have enjoyed working with R so far
but I have come across an error message in a very simple command that I am
unable to resolve.
I bring data in through excel .csv files and check them to be sure R reads
them correctly and has everything assigned as it is in the excel file. It
looks good. But simple computations are not working
> sd(VIQ)
Error
2010 Oct 06
3
what is the "NOT IN" operator
Good day,
I need to subset a data by removing several rows. I know the %in% operator, i.e.
sub <- mydata[group %in% c("A","B","E","G"), ]
What I need is the opposite, that is remove rows and/or columns. What is the operator for "NOT IN"? I tried (i)! %in% and (ii) ^%in% and both resulted in a "could not find function" error.
2012 Jul 09
1
Lavaan Package - How to Extract Residuals in Data Values
Hello R Community,
I am using the Lavaan package in R 2.15.0 to analyze data collected from
1200 lakes across North America. My dataset includes 3 continuous
independent variables (LOG_NTL, LOG_PTL, and LOG_SR_A_D) and 1 continuous
dependent variable (BIOVOL) . I have successfully constructed structural
equation models using the Lavaan package (example included below with
code), but I have not
2012 Jan 07
2
glm or transformation of the response?
Hi Dr. Snow,
I am a graduate student working on analyzing data for my thesis and came
across your post on an R forum:
The default link function for the glm poisson family is a log link, which
means that it is fitting the model:
log(mu) ~ b0 + b1 * x
But the data that you generate is based on a linear link. Therefore your
glm analysis does not match with how the data was generated
2013 Jul 01
1
Male and female signs as subscript in plot
Hello,
I'd like to add labels to my plot that include a male or female symbol as
subscript.
I'm working in Windows Vista and R 3.0.0.
I am able to add the male symbol to the plot as regular text (NOT as
subscript), e.g. with:
mtext("Male\u2642")
This displays the word "Male" followed by the male symbol on the plot.
But "\u2642" does not work when I try to
2023 Apr 13
1
Split String in regex while Keeping Delimiter
Dear Emily,
Using a look-behind solves the split problem in this case. (Note: Using
Regex is in most/many cases the simplest solution.)
str = c("leucocyten + gramnegatieve staven +++ grampositieve staven ++",
"leucocyten ? grampositieve coccen +")
tokens = strsplit(str, "(?<=[-+])\\s++", perl=TRUE)
PROBLEM
The current expression does NOT work for a different