similar to: Reading characters using read.table()

Displaying 20 results from an estimated 1000 matches similar to: "Reading characters using read.table()"

2002 Aug 01
2
Building a function
Hello, Is it possible to build a function, a posteriori, by getting the names of the arguments and the formula in a list or a vector ? When I use the function as.function(), I don't know how to define explicitly the names of my variables as formal arguments. Thanks _______________________________________ Florent BATY CNRS UMR 5558 Dynamique des Populations Bact?riennes Facult? de
2005 Nov 11
1
Snow parLapply
Dear R-user, I am trying to use the function 'parLapply' from the 'snow' package which is supposed to work the same wys as 'lapply' but for a parallelized cluster of computers. The function I am trying to call in parallel is 'dudi.pca' (from the 'ade4' package) which performs principal component analyses. When I call this function on a list of
2007 Feb 21
2
Coxph and ordered factors
Dear useRs, I am trying to fit a Cox PH model on survival data from a lung cancer dataset. I would like to include the patient staging (I-IV) as a covariate. For this I use the following function: coxph(Surv(time,status) ~ stage) The staging information is a categorical variable, and it is important to take the ordering into account (I<II<III<IV). Does the coxph function handle
2023 Oct 24
2
How to Calculate the Mean by Multiple Groups in R
Hi, I think you're misunderstanding which set of variables go on either side of the formula. Is this what you're looking for? > aggregate(OD ~ Time + Target + Conc, data = df, FUN = "mean") Time Target Conc OD 1 1 BACT 1 765.3333 2 1 BACT 2 745.3333 3 1 BACT 3 675.0000 > aggregate(ODnorm ~ Time + Target + Conc, data = df, FUN =
2023 Oct 24
1
How to Calculate the Mean by Multiple Groups in R
Also, > aggregate(cbind(OD, ODnorm) ~ Time + Target + Conc, data = df, FUN = "mean") Time Target Conc OD ODnorm 1 1 BACT 1 765.3333 108.33333 2 1 BACT 2 745.3333 88.33333 3 1 BACT 3 675.0000 18.00000 (You might wish for "cbind(OD,ODnorm) ~ . - Well", but aggregate.formula is not smart enough for that.) -pd > On 24 Oct 2023, at
2023 Oct 24
2
How to Calculate the Mean by Multiple Groups in R
Hello, I have a data frame with different groups (Time, Target, Conc) and each entry has a triplicate value of the measurements OD and ODnorm. How can I merge the triplicates into a single mean value? I tried the following: ``` df = data.frame(Time=rep(1, 9), Well=paste("A", 1:9, sep=""), OD=c(666, 815, 815, 702, 739, 795, 657, 705, 663),
2007 Jan 12
3
Content-Length: 0
While trying to debug a goofy XML loading issue in IE, I''ve found that Mongrel (latest) returns Content-Type: 0 with every request on a particular (CentOS 4) server, yet not on my local (OS X) box. These both access identical Rails apps. This seems like a clue, but thought I''d ask here if for some reason this is expected behavior. Both running Ruby 1.8.4. Both return
2007 Apr 17
5
How to change the default encoding for dynamic pages
Hello, I''m trying to write a rails application serves by mongrel and using accentuated characters in the .rhtml page. But Mongrel replace them by ''?'' . It works fine for static pages by defining the charset to iso-8859-1 in the mongrel_mime.yml But how to change the default encoding (seems to be UTF-8) for the dynamic pages ? thanks for your help. -------------- next
2007 Feb 27
3
mongrel_cluster and Monit
On one of my development servers mongrel dies when idle for any length of time. Since I''ve not been able to solve that problem I thought I''d route around it by using monit to kick things when necessary. My monitrc contains the following... -------------------------------------------------------------------------------- check process mongrel_8310 with pidfile
2006 Feb 22
3
is there really a restart task in switchtower? How do you invoke it?
I just created a new rails project "test". I then did "switchtower --apply-to ~/user/test test" I then moved into test and tried "rake restart" and got: kfelkins@lurch:~/user/test$ rake restart (in /home/kfelkins/user/test) rake aborted! Don''t know how to build task ''restart'' I see restart in deploy. Can restart be invoked from the
2013 Dec 09
1
10.0-BETA4 (upgraded from 9.2-RELEASE) zpool upgrade -> boot failure
Hi, Is there anything known about ZFS under 10.0-BETA4 when FreeBSD was upgraded from 9.2-RELEASE? I have two servers, with very different hardware (on is with soft raid and the other have not) and after a zpool upgrade, no way to get the server booting. Do I miss something when upgrading? I cannot get the error message for the moment. I reinstalled the raid server under Linux and the other
2004 May 26
9
CTI (Computer-Telephony Integration) with Asterisk ?
Hi all, Is it possible and easy to make a CTI server with Asterisk? Florent,
2018 Jul 11
3
Mitel only supported VMware virtualization platform for some CentOS servers based products
Hi, Some Mitel products, which are CentOS 6.x or 7.x servers based with some telephony services added, are only supported on VMware virtualisation platform, even all if theses CentOS guests are certified on last CentOS/Redhat Virtualization or Microsoft Hyper V platforms. So, at he moment we have three bad choises : - Migrate part of our virtualization services from KVM/libvirt to VMware ; -
2011 Jan 26
4
ReMarkdown.css makes HTML look like Markdown text
Hello everyone on the list, I?m borrowing a bit of your time in order to present a little CSS experiment I?ve been working on: a stylesheet which gives a Markdown-like aspect to HTML elements, especially those elements that the Markdown syntax generates in the first place. This means > signs for blockquotes, # signs or underlines for titles, etc. I wrote a mini-website for it:
2013 Nov 10
1
10.0-BETA3 em/nfe drivers on MSI K9NBPM2-FID board. LAN card changes.
Hi, I have a server at Hetzner and something strange happend. First, I installed FreeBSD 10.0-BETA3 (amd64) via their FreeBSD 9.2-RELEASE rescue system, that's ok. I had to configure the network by using the em driver -> em0 interface. But suddenly, the network was lost. After an ACPI reboot, nothing. Going to the vKVM show me the system didn't detected em0 anymore but an nVidia
2011 Jun 13
1
Communciation delay betwwn speakers
Hy all of you, I successfully installed an AsterikNow fo a client and almost everything works fine. I can call/recieve in internal with perfect quality. I can do the same with external EXCEPT the little delay in the communication. I have almost 0,5 s of delay between speakers only with outside. I checked the QoS and no packets are lost, I have the G729 installed, configured and declared as
2016 Dec 20
2
Very small numbers in hexadecimal notation parsed as zero
Hi all, I have noticed incorrect parsing of very small hexadecimal numbers like "0x1.00000000d0000p-987". Such a hexadecimal representation can can be produced by sprintf() using the %a flag. The return value is incorrectly reported as 0 when coercing these numbers to double using as.double()/as.numeric(), as illustrated in the three examples below:
2004 Dec 30
2
bug / incompatibility with USB booting in Syslinux 3.00 pre9 ?
Hi, I'm Florent BERANGER, from Flonix ( http://www.flonix.com ). After several tests, we have found that Syslinux 3.00 pre9 is no longer compatible with USB stick booting. Syslinux 2.13 works fine with this feature. Error infos : Syslinux 3.00 pre9 only displays its version and a new line with a "a" character and then hangs. Tests configuration : Syslinux applied from : Linux
2007 Aug 01
1
Re : Custom axis
Maybe I do not explain well what I would like to do. I do not want to change the labels of the axis, but the scale. What I want is a general procedure for changing the scale. Its like using a logarithmic scale on a plot. Labels are the same, but the increases of x along the x-axis are defined by a known monotone and continuous function. Florent Bresson ----- Message d'origine ---- De :
2016 Dec 20
3
Unexpected I(NULL) output
Hi all, I believe there is an issue with passing NULL to the function I(). class(NULL) # "NULL" (as expected) print(NULL) # NULL (as expected) is.null(NULL) # TRUE (as expected) According to the documentation I() should return a copy of its input with class "AsIs" preprended: class(I(NULL)) # "AsIs" (as expected) print(I(NULL)) # list() (not expected!