Displaying 20 results from an estimated 2000 matches similar to: "a question on CSV file"
2007 Apr 24
1
problem POSTing with curl and REST using scaffold_resource
I issued the following curl command to post to the database using
REST:
curl -i -X POST -d "<heartrate><heartRate>102</
heartRate><sessionID>1002</sessionID><timeStamp>15068</timeStamp></
heartrate>" http://localhost:3000/heartrates
I have tested the GET (with curl also) and it works fine!
curl http://localhost:3000/heartrates/45
2011 Oct 13
2
Help with R plots
Hi all,
Mind my ignorance and complete newbiness, but I am very new to R and am
currently learning it through my stats course at university.
My question is regarding adding titles to plots. I'll post the code below,
and then explain my issue:
> hist(gender$HeartRate)
> title(Histogram: HeartRate distribution for Temperature Data)
So what R has done, is paste over the title I entered
2010 Nov 29
1
Filling in missing time samples with na.approx
Hi Everyone,
I have a some data from a sports gps device like the following:
time latitude longitude altitude distance heartrate
1 1277648884 0.304048 -0.793819 260 0.000000 94
2 1277648885 0.304056 -0.793772 262 4.307615 95
3 1277648888 0.304060 -0.793696 263 11.262347 97
4 1277648894 0.304075 -0.793544 263 25.237911 103
5 1277648898
2018 Sep 11
2
Is CIFS HA Aware ?
Good Day,
We use a lot of DFS Shares (Windows) across our Linux Servers. The DFS
Shares are setup in a Cluster. Over the weekend we did a DR excercise which
included shutting down one of the Servers that hosted the DFS Shares.
What we found is that any Linux Server that had associated itself with the
DFS Server that was shutdown did not try and connect to the remaining
Server that was up.
Is
2006 Sep 22
4
Creating Movies with R
Dear All,
I'd like to know if it is possible to create animations with R.
To be specific, I attach a code I am using for my research to plot
some analytical results in 3D using the lattice package. It is not
necessary to go through the code.
Simply, it plots some 3D density profiles at two different times
selected by the user.
I wonder if it is possible to use the data generated for different
2006 Oct 03
1
do.call with Vectorial Argument
Dear All,
I am trying to use the do.call command to avoid tedious loops in R
when I need to call repetitively a function.
I am experiencing a problem when the arguments of a function are given
with a vector (I need to express then this way to be able later on to
integrate them numerically with the adapt package).
Consider the small script:
remove(list=ls())
#library(adapt)
# first a list of the
2011 Sep 08
2
help subsetting data based on date AND time
Dear R Community,
I am new to R, and have a question that I suspect may be quite simple but is
proving a formidable roadblock for me. I have a large data set that
includes water-quality measurements collected over many 24-hour periods.
The date and time of sample collection are in a combined Date/Time field in
the format yyyy-mm-dd hh:mm:ss. I need to be able to subset the data for
analysis of
2005 Apr 18
2
Very Slow Gower Similarity Function
Hello,
I am a relatively new user of R. I have written a basic function to calculate
the Gower similarity function. I was motivated to do so partly as an excercise
in learning R, and partly because the existing option (vegdist in the vegan
package) does not accept missing values.
I think I have succeeded - my function gives me the correct values. However, now
that I'm starting to use it with
2010 May 24
1
State of JACK support i9n Asterisk
Hello everyone!
I haven't seen anything new about the JACK support in Asterisk and I was
wondering, if anyone has experience with a current release of Asterisk, JACK
and mISDN/googletalk etc. I'm thinking of installing a new version
(havingcurrently 1.60-beta9. But the excercise would be pointless, if it
doesn't help.
Kindly yours
Julien
--------
Music was my
2002 Sep 11
1
Is wine *always* mapping threads onto processes? (Was: Re: multiple inst
Yup. You're right.
1. Those are not processes since Linux 'ps' and 'top' reports threads just
as it reports processes.
2. Threads reports the total amount of RAM allocated to the process it belongs
to. (Excercise: what else could it report??)
/Fredrik
>
> From: Nick Capik <ncapik@patriot.net>
> Date: 2002/09/11 Wed PM 01:29:43 CEST
> To: Frank Joerdens
2012 Oct 02
2
Basic question about: <<- and method start with dot.
Dear list,
When I read some source code, I find lot of place used symbol <<- , e.g.
lastTime <<- newTime;
What is the meaning here?
Also, I find some method with the name start with dot, e.g.
.RowStandardizeCentered = function(x) {
div = sqrt( rowSums(x^2) );
div[ div == 0 ] = 1;
return( x/div );
}
What is the special meaning for the method name start with a dot?
Thank you
2009 Dec 18
2
Undefined Method error - help request
Good morning All -
I am working on a time tracking application as a learning excercise
and have run into an error neither I nor Google can remedy.
When loading my view, I get an error: ''undefined method
''true_class_path'' for #<ActionView::Base:.........
Context:
I have controllers for Project, Worktrack and ''Workbench'', among
others. Workbench is
2007 Jun 20
4
Got "Unexpected ELSE error"
Dear R-users,
I have a problem with the IF-ELSE syntax.
Please look at the folllowing code and tell me what's wrong:
a <- TRUE
if ( a )
{
cat("TRUE","\n")
}
else
{
cat("FALSE","\n")
}
If I try to execute with R I get:
Error: syntax error, unexpected ELSE in "else"
The strange thing is either "cat"
2007 Oct 08
2
Applying function to data.frame
Hi,
If I have the following data.frame
>y
time val
1 08:00:05.834 1
2 08:03:13.345 2
3 08:10:12.443 3
>
and the following function which converts the time string to the number
of milliseconds since midnight
> str_to_millis
function( s )
{
a <- as.numeric( unlist( strsplit(s,":",fixed="TRUE") ) )
m <- a[1]*3600000 + a[2]*60000 + a[3]*1000
}
2012 Jul 14
3
Can't understand syntax
OK, I need help!!
I've been searching, but I don't understand the logic of some this
dataframe addressing syntax.
What is this type of code called?
test [["v3"]] [is.na(test[["v2"]])] <-10 #choose column v3 where column v2
is == 4 and replace with 10
and where is it documented?
The code below works for what I want to do (find the non-missing value in a
row),
2009 Apr 12
2
Convert string to time
One variable contains values (1.30 - one hour and thirty minutes, 1.2
(which is supposed to be 1.20 - one hour and twenty minutes)). I would
like to convert to a minute variable so 1.2 is converted to 80
minutes. How?
2008 Feb 18
4
Compare mean survival time
Dear List,
Does anybody no how to compare mean survival times for two (more) groups in
R? What test statistics should I use?
Thank you very much!
Joe
[[alternative HTML version deleted]]
2012 Feb 14
3
execute array of functions
Hi all,
I'm trying to get the min and max of a sequence of number using a loop
like the folllowing. Can anyone point me to why it doesn't work.
Thanks.
type <- c("min","max")
n <- 1:10
for (a in 1:2) {
print(type[a](n)) }
--
Muhammad
2011 Jan 10
5
FLAC is dead?
>> Oh I don't doubt the basics, red book is red book and bits are
>> identically replicable and re rippable bits.
>
> I don't see any problem with taking innovation as far as is practical
> and saying "it's finished, no more updates".
Sure, basics :) Again, I'm meaning in regard to about bugs, docs,
porting and nits.
> If I want to do freedb
2013 Oct 15
2
Data handling
Hello all,
I'm having a problem with data handling. My input data is (dput in the
after the signature):
Date Time Fraction
06/19/13 22:15:39 0.3205
06/19/13 22:15:44 0.3205
06/19/13 22:15:49 0.3205
06/19/13 22:15:54 0.3205
06/19/13 22:15:59 0.3205
06/19/13 22:16:09 0.3205
Date in format month/day/year, Time in HH:MM:SS and fraction represents the
fractions of