> On Apr 22, 2018, at 10:50 PM, mohammad moradi wrote:
>
> I've tried to re-experiment the tutorial presented at
> http://www.rdatamining.com/docs/twitter-analysis-with-r and specifically
> aimed to use rds files (tweet records) at http://www.rdatamining.com/data/.
There was a question with sim
I've tried to re-experiment the tutorial presented at
http://www.rdatamining.com/docs/twitter-analysis-with-r and specifically
aimed to use rds files (tweet records) at http://www.rdatamining.com/data/.
On Sun, Apr 22, 2018 at 9:16 PM, Jeff Newmiller
wrote:
> Wouldn't the obvious problem be that
> On Apr 22, 2018, at 4:50 PM, bbb_...@verizon.net wrote:
>
>
> Hi Sarah
>
> Thank you very much for your pointers.
>
> Is there a way to specify the date string as POSIXct when reading in?
Please read the Arguments and Details sections of the help page for read.csv
with particular attentio
Hi Sarah
Thank you very much for your pointers.
Is there a way to specify the date string as POSIXct when reading in?
I have tried the following (very inelegant way) and still have no luck.
--- Begin Code ---
# 1st read in the spreadsheet with stringsAsFactors set to FALSE
> abc <- read.csv
Hi bbb_aaa,
The format for the input to the function (gantt.info) is a list. As
Sarah mentions, a data frame is a list, so as long as your columns
have the right names and are in the correct order, it should work. As
you probably know, you can import a CSV file into R as a data frame
using read.csv
Hi,
The help file for gantt.chart states that dates must be in POSIXct
format, and the example shows how to do that. There's no reason that I
can see that you can't use a data frame as input to gantt.chart, but
you need to be very careful that your data frame matches the correct
format. I bet also
>From the help file for plotrix:
" ... x - a list of task labels, start/end times and task priorities as
returned by get.gantt.info ..."
So I try to create an object that will contain this information.
abc <- read.csv("gntr1a.csv")
# The above csv file was generated from MS .xlsx file containi
> On Apr 22, 2018, at 11:50 AM, bbb_...@verizon.net wrote:
>
> Hi
>
> I am trying to generate a complex Gantt chart using the gantt.chart function
> in the plotrix package.
>
> Ideally I would like to use a spreadsheet to populate the activities (tasks)
> and start and end dates that this fun
Hi
I am trying to generate a complex Gantt chart using the gantt.chart function in
the plotrix package.
Ideally I would like to use a spreadsheet to populate the activities (tasks)
and start and end dates that this function expects and then export the
spreadsheet file as a .CSV text file so I
Wouldn't the obvious problem be that your data file is corrupted or was never
created using saveRDS in the first place? Can you show us a complete example
of creating and attempting to read what was just created?
On April 22, 2018 10:20:05 AM CDT, mohammad moradi wrote:
>Hi there,
>
>I faced
Hi there,
I faced a weird problem doing a seemingly simple task in R. Specifically,
when trying for reading an RDS file from the working directory, the
following error is appeared.
Code:
records <- readRDS("tweets.rds")
Error:
Error in readRDS("tweets.rds") : error reading from connection
In
Are you missing values coded as missing values? That is, are they NA? Such
NA-values should be handled by vegan::monoMDS. Naturally, it can be possible
that your data set cannot be meaningfully analysed if you have too many missing
values or missing values are grouped in peculiar ways. Zero-valu
Hi Luca,
How about this?
# create some dummy data since I don't have your d0 or d1
> n <- 3
> d0 <- data.frame(a=runif(5),b=runif(5))
# here's the suggested code
> d1 <- cbind(d0, matrix(0,nrow(d0),n))
> colnames(d1)[1:n + ncol(d0)] <- paste("V",1:n,sep="")
HTH,
Eric
On Sun, Apr 22, 2018 at 1
Hi,
I am a bit rusty with R programming and do not seem to find a solution to
add a number of variables to my existing dataframe. Basically I need to add
n=dim(d1)[1] variables to my d0 dataframe and I would like them to be named
V1, V2, V3, ... , V[dim(d1)[1])
When running the following code:
f
14 matches
Mail list logo