Displaying 2 results from an estimated 2 matches for "workfold".
Did you mean:
workflow
2009 Jun 12
2
Automate a data load and merge
...p the loading
process but cannot think of a way to automate the merger of all
datasets into a common data.frame.
My apologies if this has been covered, any R search suggestions are
appreciated.
# All scripts function out of the base directory
rm(list=ls())
setwd('/Users/myuser/Documents/workfolder/')
# Check files and list all .csv in directory
files<-list.files()
files<-files[grep('.csv', files)]
# Create labels for each file (ex. June08.csv becomes June08)
labels<-gsub('.csv', '', files)
# Load all .csv datasets and assign name
item<-vector() #...
2008 Jan 07
1
glibc detected *** /usr/lib64/R/bin/exec/R: double free or corruption ???? tm package
...which I want to do some text mining. If I run TextDocCol from the tm package, R crashes with some memory issues. Does anyone has any idea if this is related to R itself or to the tm package?
Below you can find what is happening here.
> setwd("/home/jan/Work/2008/Profacts/textmining/tryouts/workfolder")
> require(tm)
Loading required package: tm
Loading required package: filehash
Simple key-value database (1.0-1 2007-08-13)
Loading required package: Matrix
Loading required package: lattice
Loading required package: Snowball
Loading required package: RWeka
Loading required package: rJav...